From b97dede82c0df68c7159acf83360c7e8817a79e5 Mon Sep 17 00:00:00 2001 From: James R Date: Thu, 29 Jun 2023 18:42:18 -0700 Subject: [PATCH] kartitems_t: add ENDOFPOWERUPS and NUMPOWERUPS --- src/d_player.h | 2 ++ src/deh_tables.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/d_player.h b/src/d_player.h index a30d5d895..30cf9c0de 100644 --- a/src/d_player.h +++ b/src/d_player.h @@ -189,6 +189,8 @@ typedef enum POWERUP_BUMPER, POWERUP_BADGE, POWERUP_SUPERFLICKY, + ENDOFPOWERUPS, + NUMPOWERUPS = ENDOFPOWERUPS - FIRSTPOWERUP, } kartitems_t; typedef enum diff --git a/src/deh_tables.c b/src/deh_tables.c index 191fcc187..9453f1cba 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -6884,6 +6884,8 @@ struct int_const_s const INT_CONST[] = { {"POWERUP_BUMPER",POWERUP_BUMPER}, {"POWERUP_BADGE",POWERUP_BADGE}, {"POWERUP_SUPERFLICKY",POWERUP_SUPERFLICKY}, + {"ENDOFPOWERUPS",ENDOFPOWERUPS}, + {"NUMPOWERUPS",NUMPOWERUPS}, // kartshields_t {"KSHIELD_NONE",KSHIELD_NONE},