summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-09 15:06:13 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-09 15:06:13 +0200
commit28103775ba799133b252e423e3da62ed7b09f7b9 (patch)
tree02b9958d54e040fe20310990a9da5636fe0527db /src/core/main.cpp
parentFix compilation error (diff)
downloadre3-28103775ba799133b252e423e3da62ed7b09f7b9.tar
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.gz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.bz2
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.lz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.xz
re3-28103775ba799133b252e423e3da62ed7b09f7b9.tar.zst
re3-28103775ba799133b252e423e3da62ed7b09f7b9.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 ec37fa28..37a5673f 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