source/duke3d/src/actors.h: Remove last remaining mention of the

LUNATIC macro in Duke3D. AC_ACTIONTICS and AC_MOVFLAGS are still used.
This commit is contained in:
NY00123 2020-05-17 21:28:02 +03:00 committed by Christoph Oelckers
parent ea06e35025
commit 3592118e25

View file

@ -114,17 +114,10 @@ enum actionflags
AF_VIEWPOINT = 1u<<0u, AF_VIEWPOINT = 1u<<0u,
}; };
// Select an actor's actiontics and movflags locations depending on
// whether we compile the Lunatic build.
// <spr>: sprite pointer // <spr>: sprite pointer
// <a>: actor_t pointer // <a>: actor_t pointer
#ifdef LUNATIC #define AC_ACTIONTICS(spr, a) ((spr)->lotag)
# define AC_ACTIONTICS(spr, a) ((a)->actiontics) #define AC_MOVFLAGS(spr, a) ((spr)->hitag)
# define AC_MOVFLAGS(spr, a) ((a)->movflags)
#else
# define AC_ACTIONTICS(spr, a) ((spr)->lotag)
# define AC_MOVFLAGS(spr, a) ((spr)->hitag)
#endif
// (+ 40 16 16 4 8 6 8 6 4 20) // (+ 40 16 16 4 8 6 8 6 4 20)
#pragma pack(push, 1) #pragma pack(push, 1)