mirror of
https://github.com/halpz/re3.git
synced 2024-12-23 17:45:28 +00:00
fixed timebar toggle
This commit is contained in:
parent
0803c821ae
commit
7c7727e7da
|
@ -73,7 +73,6 @@ float FramesPerSecond = 30.0f;
|
||||||
|
|
||||||
bool gbPrintShite = false;
|
bool gbPrintShite = false;
|
||||||
bool gbModelViewer;
|
bool gbModelViewer;
|
||||||
//Custom Timebars Toggle
|
|
||||||
#ifdef TIMEBARS
|
#ifdef TIMEBARS
|
||||||
bool gbShowTimebars;
|
bool gbShowTimebars;
|
||||||
#endif
|
#endif
|
||||||
|
@ -1102,10 +1101,8 @@ Idle(void *arg)
|
||||||
|
|
||||||
|
|
||||||
#ifdef TIMEBARS
|
#ifdef TIMEBARS
|
||||||
//Custom Timebars toggle
|
|
||||||
if (gbShowTimebars)
|
if (gbShowTimebars)
|
||||||
tbDisplay();
|
tbDisplay();
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DoRWStuffEndOfFrame();
|
DoRWStuffEndOfFrame();
|
||||||
|
|
|
@ -14,7 +14,6 @@ extern wchar gUString[256];
|
||||||
extern wchar gUString2[256];
|
extern wchar gUString2[256];
|
||||||
extern bool gbPrintShite;
|
extern bool gbPrintShite;
|
||||||
extern bool gbModelViewer;
|
extern bool gbModelViewer;
|
||||||
//Custom Timebars Toggle
|
|
||||||
#ifdef TIMEBARS
|
#ifdef TIMEBARS
|
||||||
extern bool gbShowTimebars;
|
extern bool gbShowTimebars;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -461,7 +461,7 @@ DebugMenuPopulate(void)
|
||||||
DebugMenuAddVarBool8("Render", "Don't render Peds", &gbDontRenderPeds, nil);
|
DebugMenuAddVarBool8("Render", "Don't render Peds", &gbDontRenderPeds, nil);
|
||||||
DebugMenuAddVarBool8("Render", "Don't render Vehicles", &gbDontRenderVehicles, nil);
|
DebugMenuAddVarBool8("Render", "Don't render Vehicles", &gbDontRenderVehicles, nil);
|
||||||
DebugMenuAddVarBool8("Render", "Don't render Objects", &gbDontRenderObjects, 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);
|
DebugMenuAddVarBool8("Debug", "Edit on", &CSceneEdit::m_bEditOn, nil);
|
||||||
#ifdef MENU_MAP
|
#ifdef MENU_MAP
|
||||||
|
@ -492,7 +492,9 @@ DebugMenuPopulate(void)
|
||||||
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
|
DebugMenuAddCmd("Debug", "Stop Credits", CCredits::Stop);
|
||||||
|
|
||||||
DebugMenuAddVarBool8("Debug", "Show DebugStuffInRelease", &gbDebugStuffInRelease, nil);
|
DebugMenuAddVarBool8("Debug", "Show DebugStuffInRelease", &gbDebugStuffInRelease, nil);
|
||||||
|
#ifdef TIMEBARS
|
||||||
DebugMenuAddVarBool8("Debug", "Show Timebars", &gbShowTimebars, nil);
|
DebugMenuAddVarBool8("Debug", "Show Timebars", &gbShowTimebars, nil);
|
||||||
|
#endif
|
||||||
|
|
||||||
extern bool PrintDebugCode;
|
extern bool PrintDebugCode;
|
||||||
extern int16 DebugCamMode;
|
extern int16 DebugCamMode;
|
||||||
|
|
|
@ -65,7 +65,6 @@
|
||||||
#define MAX_BOAT_WAKES 8
|
#define MAX_BOAT_WAKES 8
|
||||||
|
|
||||||
extern RwRaster* gpWaterRaster;
|
extern RwRaster* gpWaterRaster;
|
||||||
//"Custom" Don´t Render Water Toggle
|
|
||||||
extern bool gbDontRenderWater;
|
extern bool gbDontRenderWater;
|
||||||
|
|
||||||
class CWaterLevel
|
class CWaterLevel
|
||||||
|
|
Loading…
Reference in a new issue