diff --git a/src/d_player.h b/src/d_player.h index a360f41b7..a8da43220 100644 --- a/src/d_player.h +++ b/src/d_player.h @@ -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 diff --git a/src/deh_tables.c b/src/deh_tables.c index 9c46ebc93..31cf88e30 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -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},