mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 04:22:34 +00:00
- moved compatibility cruft out of main implementation file.
This commit is contained in:
parent
4b77064fc4
commit
cc9cadfac1
2 changed files with 39 additions and 39 deletions
|
@ -24,3 +24,42 @@ class CompatibilityMenu : OptionMenu
|
|||
}
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//
|
||||
// Placeholder classes for overhauled video mode menu. Do not use!
|
||||
// Their sole purpose is to support mods with full copy of embedded MENUDEF
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
class OptionMenuItemScreenResolution : OptionMenuItem
|
||||
{
|
||||
String mResTexts[3];
|
||||
int mSelection;
|
||||
int mHighlight;
|
||||
int mMaxValid;
|
||||
|
||||
enum EValues
|
||||
{
|
||||
SRL_INDEX = 0x30000,
|
||||
SRL_SELECTION = 0x30003,
|
||||
SRL_HIGHLIGHT = 0x30004,
|
||||
};
|
||||
|
||||
OptionMenuItemScreenResolution Init(String command)
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
||||
override bool Selectable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class VideoModeMenu : OptionMenu
|
||||
{
|
||||
static bool SetSelectedSize()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1234,42 +1234,3 @@ class OptionMenuItemScaleSlider : OptionMenuItemSlider
|
|||
|
||||
}
|
||||
|
||||
//=============================================================================
|
||||
//
|
||||
// Placeholder classes for overhauled video mode menu. Do not use!
|
||||
// Their sole purpose is to support mods with full copy of embedded MENUDEF
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
class OptionMenuItemScreenResolution : OptionMenuItem
|
||||
{
|
||||
String mResTexts[3];
|
||||
int mSelection;
|
||||
int mHighlight;
|
||||
int mMaxValid;
|
||||
|
||||
enum EValues
|
||||
{
|
||||
SRL_INDEX = 0x30000,
|
||||
SRL_SELECTION = 0x30003,
|
||||
SRL_HIGHLIGHT = 0x30004,
|
||||
};
|
||||
|
||||
OptionMenuItemScreenResolution Init(String command)
|
||||
{
|
||||
return self;
|
||||
}
|
||||
|
||||
override bool Selectable()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
class VideoModeMenu : OptionMenu
|
||||
{
|
||||
static bool SetSelectedSize()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue