- removed obsolete calls from menudef.cpp.

This commit is contained in:
Christoph Oelckers 2020-10-04 22:14:20 +02:00
parent 27ff78ed51
commit 6a4b72cfef
2 changed files with 3 additions and 7 deletions

View file

@ -51,9 +51,7 @@
#include "printf.h" #include "printf.h"
bool CheckGame(const char* string, bool chexisdoom) { return false; } bool CheckSkipGameOptionBlock(FScanner& sc);
bool CheckSkipGameOptionBlock(FScanner& sc) { return false; }
void SetDefaultMenuColors();
MenuDescriptorList MenuDescriptors; MenuDescriptorList MenuDescriptors;
static DListMenuDescriptor *DefaultListMenuSettings; // contains common settings for all list menus static DListMenuDescriptor *DefaultListMenuSettings; // contains common settings for all list menus
@ -1054,9 +1052,6 @@ void M_ParseMenuDefs()
{ {
int lump, lastlump = 0; int lump, lastlump = 0;
#if 0
SetDefaultMenuColors();
#endif
// these are supposed to get GC'd after parsing is complete. // these are supposed to get GC'd after parsing is complete.
DefaultListMenuSettings = Create<DListMenuDescriptor>(); DefaultListMenuSettings = Create<DListMenuDescriptor>();
DefaultOptionMenuSettings = Create<DOptionMenuDescriptor>(); DefaultOptionMenuSettings = Create<DOptionMenuDescriptor>();
@ -1219,4 +1214,3 @@ void M_CreateMenus()
} }

View file

@ -1082,6 +1082,8 @@ fail:
// //
//========================================================================== //==========================================================================
bool CheckSkipGameOptionBlock(FScanner& sc) { return false; }
#if 0 #if 0
CUSTOM_CVAR(Int, cl_gfxlocalization, 3, CVAR_ARCHIVE) CUSTOM_CVAR(Int, cl_gfxlocalization, 3, CVAR_ARCHIVE)
{ {