From 7acf9f96b6eab04833e27e852f593597207122d7 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Mon, 16 Jul 2018 17:15:41 +0300 Subject: [PATCH] - added placeholders for removed video menu classes --- .../static/zscript/menu/optionmenuitems.txt | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/wadsrc/static/zscript/menu/optionmenuitems.txt b/wadsrc/static/zscript/menu/optionmenuitems.txt index f08e8bd24..a8f77268c 100644 --- a/wadsrc/static/zscript/menu/optionmenuitems.txt +++ b/wadsrc/static/zscript/menu/optionmenuitems.txt @@ -1195,3 +1195,42 @@ 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; + } +}