toggable stagetitles

basically what it says, made a toggle for stagetitles.
This commit is contained in:
alufolie91 committed 2023-10-04 02:35:18 +02:00
1 parent 817c4a4042
commit 21dcd757b5
3 files changed
+7

No files matched your search

+1
View File
@@ -630,6 +630,7 @@ void K_RegisterKartStuff(void)
CV_RegisterVar(&cv_kartdebugcolorize);
CV_RegisterVar(&cv_lessflicker);
CV_RegisterVar(&cv_stagetitle);
}
//}
+5
View File
@@ -198,6 +198,8 @@ static huddrawlist_h luahuddrawlist_game;
// variable to stop mayonaka static from flickering
consvar_t cv_lessflicker = {"lessflicker", "Off", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
consvar_t cv_stagetitle = {"stagetitle", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
//
// STATUS BAR CODE
//
@@ -826,6 +828,9 @@ static void ST_drawLevelTitle(void)
? BASEVIDHEIGHT/2
: 163;
INT32 lvlw;
if (!cv_stagetitle.value)
return;
if (timeinmap > 113)
return;
+1
View File
@@ -145,5 +145,6 @@ extern UINT16 objectsdrawn;
// variable to stop mayonaka static from flickering
extern consvar_t cv_lessflicker;
extern consvar_t cv_stagetitle;
#endif