- DEBUG_OPTIONS define to enable Debug Options in Release build

This commit is contained in:
Ilya Shurumov 2020-04-26 18:20:35 +06:00
parent d3a7a5dbdd
commit ba6f1753b5
2 changed files with 7 additions and 3 deletions

View File

@ -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;

View File

@ -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 },