turn TC_ stuff into enum

This commit is contained in:
Alug committed 2025-07-01 15:25:14 +02:00
1 parent 21cfd7c361
commit d275db9bb4
1 file changed
+9 -6
+9 -6
View File
@@ -179,12 +179,15 @@ extern lumpnum_t viewborderlump[8];
#define GTC_MENUCACHE GTC_CACHE
//@TODO Add a separate caching mechanism for menu colormaps distinct from in-level GTC_CACHE. For now this is still preferable to memory leaks...
#define TC_DEFAULT -1
#define TC_BOSS -2
#define TC_METALSONIC -3 // For Metal Sonic battle
#define TC_ALLWHITE -4 // For Cy-Brak-demon
#define TC_RAINBOW -5 // For invincibility power
#define TC_BLINK -6 // For item blinking
enum
{
TC_BLINK = -6, // For item blinking, according to kart
TC_RAINBOW, // For single colour
TC_ALLWHITE, // For Cy-Brak-demon
TC_METALSONIC, // For Metal Sonic battle
TC_BOSS,
TC_DEFAULT
};
// Initialize color translation tables, for player rendering etc.
UINT8* R_GetTranslationColormap(INT32 skinnum, skincolors_t color, UINT8 flags);