mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +00:00
Fix bitflags enum itemflags_t for C++
This commit is contained in:
parent
2db890dd27
commit
c64ecb0d0a
1 changed files with 5 additions and 7 deletions
|
|
@ -69,13 +69,11 @@ typedef enum
|
|||
PST_REBORN
|
||||
} playerstate_t;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
IF_USERINGS = 1, // Have to be not holding the item button to change from using rings to using items (or vice versa) - prevents weirdness
|
||||
IF_ITEMOUT = 1<<1, // Are you holding an item out?
|
||||
IF_EGGMANOUT = 1<<2, // Eggman mark held, separate from IF_ITEMOUT so it doesn't stop you from getting items
|
||||
IF_HOLDREADY = 1<<3, // Hold button-style item is ready to activate
|
||||
} itemflags_t;
|
||||
typedef INT32 itemflags_t;
|
||||
#define IF_USERINGS (1) // Have to be not holding the item button to change from using rings to using items (or vice versa) - prevents weirdness
|
||||
#define IF_ITEMOUT (1<<1) // Are you holding an item out?
|
||||
#define IF_EGGMANOUT (1<<2) // Eggman mark held, separate from IF_ITEMOUT so it doesn't stop you from getting items
|
||||
#define IF_HOLDREADY (1<<3) // Hold button-style item is ready to activate
|
||||
|
||||
//
|
||||
// Player internal flags
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue