From da9f4cc1dd63201ddf29ec86610fd02be981f4c8 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 16 Jul 2016 16:50:37 +0300 Subject: [PATCH] Added 'ammo display order' item to options menu --- wadsrc/static/language.enu | 3 +++ wadsrc/static/menudef.txt | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/wadsrc/static/language.enu b/wadsrc/static/language.enu index d27374ed2..cef67aca9 100644 --- a/wadsrc/static/language.enu +++ b/wadsrc/static/language.enu @@ -1835,6 +1835,7 @@ ALTHUDMNU_SHOWAMMO = "Show ammo for"; ALTHUDMNU_SHOWTIME = "Show time"; ALTHUDMNU_TIMECOLOR = "Time color"; ALTHUDMNU_SHOWLAG = "Show network latency"; +ALTHUDMNU_AMMOORDER = "Ammo display order"; ALTHUDMNU_AMMORED = "Red ammo display below %"; ALTHUDMNU_AMMOYELLOW = "Yellow ammo display below %"; ALTHUDMNU_HEALTHRED = "Red health display below"; @@ -2210,6 +2211,8 @@ OPTVAL_SYSTEMSECONDS = "System, seconds"; OPTVAL_SYSTEM = "System"; OPTVAL_NETGAMESONLY = "Netgames only"; OPTVAL_ALWAYS = "Always"; +OPTVAL_AMMOIMAGETEXT = "Image and Text"; +OPTVAL_AMMOTEXTIMAGE = "Text and Image"; OPTVAL_SCRIPTSONLY = "Scripts Only"; OPTVAL_NEVER = "Never"; OPTVAL_ALL = "All"; diff --git a/wadsrc/static/menudef.txt b/wadsrc/static/menudef.txt index bb854f378..2a59c4103 100644 --- a/wadsrc/static/menudef.txt +++ b/wadsrc/static/menudef.txt @@ -821,6 +821,12 @@ OptionValue "AltHUDLag" 2, "$OPTVAL_ALWAYS" } +OptionValue "AltHUDAmmoOrder" +{ + 0, "$OPTVAL_AMMOIMAGETEXT" + 1, "$OPTVAL_AMMOTEXTIMAGE" +} + OptionMenu "AltHUDOptions" { Title "$ALTHUDMNU_TITLE" @@ -837,6 +843,7 @@ OptionMenu "AltHUDOptions" Option "$ALTHUDMNU_SHOWTIME", "hud_showtime", "AltHUDTime" Option "$ALTHUDMNU_TIMECOLOR", "hud_timecolor", "TextColors" Option "$ALTHUDMNU_SHOWLAG", "hud_showlag", "AltHUDLag" + Option "$ALTHUDMNU_AMMOORDER", "hud_ammo_order", "AltHUDAmmoOrder" Slider "$ALTHUDMNU_AMMORED", "hud_ammo_red", 0, 100, 1, 0 Slider "$ALTHUDMNU_AMMOYELLOW", "hud_ammo_yellow", 0, 100, 1, 0 Slider "$ALTHUDMNU_HEALTHRED", "hud_health_red", 0, 100, 1, 0