From 9b10473e0df43842ad77bb9c7f45b7a7edc0308a Mon Sep 17 00:00:00 2001 From: katsy Date: Fri, 24 Dec 2021 19:36:26 -0600 Subject: [PATCH] add invert flashpal constant --- src/deh_tables.c | 1 + src/p_local.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/deh_tables.c b/src/deh_tables.c index f30f7c14d..b80e88ec2 100644 --- a/src/deh_tables.c +++ b/src/deh_tables.c @@ -5088,6 +5088,7 @@ struct int_const_s const INT_CONST[] = { {"PAL_MIXUP",PAL_MIXUP}, {"PAL_RECYCLE",PAL_RECYCLE}, {"PAL_NUKE",PAL_NUKE}, + {"PAL_INVERT",PAL_INVERT}, // for P_DamageMobj //// Damage types {"DMG_WATER",DMG_WATER}, diff --git a/src/p_local.h b/src/p_local.h index 1fcd3050d..28a77afe5 100644 --- a/src/p_local.h +++ b/src/p_local.h @@ -349,6 +349,7 @@ void P_FlashPal(player_t *pl, UINT16 type, UINT16 duration); #define PAL_MIXUP 2 #define PAL_RECYCLE 3 #define PAL_NUKE 4 +#define PAL_INVERT 5 // // P_ENEMY