summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorrollschuh2282 <53496587+rollschuh2282@users.noreply.github.com>2020-05-29 12:03:32 +0200
committerGitHub <noreply@github.com>2020-05-29 12:03:32 +0200
commit20cacb18f0ed75d51766d0006d9181613842e95c (patch)
tree789293926dc86dceff53452d072d42ec26a1f2b7 /src/core/main.cpp
parentMerge pull request #604 from erorcun/master (diff)
downloadre3-20cacb18f0ed75d51766d0006d9181613842e95c.tar
re3-20cacb18f0ed75d51766d0006d9181613842e95c.tar.gz
re3-20cacb18f0ed75d51766d0006d9181613842e95c.tar.bz2
re3-20cacb18f0ed75d51766d0006d9181613842e95c.tar.lz
re3-20cacb18f0ed75d51766d0006d9181613842e95c.tar.xz
re3-20cacb18f0ed75d51766d0006d9181613842e95c.tar.zst
re3-20cacb18f0ed75d51766d0006d9181613842e95c.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index b5e222be..a69890b0 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -73,6 +73,10 @@ float FramesPerSecond = 30.0f;
bool gbPrintShite = false;
bool gbModelViewer;
+//Custom Timebars Toggle
+#ifdef TIMEBARS
+bool gbShowTimebars;
+#endif
int32 frameCount;
@@ -1096,8 +1100,12 @@ Idle(void *arg)
#endif
CCredits::Render();
+
#ifdef TIMEBARS
+//Custom Timebars toggle
+ if (gbShowTimebars)
tbDisplay();
+
#endif
DoRWStuffEndOfFrame();