summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-10 11:26:32 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-10 11:26:32 +0200
commita827f0dd559331d756f57ddf63e535d100503ab2 (patch)
tree30e72a7fb5ab5fe27bf9b0f810486854c0814991 /src/core/main.cpp
parentmore car control (diff)
parentCClumpModelInfo; little fixes (diff)
downloadre3-a827f0dd559331d756f57ddf63e535d100503ab2.tar
re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.gz
re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.bz2
re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.lz
re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.xz
re3-a827f0dd559331d756f57ddf63e535d100503ab2.tar.zst
re3-a827f0dd559331d756f57ddf63e535d100503ab2.zip
Diffstat (limited to '')
-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