summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
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/core/main.cpp
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/core/main.cpp')
-rw-r--r--src/core/main.cpp12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index 9e0fda15..6bf8228d 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -91,7 +91,9 @@ void GameInit(void);
void SystemInit(void);
void TheGame(void);
+#ifdef DEBUGMENU
void DebugMenuPopulate(void);
+#endif
void
@@ -328,11 +330,10 @@ Initialise3D(void *param)
{
if (RsRwInitialise(param))
{
- //
+#ifdef DEBUGMENU
DebugMenuInit();
DebugMenuPopulate();
- //
-
+#endif // !DEBUGMENU
return CGame::InitialiseRenderWare();
}
@@ -343,8 +344,9 @@ static void
Terminate3D(void)
{
CGame::ShutdownRenderWare();
-
+#ifdef DEBUGMENU
DebugMenuShutdown();
+#endif // !DEBUGMENU
RsRwTerminate();
@@ -878,7 +880,9 @@ Render2dStuff(void)
CPad::PrintErrorMessage();
CFont::DrawFonts();
+#ifdef DEBUGMENU
DebugMenuRender();
+#endif
}
void