summaryrefslogtreecommitdiffstats
path: root/src/core/timebars.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-10-25 16:17:31 +0100
committeraap <aap@papnet.eu>2020-10-25 16:17:31 +0100
commit537c0960fe6bc08744498dc993cdac32e3be6920 (patch)
treee4de7f215d049d8679c00d87488d36d09f33e552 /src/core/timebars.h
parentFix weapon icon drawing (diff)
downloadre3-537c0960fe6bc08744498dc993cdac32e3be6920.tar
re3-537c0960fe6bc08744498dc993cdac32e3be6920.tar.gz
re3-537c0960fe6bc08744498dc993cdac32e3be6920.tar.bz2
re3-537c0960fe6bc08744498dc993cdac32e3be6920.tar.lz
re3-537c0960fe6bc08744498dc993cdac32e3be6920.tar.xz
re3-537c0960fe6bc08744498dc993cdac32e3be6920.tar.zst
re3-537c0960fe6bc08744498dc993cdac32e3be6920.zip
Diffstat (limited to 'src/core/timebars.h')
-rw-r--r--src/core/timebars.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/timebars.h b/src/core/timebars.h
index 3871b61c..c4939802 100644
--- a/src/core/timebars.h
+++ b/src/core/timebars.h
@@ -1,6 +1,13 @@
#pragma once
+#ifdef TIMEBARS
void tbInit();
void tbStartTimer(int32, Const char*);
void tbEndTimer(Const char*);
-void tbDisplay(); \ No newline at end of file
+void tbDisplay();
+#else
+#define tbInit()
+#define tbStartTimer(a, b)
+#define tbEndTimer(a)
+#define tbDisplay()
+#endif