From 190173bc442a0eab808f4d2c8a18a1f932e92547 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sun, 25 Oct 2020 15:46:48 -0400 Subject: [PATCH 1/3] - add 'writeini' console command to the menu. Not committing this to master right now, since a release is pending and this requires a translation. --- wadsrc/static/menudef.simplified | 2 +- wadsrc/static/menudef.txt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/menudef.simplified b/wadsrc/static/menudef.simplified index 92ed05005..a37e36164 100644 --- a/wadsrc/static/menudef.simplified +++ b/wadsrc/static/menudef.simplified @@ -1,6 +1,6 @@ // 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 classic menus. +// 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 { diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index 502484d32..965d11254 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -385,8 +385,10 @@ OptionMenu "OptionsMenu" protected Option "$OPTMNU_SIMPLEON", "m_simpleoptions", "OnOff" StaticText " " - SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" + SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved" + SafeCommand "$OPTMNU_WRITEINI", "writeini" + Command "$OPTMNU_CONSOLE", "menuconsole" StaticText " " } From 98282f710fa3e5d1ec0c87eeb9bc5742a5ca50ef Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Sun, 25 Oct 2020 15:49:07 -0400 Subject: [PATCH 2/3] - oops, missed this --- wadsrc/static/menudef.simplified | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wadsrc/static/menudef.simplified b/wadsrc/static/menudef.simplified index a37e36164..a26d4de75 100644 --- a/wadsrc/static/menudef.simplified +++ b/wadsrc/static/menudef.simplified @@ -17,8 +17,9 @@ OptionMenu "OptionsMenuSimple" protected StaticText " " Submenu "$OPTMNU_FULLOPTIONS", "OptionsMenuFull" StaticText " " - SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" + SafeCommand "$OPTMNU_DEFAULTS", "reset2defaults" SafeCommand "$OPTMNU_RESETTOSAVED", "reset2saved" + SafeCommand "$OPTMNU_WRITEINI", "writeini" Command "$OPTMNU_CONSOLE", "menuconsole" StaticText " " } From b33e009209c649b328e317a46265f1ce017aec1e Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Mon, 26 Oct 2020 03:40:54 -0400 Subject: [PATCH 3/3] - add sv_alwaysspawnmulti to the menu --- wadsrc/static/menudef.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index 965d11254..248d8227c 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -1625,7 +1625,7 @@ OptionMenu GameplayOptions protected Submenu "$GMPLYMNU_COOPERATIVE", "CoopOptions" StaticText " " Option "$GMPLYMNU_TEAMPLAY", "teamplay", "OnOff" - Slider "$GMPLYMNU_TEAMDAMAGE", "teamdamage", 0, 1, 0.05,2 + Slider "$GMPLYMNU_TEAMDAMAGE", "teamdamage", 0, 1, 0.05,2 StaticText " " Option "$GMPLYMNU_SMARTAUTOAIM", "sv_smartaim", "SmartAim" StaticText " " @@ -1656,6 +1656,7 @@ OptionMenu GameplayOptions protected Option "$GMPLYMNU_DONTCHECKAMMO", "sv_dontcheckammo", "NoYes" Option "$GMPLYMNU_KILLBOSSSPAWNS", "sv_killbossmonst", "YesNo" Option "$GMPLYMNU_NOCOUNTENDMONSTER", "sv_nocountendmonst", "NoYes" + Option "$GMPLYMNU_ALWAYSSPAWNMULTI", "sv_alwaysspawnmulti", "YesNo" Class "GameplayMenu" }