diff --git a/src/info.h b/src/info.h index aa9bdd29d..75f721188 100644 --- a/src/info.h +++ b/src/info.h @@ -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; diff --git a/src/p_pspr.h b/src/p_pspr.h index e8c84daaa..be0d9f39e 100644 --- a/src/p_pspr.h +++ b/src/p_pspr.h @@ -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