summaryrefslogtreecommitdiffstats
path: root/src/extras/debugmenu.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-10 10:04:27 +0200
committeraap <aap@papnet.eu>2020-05-10 10:04:27 +0200
commitf0442960a22a7386f29c138f6afb1c08101789ee (patch)
tree979d9e240b2304a5a73193ed66e06c7b0a76c741 /src/extras/debugmenu.h
parentCWeaponModelInfo (diff)
parentMerge branch 'master' into miami (diff)
downloadre3-f0442960a22a7386f29c138f6afb1c08101789ee.tar
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.gz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.bz2
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.lz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.xz
re3-f0442960a22a7386f29c138f6afb1c08101789ee.tar.zst
re3-f0442960a22a7386f29c138f6afb1c08101789ee.zip
Diffstat (limited to 'src/extras/debugmenu.h')
-rw-r--r--src/extras/debugmenu.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extras/debugmenu.h b/src/extras/debugmenu.h
index ae595c1f..eb56c8f9 100644
--- a/src/extras/debugmenu.h
+++ b/src/extras/debugmenu.h
@@ -1,5 +1,7 @@
#pragma once
+#ifdef DEBUGMENU
+
typedef void (*TriggerFunc)(void);
struct Menu;
@@ -85,3 +87,4 @@ inline DebugMenuEntry *DebugMenuAddVarBool8(const char *path, const char *name,
{
return DebugMenuAddVarBool8(path, name, (int8_t*)ptr, triggerFunc);
}
+#endif \ No newline at end of file