Add power-up constants

This commit is contained in:
James R 2023-06-27 00:38:00 -07:00
parent b9820e3264
commit bef55b818b
2 changed files with 16 additions and 1 deletions

View file

@ -179,7 +179,16 @@ typedef enum
KRITEM_DUALJAWZ,
KRITEM_TRIPLEGACHABOM,
NUMKARTRESULTS
NUMKARTRESULTS,
// Power-ups exist in the same enum as items so it's easy
// for paper items to be reused for them.
FIRSTPOWERUP,
POWERUP_SMONITOR = FIRSTPOWERUP,
POWERUP_BARRIER,
POWERUP_BUMPER,
POWERUP_BADGE,
POWERUP_SUPERFLICKY,
} kartitems_t;
typedef enum

View file

@ -6861,6 +6861,12 @@ struct int_const_s const INT_CONST[] = {
{"KRITEM_DUALJAWZ",KRITEM_DUALJAWZ},
{"KRITEM_TRIPLEGACHABOM",KRITEM_TRIPLEGACHABOM},
{"NUMKARTRESULTS",NUMKARTRESULTS},
{"FIRSTPOWERUP",FIRSTPOWERUP},
{"POWERUP_SMONITOR",POWERUP_SMONITOR},
{"POWERUP_BARRIER",POWERUP_BARRIER},
{"POWERUP_BUMPER",POWERUP_BUMPER},
{"POWERUP_BADGE",POWERUP_BADGE},
{"POWERUP_SUPERFLICKY",POWERUP_SUPERFLICKY},
// kartshields_t
{"KSHIELD_NONE",KSHIELD_NONE},