fix FINAL build, add DEBUGMENU and other simple qol defines to FINAL, add extra defines for menu and game version text

This commit is contained in:
withmorten 2020-10-29 19:01:09 +01:00
parent 795c5bbb85
commit e95516032f
4 changed files with 29 additions and 6 deletions

View file

@ -768,6 +768,8 @@ DisplayGameDebugText()
char str[200];
wchar ustr[200];
#ifdef DRAW_GAME_VERSION_TEXT
wchar ver[200];
AsciiToUnicode(version_name, ver);
@ -783,6 +785,7 @@ DisplayGameDebugText()
CFont::SetBackGroundOnlyTextOff();
CFont::SetColor(CRGBA(255, 108, 0, 255));
CFont::PrintString(SCREEN_SCALE_X(10.0f), SCREEN_SCALE_Y(10.0f), ver);
#endif
FrameSamples++;
FramesPerSecondCounter += 1000.0f / (CTimer::GetTimeStepNonClippedInSeconds() * 1000.0f);