mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-22 18:32:42 +01:00
- DEBUG_OPTIONS define to enable Debug Options in Release build
This commit is contained in:
parent
d3a7a5dbdd
commit
ba6f1753b5
@ -8,7 +8,11 @@
|
||||
#include "CUTSCENE.H"
|
||||
#include "MISSION.H"
|
||||
|
||||
#if defined(_DEBUG) || defined(DEBUG_OPTIONS)
|
||||
sdPlane sea = { 0, 0, 0, 0, 2048 }; // a default surface if FindSurfaceD2 fails
|
||||
#else
|
||||
sdPlane sea = { 9, 0, 16384, 0, 2048 }; // a default surface if FindSurfaceD2 fails
|
||||
#endif
|
||||
|
||||
ROAD_MAP_LUMP_DATA roadMapLumpData;
|
||||
|
||||
|
@ -41,7 +41,7 @@ void EnterName();
|
||||
|
||||
char EnterScoreText[32] = { 0 };
|
||||
|
||||
#ifdef _DEBUG
|
||||
#if defined(_DEBUG) || defined(DEBUG_OPTIONS)
|
||||
|
||||
void SetRightWayUp(int direction)
|
||||
{
|
||||
@ -160,7 +160,7 @@ MENU_ITEM MainPauseItems[] =
|
||||
{
|
||||
{ "Continue", 1u, 2u, NULL, MENU_QUIT_CONTINUE, NULL },
|
||||
{ "Show Map", 3u, 2u, (pauseFunc)&PauseMap, MENU_QUIT_NONE, NULL },
|
||||
#ifdef _DEBUG
|
||||
#if defined(_DEBUG) || defined(DEBUG_OPTIONS)
|
||||
{ "Debug Options", 65u, 2u, NULL, MENU_QUIT_NONE, &DebugOptionsHeader },
|
||||
#endif
|
||||
{ "Restart", 65u, 2u, NULL, MENU_QUIT_NONE, &YesNoRestartHeader },
|
||||
@ -187,7 +187,7 @@ MENU_ITEM MultiplayerPauseItems[7] =
|
||||
MENU_ITEM CutscenePauseItems[] =
|
||||
{
|
||||
{ "Continue", 1u, 2u, NULL, MENU_QUIT_CONTINUE, NULL },
|
||||
#ifdef _DEBUG
|
||||
#if defined(_DEBUG) || defined(DEBUG_OPTIONS)
|
||||
{ "Debug Options", 65u, 2u, NULL, MENU_QUIT_NONE, &DebugOptionsHeader },
|
||||
#endif
|
||||
{ "Restart", 65u, 2u, NULL, MENU_QUIT_NONE, &YesNoRestartHeader },
|
||||
|
Loading…
Reference in New Issue
Block a user