mirror of
https://github.com/DrBeef/Raze.git
synced 2024-12-13 06:01:27 +00:00
a0dd0c85a5
arrays; any write access to them will run the corresponding hook and write to the [sector/wall/sprite/tsprite]clean array. Note: tsprite and sprite use the same hook and require running a few more instructions per access in order to disambiguiate; this could be made more optimal (like the other arrays) by clearly separating the types in the game code. Note #2: taking a member's address currently marks it dirty because of tons of helper functions across the editor code. I don't know how many read-only accesses we have after taking a member address, but it could also be fixed with some finessing of the code. git-svn-id: https://svn.eduke32.com/eduke32@3138 1a8010ca-5511-0410-912e-c29ae57300e0
59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
#define __TRACKER_OPERATOR =
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_EQUAL
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR +=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR -=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR *=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ONE
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR /=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ONE
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR |=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR &=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_EQUAL
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR ^=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR <<=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|
|
|
|
#define __TRACKER_OPERATOR >>=
|
|
#define __TRACKER_NOOP __TRACKER_NOOP_RIGHTHAND_ZERO
|
|
#include "tracker_operator.hpp"
|
|
#undef __TRACKER_OPERATOR
|
|
#undef __TRACKER_NOOP
|