Elaborate on what SPR2F_ means

This commit is contained in:
Lactozilla 2023-11-13 12:01:19 -03:00
parent e503b6002c
commit b3f9747533
2 changed files with 5 additions and 3 deletions

View file

@ -1155,7 +1155,7 @@ typedef enum playersprite
SPR2_XTRA, // stuff that isn't in-map - "would this ever need an md2 or variable length animation?"
SPR2_FIRSTFREESLOT,
SPR2_LASTFREESLOT = 1024, // Do not make higher than SPR2F_MASK
SPR2_LASTFREESLOT = 1024, // Do not make higher than SPR2F_MASK (currently 0x3FF) plus one
NUMPLAYERSPRITES
} playersprite_t;

View file

@ -97,8 +97,10 @@
/// \brief Frame flags - Animate: Start at a random place in the animation (mutually exclusive with above)
#define FF_RANDOMANIM 0x40000000
#define SPR2F_MASK 0x7FFF
#define SPR2F_SUPER 0x8000
/// \brief Animation flags: Bits used for the animation ID
#define SPR2F_MASK 0x3FF
/// \brief Animation flags: "Super" flag
#define SPR2F_SUPER 0x400
/** \brief translucency tables