Change the options menu to follow a more logical modern layout

Remove the old simple menu as that only made things worse
This commit is contained in:
Magnus Norddahl 2023-04-23 02:00:49 +02:00 committed by Christoph Oelckers
parent 85f138841c
commit f220577ca4
4 changed files with 158 additions and 233 deletions

View file

@ -237,8 +237,6 @@ xx(StartgameConfirmed)
xx(Loadgamemenu) xx(Loadgamemenu)
xx(Savegamemenu) xx(Savegamemenu)
xx(Optionsmenu) xx(Optionsmenu)
xx(OptionsmenuSimple)
xx(OptionsmenuFull)
xx(Quitmenu) xx(Quitmenu)
xx(Savemenu) xx(Savemenu)
xx(EndGameMenu) xx(EndGameMenu)

View file

@ -77,8 +77,6 @@ EXTERN_CVAR(Bool, quicksaverotation)
EXTERN_CVAR(Bool, show_messages) EXTERN_CVAR(Bool, show_messages)
EXTERN_CVAR(Float, hud_scalefactor) EXTERN_CVAR(Float, hud_scalefactor)
CVAR(Bool, m_simpleoptions, true, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
typedef void(*hfunc)(); typedef void(*hfunc)();
DMenu* CreateMessageBoxMenu(DMenu* parent, const char* message, int messagemode, bool playsound, FName action = NAME_None, hfunc handler = nullptr); DMenu* CreateMessageBoxMenu(DMenu* parent, const char* message, int messagemode, bool playsound, FName action = NAME_None, hfunc handler = nullptr);
bool OkForLocalization(FTextureID texnum, const char* substitute); bool OkForLocalization(FTextureID texnum, const char* substitute);
@ -278,14 +276,6 @@ bool M_SetSpecialMenu(FName& menu, int param)
menu = NAME_NewPlayerMenu; // redirect the old player menu to the new one. menu = NAME_NewPlayerMenu; // redirect the old player menu to the new one.
break; break;
case NAME_Optionsmenu:
if (m_simpleoptions) menu = NAME_OptionsmenuSimple;
break;
case NAME_OptionsmenuFull:
menu = NAME_Optionsmenu;
break;
case NAME_Readthismenu: case NAME_Readthismenu:
// [MK] allow us to override the ReadThisMenu class // [MK] allow us to override the ReadThisMenu class
menu = gameinfo.HelpMenuClass; menu = gameinfo.HelpMenuClass;

View file

@ -356,25 +356,83 @@ DefaultOptionMenu
OptionMenu "OptionsMenu" protected OptionMenu "OptionsMenu" protected
{ {
Title "$OPTMNU_TITLE" Title "$OPTMNU_TITLE"
Submenu "Input Options", "InputMenu"
Submenu "Gameplay Options", "GameplayMenu"
Submenu "$OPTMNU_DISPLAY", "VideoOptions"
Submenu "$OPTMNU_SOUND", "SoundOptions"
Submenu "Multiplayer Options", "MultiplayerMenu"
Submenu "System Options", "SystemMenu"
StaticText " "
StaticText " "
Submenu "$OS_TITLE", "os_Menu"
StaticText " "
StaticText " "
}
//-------------------------------------------------------------------------------------------
//
// Input menu
//
//-------------------------------------------------------------------------------------------
OptionMenu "InputMenu" protected
{
Title "Input Options"
Submenu "$OPTMNU_CONTROLS", "CustomizeControls" Submenu "$OPTMNU_CONTROLS", "CustomizeControls"
Submenu "$OPTMNU_MOUSE", "MouseOptions" Submenu "$OPTMNU_MOUSE", "MouseOptions"
Submenu "$OPTMNU_JOYSTICK", "JoystickOptions" Submenu "$OPTMNU_JOYSTICK", "JoystickOptions"
StaticText " " StaticText " "
Submenu "$OPTMNU_PLAYER", "NewPlayerMenu" }
//-------------------------------------------------------------------------------------------
//
// Gameplay menu
//
//-------------------------------------------------------------------------------------------
OptionMenu "GameplayMenu" protected
{
Title "Gameplay Options"
Submenu "$OPTMNU_GAMEPLAY", "GameplayOptions" Submenu "$OPTMNU_GAMEPLAY", "GameplayOptions"
Submenu "$OPTMNU_COMPATIBILITY", "CompatibilityOptions" Submenu "$OPTMNU_COMPATIBILITY", "CompatibilityOptions"
Submenu "$OPTMNU_AUTOMAP", "AutomapOptions" Submenu "$OPTMNU_AUTOMAP", "AutomapOptions"
Submenu "$OPTMNU_HUD", "HUDOptions" Submenu "$OPTMNU_HUD", "HUDOptions"
Submenu "$OPTMNU_MISCELLANEOUS", "MiscOptions" Submenu "$OPTMNU_MISCELLANEOUS", "MiscOptions"
StaticText " "
}
//-------------------------------------------------------------------------------------------
//
// Multiplayer menu
//
//-------------------------------------------------------------------------------------------
OptionMenu "MultiplayerMenu" protected
{
Title "Multiplayer Options"
Submenu "$OPTMNU_PLAYER", "NewPlayerMenu"
Submenu "$GMPLYMNU_DEATHMATCH", "DeathmatchOptions"
Submenu "$GMPLYMNU_COOPERATIVE", "CoopOptions"
Submenu "$OPTMNU_NETWORK", "NetworkOptions" Submenu "$OPTMNU_NETWORK", "NetworkOptions"
Submenu "$OPTMNU_SOUND", "SoundOptions"
Submenu "$OPTMNU_DISPLAY", "VideoOptions"
Submenu "$OPTMNU_VIDEO", "VideoModeMenu"
StaticText " "
Submenu "$OS_TITLE", "os_Menu"
Option "$OPTMNU_SIMPLEON", "m_simpleoptions", "OnOff"
StaticText " " StaticText " "
}
//-------------------------------------------------------------------------------------------
//
// System menu
//
//-------------------------------------------------------------------------------------------
OptionMenu "SystemMenu" protected
{
Title "System Options"
SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults"
SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved" SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved"
SafeCommand "$OPTMNU_WRITEINI", "writeini" SafeCommand "$OPTMNU_WRITEINI", "writeini"
@ -383,6 +441,7 @@ OptionMenu "OptionsMenu" protected
Command "$OPTMNU_OPENCONFIG", "openconfig" Command "$OPTMNU_OPENCONFIG", "openconfig"
Command "$OPTMNU_OPENSCREENSHOTS", "openscreenshots" Command "$OPTMNU_OPENSCREENSHOTS", "openscreenshots"
Command "$OPTMNU_OPENSAVES", "opensaves" Command "$OPTMNU_OPENSAVES", "opensaves"
StaticText " " StaticText " "
} }
@ -893,37 +952,21 @@ OptionValue PreferBackend
2, "$OPTVAL_OPENGLES" 2, "$OPTVAL_OPENGLES"
} }
OptionMenu "TrueColorOptions" protected
{
Title "$TCMNU_TITLE"
StaticText " "
Option "$TCMNU_MINFILTER", "r_minfilter", "OnOff"
Option "$TCMNU_MAGFILTER", "r_magfilter", "OnOff"
Option "$TCMNU_MIPMAP", "r_mipmap", "OnOff"
}
OptionMenu "SWROptions" protected
{
Title "$DSPLYMNU_SWOPT"
Submenu "$DSPLYMNU_TCOPT", "TrueColorOptions"
Option "$DSPLYMNU_BLENDMETHOD", "r_blendmethod", "BlendMethods"
StaticText " "
Option "$DSPLYMNU_SKYMODE", "r_skymode", "SkyModes"
Option "$DSPLYMNU_LINEARSKY", "r_linearsky", "OnOff"
Option "$DSPLYMNU_GZDFULLBRIGHT", "r_fullbrightignoresectorcolor", "OnOff"
Option "$DSPLYMNU_SCALEFUZZ", "r_fuzzscale", "OnOff"
Option "$DSPLYMNU_MODELS", "r_models", "OnOff"
}
OptionMenu "VideoOptions" protected OptionMenu "VideoOptions" protected
{ {
Title "$DSPLYMNU_TITLE" Title "$DSPLYMNU_TITLE"
Submenu "$DSPLYMNU_GLOPT", "OpenGLOptions" Submenu "$OPTMNU_VIDEO", "VideoModeMenu"
Submenu "$DSPLYMNU_SWOPT", "SWROptions" Submenu "Light Options", "LightOptions"
Submenu "$DSPLYMNU_VKOPT", "VKOptions" Submenu "$GLMNU_TEXOPT", "GLTextureGLOptions"
Submenu "$GLMNU_TEXOPT", "GLTextureGLOptions" Submenu "Sprite Options", "SpriteOptions"
Submenu "$GLMNU_DYNLIGHT", "GLLightOptions" Submenu "$GLMNU_POSTPROCESS", "PostProcessMenu"
Submenu "$GLPREFMNU_VRMODE", "VR3DMenu"
IfOption(SWRender)
{
Submenu "Software Renderer", "SWROptions"
}
StaticText " " StaticText " "
Slider "$DSPLYMNU_SCREENSIZE", "screenblocks", 3.0, 12.0, 1.0, 0 Slider "$DSPLYMNU_SCREENSIZE", "screenblocks", 3.0, 12.0, 1.0, 0
@ -934,26 +977,85 @@ OptionMenu "VideoOptions" protected
StaticText " " StaticText " "
Slider "$DSPLYMNU_FOV", "fov", 75.0, 120.0, 0.1, 1 Slider "$DSPLYMNU_FOV", "fov", 75.0, 120.0, 0.1, 1
StaticText " " StaticText " "
Option "$DSPLYMNU_SPRITESHADOW", "r_actorspriteshadow", "SpriteShadowModes" Option "$DSPLYMNU_WIPETYPE", "wipetype", "Wipes"
Slider "$GLPREFMNU_MENUBLUR", gl_menu_blur, 0, 5.0, 0.5, 2
StaticText " "
Option "$DSPLYMNU_DEATHCAM", "r_deathcamera", "OnOff"
Option "$DSPLYMNU_TELEZOOM", "telezoom", "OnOff"
Slider "$DSPLYMNU_QUAKEINTENSITY", "r_quakeintensity", 0.0, 1.0, 0.05, 2
StaticText " "
IfOption(SWRender)
{
Option "$VIDMNU_RENDERMODE", "vid_rendermode", "RenderMode"
}
Option "$GLPREFMNU_RENDERQUALITY", gl_seamless, "Precision"
}
OptionMenu "SWROptions" protected
{
Option "$TCMNU_DYNLIGHTS", "r_dynlights", "OnOff"
Option "$DSPLYMNU_BLENDMETHOD", "r_blendmethod", "BlendMethods"
Option "$DSPLYMNU_SKYMODE", "r_skymode", "SkyModes"
Option "$DSPLYMNU_LINEARSKY", "r_linearsky", "OnOff"
Option "$DSPLYMNU_GZDFULLBRIGHT", "r_fullbrightignoresectorcolor", "OnOff"
Option "$DSPLYMNU_SCALEFUZZ", "r_fuzzscale", "OnOff"
Option "$TCMNU_MINFILTER", "r_minfilter", "OnOff"
Option "$TCMNU_MAGFILTER", "r_magfilter", "OnOff"
Option "$TCMNU_MIPMAP", "r_mipmap", "OnOff"
}
OptionMenu "LightOptions" protected
{
Title "Light Options"
Option "$GLPREFMNU_SECLIGHTMODE", gl_lightmode, "LightingModes"
Option "$GLPREFMNU_FOGMODE", gl_fogmode, "FogMode"
Option "$DSPLYMNU_FAKECONTRAST", "r_fakecontrast", "Contrast"
StaticText " "
Option "$GLPREFMNU_CORONAS", gl_coronas, "OnOff"
StaticText " "
Option "$GLLIGHTMNU_LIGHTSENABLED", gl_lights, "OnOff"
Option "$GLLIGHTMNU_LIGHTSPRITES", gl_light_sprites, "YesNo"
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
StaticText " "
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
Option "$GLLIGHTMNU_LIGHTSHADOWMAPQUALITY", gl_shadowmap_quality, "ShadowMapQuality"
Option "$GLLIGHTMNU_LIGHTSHADOWMAPFILTER", gl_shadowmap_filter, "ShadowMapFilter"
StaticText " "
Option "$GLPREFMNU_SWLMBANDED", gl_bandedswlight, "OnOff"
Option "$GLPREFMNU_FOGFORCEFULLBRIGHT", gl_brightfog, "YesNo"
Slider "$GLPREFMNU_WPNLIGHTSTR", gl_weaponlight, 0,32, 2
Option "$GLPREFMNU_ENVIRONMENTMAPMIRROR", gl_mirror_envmap, "OnOff"
StaticText " "
Option "$GLPREFMNU_ENV", gl_enhanced_nightvision, "OnOff"
Option "$GLPREFMNU_ENVSTEALTH", gl_enhanced_nv_stealth, "EnhancedStealth"
StaticText " "
Option "$DSPLYMNU_CUSTOMINVERTMAP", "cl_customizeinvulmap", "OnOff" Option "$DSPLYMNU_CUSTOMINVERTMAP", "cl_customizeinvulmap", "OnOff"
ColorPicker "$DSPLYMNU_CUSTOMINVERTC1", "cl_custominvulmapcolor1" ColorPicker "$DSPLYMNU_CUSTOMINVERTC1", "cl_custominvulmapcolor1"
ColorPicker "$DSPLYMNU_CUSTOMINVERTC2", "cl_custominvulmapcolor2" ColorPicker "$DSPLYMNU_CUSTOMINVERTC2", "cl_custominvulmapcolor2"
Option "$DSPLYMNU_WIPETYPE", "wipetype", "Wipes" }
Option "$DSPLYMNU_DRAWFUZZ", "r_drawfuzz", "Fuzziness"
OptionMenu "SpriteOptions" protected
{
Title "Sprite Options"
Option "$DSPLYMNU_SPRITESHADOW", "r_actorspriteshadow", "SpriteShadowModes"
Option "$DSPLYMNU_OLDTRANS", "r_vanillatrans", "VanillaTrans" Option "$DSPLYMNU_OLDTRANS", "r_vanillatrans", "VanillaTrans"
Option "$DSPLYMNU_FAKECONTRAST", "r_fakecontrast", "Contrast"
Option "$DSPLYMNU_ROCKETTRAILS", "cl_rockettrails", "RocketTrailTypes" Option "$DSPLYMNU_ROCKETTRAILS", "cl_rockettrails", "RocketTrailTypes"
Option "$DSPLYMNU_BLOODTYPE", "cl_bloodtype", "BloodTypes" Option "$DSPLYMNU_BLOODTYPE", "cl_bloodtype", "BloodTypes"
Option "$DSPLYMNU_PUFFTYPE", "cl_pufftype", "PuffTypes" Option "$DSPLYMNU_PUFFTYPE", "cl_pufftype", "PuffTypes"
Slider "$DSPLYMNU_MAXPARTICLES", "r_maxparticles", 100, 65535, 100, 0 Slider "$DSPLYMNU_MAXPARTICLES", "r_maxparticles", 100, 65535, 100, 0
Slider "$DSPLYMNU_MAXDECALS", "cl_maxdecals", 0, 10000, 100, 0 Slider "$DSPLYMNU_MAXDECALS", "cl_maxdecals", 0, 10000, 100, 0
Option "$DSPLYMNU_PLAYERSPRITES", "r_drawplayersprites", "OnOff" Option "$DSPLYMNU_PLAYERSPRITES", "r_drawplayersprites", "OnOff"
Option "$DSPLYMNU_DEATHCAM", "r_deathcamera", "OnOff" Option "$DSPLYMNU_DRAWFUZZ", "r_drawfuzz", "Fuzziness"
Option "$DSPLYMNU_TELEZOOM", "telezoom", "OnOff"
Slider "$DSPLYMNU_QUAKEINTENSITY", "r_quakeintensity", 0.0, 1.0, 0.05, 2
Option "$DSPLYMNU_NOMONSTERINTERPOLATION", "nomonsterinterpolation", "NoYes"
}
Option "$GLPREFMNU_SPRCLIP", gl_spriteclip, "SpriteclipModes"
Option "$GLPREFMNU_SPRBLEND", gl_sprite_blend, "OnOff"
Option "$GLPREFMNU_FUZZSTYLE", gl_fuzztype, "FuzzStyle"
Option "$GLPREFMNU_SPRBILLBOARD", gl_billboard_mode, "BillboardModes"
Option "$GLPREFMNU_SPRBILLFACECAMERA", gl_billboard_faces_camera, "OnOff"
Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles"
}
//------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------
// //
@ -2266,10 +2368,6 @@ OptionMenu VideoModeMenu protected
{ {
Title "$VIDMNU_TITLE" Title "$VIDMNU_TITLE"
IfOption(SWRender)
{
Option "$VIDMNU_RENDERMODE", "vid_rendermode", "RenderMode"
}
Option "$VIDMNU_FULLSCREEN", "vid_fullscreen", "YesNo" Option "$VIDMNU_FULLSCREEN", "vid_fullscreen", "YesNo"
IfOption(Mac) IfOption(Mac)
@ -2285,7 +2383,14 @@ OptionMenu VideoModeMenu protected
StaticText " " StaticText " "
Option "$DSPLYMNU_VSYNC", "vid_vsync", "OnOff" Option "$DSPLYMNU_VSYNC", "vid_vsync", "OnOff"
Slider "$VIDMNU_MAXFPS", "vid_maxfps", 35, 500, 1 Slider "$VIDMNU_MAXFPS", "vid_maxfps", 35, 500, 1
StaticText " "
Option "$DSPLYMNU_CAPFPS", "cl_capfps", "OffOn" Option "$DSPLYMNU_CAPFPS", "cl_capfps", "OffOn"
Option "$DSPLYMNU_NOMONSTERINTERPOLATION", "nomonsterinterpolation", "NoYes"
StaticText " "
Option "$GLPREFMNU_MULTISAMPLE", gl_multisample, "Multisample"
Option "$VKMNU_HDR", "vk_hdr", "OnOff"
StaticText "" StaticText ""
StaticText "$VIDMNU_CUSTOMRES" StaticText "$VIDMNU_CUSTOMRES"
@ -2298,6 +2403,10 @@ OptionMenu VideoModeMenu protected
StaticText "" StaticText ""
SubMenu "$VIDMNU_RESPRESET", CustomResolutionMenu SubMenu "$VIDMNU_RESPRESET", CustomResolutionMenu
StaticText ""
StaticText ""
TextField "$VKMNU_DEVICE", vk_device
} }
OptionMenu CustomResolutionMenu protected OptionMenu CustomResolutionMenu protected
@ -2575,6 +2684,7 @@ OptionMenu "GLTextureGLOptions" protected
Title "$GLTEXMNU_TITLE" Title "$GLTEXMNU_TITLE"
Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes" Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes"
Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy" Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy"
StaticText " "
ifOption(MMX) ifOption(MMX)
{ {
@ -2596,46 +2706,6 @@ OptionMenu "GLTextureGLOptions" protected
Class "GLTextureGLOptions" Class "GLTextureGLOptions"
} }
OptionMenu "GLLightOptions" protected
{
Title "$GLLIGHTMNU_TITLE"
Option "$TCMNU_DYNLIGHTS", "r_dynlights", "OnOff"
Option "$GLLIGHTMNU_LIGHTSENABLED", gl_lights, "OnOff"
Option "$GLLIGHTMNU_LIGHTSPRITES", gl_light_sprites, "YesNo"
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
Option "$GLLIGHTMNU_LIGHTSHADOWMAPQUALITY", gl_shadowmap_quality, "ShadowMapQuality"
Option "$GLLIGHTMNU_LIGHTSHADOWMAPFILTER", gl_shadowmap_filter, "ShadowMapFilter"
}
OptionMenu "OpenGLOptions" protected
{
Title "$GLMNU_TITLE"
Submenu "$GLPREFMNU_VRMODE", "VR3DMenu"
Submenu "$GLMNU_POSTPROCESS", "PostProcessMenu"
StaticText " "
Option "$GLPREFMNU_SECLIGHTMODE", gl_lightmode, "LightingModes"
Option "$GLPREFMNU_SWLMBANDED", gl_bandedswlight, "OnOff"
Option "$GLPREFMNU_FOGMODE", gl_fogmode, "FogMode"
Option "$GLPREFMNU_FOGFORCEFULLBRIGHT", gl_brightfog, "YesNo"
Slider "$GLPREFMNU_WPNLIGHTSTR", gl_weaponlight, 0,32, 2
Option "$GLPREFMNU_ENVIRONMENTMAPMIRROR", gl_mirror_envmap, "OnOff"
Option "$GLPREFMNU_ENV", gl_enhanced_nightvision, "OnOff"
Option "$GLPREFMNU_ENVSTEALTH", gl_enhanced_nv_stealth, "EnhancedStealth"
Option "$GLPREFMNU_SPRCLIP", gl_spriteclip, "SpriteclipModes"
Option "$GLPREFMNU_SPRBLEND", gl_sprite_blend, "OnOff"
Option "$GLPREFMNU_FUZZSTYLE", gl_fuzztype, "FuzzStyle"
Option "$GLPREFMNU_SPRBILLBOARD", gl_billboard_mode, "BillboardModes"
Option "$GLPREFMNU_SPRBILLFACECAMERA", gl_billboard_faces_camera, "OnOff"
Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles"
Option "$GLPREFMNU_RENDERQUALITY", gl_seamless, "Precision"
Option "$GLPREFMNU_CORONAS", gl_coronas, "OnOff"
StaticText " "
Slider "$GLPREFMNU_MENUBLUR", gl_menu_blur, 0, 5.0, 0.5, 2
StaticText " "
Option "$GLPREFMNU_MULTISAMPLE", gl_multisample, "Multisample"
}
OptionMenu "VR3DMenu" protected OptionMenu "VR3DMenu" protected
{ {
Title "$GLPREFMNU_VRMODE" Title "$GLPREFMNU_VRMODE"
@ -2808,16 +2878,6 @@ OptionValue "os_isanyof_values"
* *
*=======================================*/ *=======================================*/
OptionMenu "vkoptions"
{
Title "$VK_TITLE"
//StaticText "$VK_WARNING"
StaticText "$VK_RESTART"
StaticText ""
TextField "$VKMNU_DEVICE", vk_device
Option "$VKMNU_HDR", "vk_hdr", "OnOff"
}
OptionValue "SpriteShadowModes" OptionValue "SpriteShadowModes"
{ {
0, "$OPTVAL_OFF" 0, "$OPTVAL_OFF"

View file

@ -1,123 +0,0 @@
// this file has the simplified menu here.
// this file is *only* for options that are relevant to a novice user of GZDoom
// this file needs to be regularly pruned, with options coalesced as much as possible. any and all verbosity should go to the "full" menus.
OptionMenu "OptionsMenuSimple" protected
{
Title "$OPTMNU_TITLE"
Submenu "$OPTMNU_CONTROLS", "CustomizeControls"
Submenu "$OPTMNU_MOUSE", "MouseOptionsSimple"
Submenu "$OPTMNU_JOYSTICK", "JoystickOptions"
StaticText " "
Submenu "$OPTMNU_PLAYER", "NewPlayerMenu"
StaticText " "
Submenu "$OPTMNU_SOUND", "SoundOptionsSimple"
Submenu "$OPTMNU_DISPLAY", "VideoOptionsSimple"
Submenu "$HUDMNU_SCALEOPT", "ScalingOptionsSimple"
StaticText " "
Submenu "$OPTMNU_MISCELLANEOUS", "MiscOptionsSimple"
StaticText " "
Submenu "$OS_TITLE", "os_Menu"
StaticText " "
Submenu "$OPTMNU_FULLOPTIONS", "OptionsMenuFull"
StaticText " "
SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults"
SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved"
SafeCommand "$OPTMNU_WRITEINI", "writeini"
Command "$OPTMNU_CONSOLE", "menuconsole"
StaticText " "
}
OptionMenu SoundOptionsSimple protected
{
Title "$SNDMNU_TITLE"
Slider "$MODMNU_MASTERVOLUME", "snd_mastervolume", 0, 1, 0.05, 2
StaticText " "
Slider "$SNDMNU_SFXVOLUME", "snd_sfxvolume", 0, 1, 0.05, 2
Slider "$SNDMNU_MUSICVOLUME", "snd_musicvolume", 0, 1, 0.05, 2
StaticText " "
Slider "$SNDMNU_MENUVOLUME", "snd_menuvolume", 0, 1, 0.05, 2
StaticText " "
Option "$SNDMNU_MIDIDEVICE", "snd_mididevice", "MidiDevices"
Command "$SNDMNU_RESTART", "snd_reset"
}
OptionMenu VideoOptionsSimple protected
{
Title "$DSPLYMNU_TITLE"
IfOption(SWRender)
{
Option "$VIDMNU_RENDERMODE", "vid_rendermode", "RenderMode"
}
Option "$VIDMNU_FULLSCREEN", "vid_fullscreen", "YesNo"
IfOption(Mac)
{
Option "$VIDMNU_HIDPI", "vid_hidpi", "YesNo"
}
StaticText " "
Option "$DSPLYMNU_DRAWFUZZ", "r_drawfuzz", "Fuzziness"
Option "$DSPLYMNU_WIPETYPE", "wipetype", "Wipes"
StaticText " "
Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes"
Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy"
Option "$GLPREFMNU_SECLIGHTMODE", gl_lightmode, "LightingModes"
StaticText " "
Option "$DSPLYMNU_VSYNC", "vid_vsync", "OnOff"
Slider "$VIDMNU_MAXFPS", "vid_maxfps", 35, 500, 1
StaticText " "
Slider "$DSPLYMNU_GAMMA", "vid_gamma", 0.75, 3.0, 0.05, 2
Slider "$DSPLYMNU_BRIGHTNESS", "vid_brightness", -0.8,0.8, 0.05,2
Slider "$DSPLYMNU_CONTRAST", "vid_contrast", 0.1, 3.0, 0.1
Slider "$DSPLYMNU_SATURATION", "vid_saturation", -3.0, 3.0, 0.25, 2
StaticText " "
Slider "$DSPLYMNU_FOV", "fov", 75.0, 120.0, 0.1, 1
// commenting this out for now, this menu is so general purpose I am not sure it makes sense, but I'm leaving it here just in case
// the "full" menu doesn't have some of the options that are in this one.
//StaticText " "
//Submenu "$OPTMNU_FULLOPTIONS", "VideoModeMenu"
}
OptionMenu ScalingOptionsSimple protected
{
Title "$SCALEMNU_TITLE"
StaticText "$OPTMNU_HUD"
ScaleSlider "$HUDMNU_UISCALE", "uiscale", 0.0, 8.0, 1.0, "$SCALEMNU_ADAPT"
Option "$SCALEMNU_HUDASPECT", "hud_aspectscale", "OnOff"
Slider "$DSPLYMNU_SCREENSIZE", "screenblocks", 3.0, 12.0, 1.0, 0
StaticText " "
StaticText "$VIDMNU_TITLE"
Option "$VIDMNU_SCALEMODE", "vid_scalemode", "ScaleModes"
Slider "$VIDMNU_SCALEFACTOR", "vid_scalefactor", 0.25, 2.0, 0.25, 2
}
OptionMenu MiscOptionsSimple protected
{
Title "$MISCMNU_TITLE"
Option "$MISCMNU_QUERYIWAD", "queryiwad", "OnOff"
Option "$MISCMNU_NOCHEATS", "nocheats", "OnOff"
Option "$MISCMNU_ALLCHEATS", "allcheats", "OnOff"
Option "$MISCMNU_ENABLEAUTOSAVES", "disableautosave", "Autosave"
Option "$MISCMNU_DEHLOAD", "dehload", "dehopt"
Option "$MISCMNU_ENABLESCRIPTSCREENSHOTS", "enablescriptscreenshot", "OnOff"
Option "$OPTMNU_LANGUAGE", "language", "LanguageOptions"
Option "$MSGMNU_LONGSAVEMESSAGES", "longsavemessages", "OnOff"
}
OptionMenu "MouseOptionsSimple" protected
{
Title "$MOUSEMNU_TITLE"
Option "$MOUSEMNU_ENABLEMOUSE", "use_mouse", "YesNo"
Option "$MOUSEMNU_MOUSEINMENU", "m_use_mouse", "MenuMouse", "use_mouse"
IfOption(Windows)
{
Option "$MOUSEMNU_SWAPBUTTONS", "m_swapbuttons", "YesNo"
}
Option "$MOUSEMNU_CURSOR", "vid_cursor", "Cursors"
StaticText ""
Slider "$MOUSEMNU_SENSITIVITY_X", "m_sensitivity_x", 0.1, 8, 0.05
Slider "$MOUSEMNU_SENSITIVITY_Y", "m_sensitivity_y", 0.1, 8, 0.05
StaticText ""
Option "$MOUSEMNU_INVERTMOUSE", "invertmouse", "OnOff"
}