mirror of
https://github.com/halpz/re3.git
synced 2025-05-10 18:26:38 +03:00
Place debug menu under ifdef
This commit is contained in:
parent
1b599b2d35
commit
28103775ba
11 changed files with 27 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue