mirror of
https://github.com/mrxenginner/reVC.git
synced 2026-10-11 17:58:17 +08:00
Place debug menu under ifdef
This commit is contained in:
1 parent
1b599b2d35
commit
28103775ba
11 files changed
+27
-7
No files matched your search
+8
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user