fixed timebar toggle

This commit is contained in:
aap 2020-06-01 13:21:19 +02:00
parent 0803c821ae
commit 7c7727e7da
4 changed files with 4 additions and 7 deletions

View File

@ -73,7 +73,6 @@ float FramesPerSecond = 30.0f;
bool gbPrintShite = false;
bool gbModelViewer;
//Custom Timebars Toggle
#ifdef TIMEBARS
bool gbShowTimebars;
#endif
@ -1102,10 +1101,8 @@ Idle(void *arg)
#ifdef TIMEBARS
//Custom Timebars toggle
if (gbShowTimebars)
tbDisplay();
tbDisplay();
#endif
DoRWStuffEndOfFrame();

View File

@ -14,7 +14,6 @@ extern wchar gUString[256];
extern wchar gUString2[256];
extern bool gbPrintShite;
extern bool gbModelViewer;
//Custom Timebars Toggle
#ifdef TIMEBARS
extern bool gbShowTimebars;
#endif

View File

@ -461,7 +461,7 @@ DebugMenuPopulate(void)
DebugMenuAddVarBool8("Render", "Don't render Peds", &gbDontRenderPeds, nil);
DebugMenuAddVarBool8("Render", "Don't render Vehicles", &gbDontRenderVehicles, nil);
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, nil);
DebugMenuAddVarBool8("Render", "Don´t Render Water", &gbDontRenderWater, nil);
DebugMenuAddVarBool8("Render", "Don't Render Water", &gbDontRenderWater, nil);
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);
#ifdef MENU_MAP
@ -492,7 +492,9 @@ DebugMenuPopulate(void)
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
DebugMenuAddVarBool8("Debug", "Show DebugStuffInRelease", &gbDebugStuffInRelease, nil);
#ifdef TIMEBARS
DebugMenuAddVarBool8("Debug", "Show Timebars", &gbShowTimebars, nil);
#endif
extern bool PrintDebugCode;
extern int16 DebugCamMode;

View File

@ -65,7 +65,6 @@
#define MAX_BOAT_WAKES 8
extern RwRaster* gpWaterRaster;
//"Custom" Don´t Render Water Toggle
extern bool gbDontRenderWater;
class CWaterLevel