Fix bitflags enum skinflags_t for C++

This commit is contained in:
Eidolon 2026-03-15 15:27:03 -05:00
parent d02e1b1573
commit 2db890dd27

View file

@ -49,14 +49,12 @@ extern "C" {
#define MAXRACESPLITS 32 #define MAXRACESPLITS 32
// Extra abilities/settings for skins (combinable stuff) // Extra abilities/settings for skins (combinable stuff)
typedef enum typedef INT32 skinflags_t;
{ #define SF_MACHINE (1) // Beep boop. Are you a robot?
SF_MACHINE = 1, // Beep boop. Are you a robot? #define SF_IRONMAN (1<<1) // Pick a new skin during POSITION. I main Random!
SF_IRONMAN = 1<<1, // Pick a new skin during POSITION. I main Random! #define SF_BADNIK (1<<2) // Explodes on death
SF_BADNIK = 1<<2, // Explodes on death #define SF_HIVOLT (1<<3) // High power TA ringboxes, like 2.0-2.3!
SF_HIVOLT = 1<<3, // High power TA ringboxes, like 2.0-2.3! // free up to and including 1<<31
// free up to and including 1<<31
} skinflags_t;
// //
// Player states. // Player states.