toggable stagetitles
basically what it says, made a toggle for stagetitles.
This commit is contained in:
1 parent
817c4a4042
commit
21dcd757b5
3 files changed
+7
No files matched your search
@@ -630,6 +630,7 @@ void K_RegisterKartStuff(void)
|
||||
CV_RegisterVar(&cv_kartdebugcolorize);
|
||||
|
||||
CV_RegisterVar(&cv_lessflicker);
|
||||
CV_RegisterVar(&cv_stagetitle);
|
||||
}
|
||||
|
||||
//}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user