mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- fixed hud scaling slider value ranges
This commit is contained in:
parent
071a364d83
commit
c643aadb4b
2 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ CUSTOM_CVARD(Int, hud_size, 9, CVAR_ARCHIVE | CVAR_NOINITCALL, "Defines the HUD
|
|||
|
||||
CUSTOM_CVARD(Int, hud_scale, 100, CVAR_ARCHIVE | CVAR_NOINITCALL, "changes the hud scale")
|
||||
{
|
||||
if (self < 36) self = 36;
|
||||
if (self < 35) self = 35;
|
||||
else if (self > 100) self = 100;
|
||||
else gi->set_hud_scale(hud_scale);
|
||||
}
|
||||
|
|
|
@ -1180,7 +1180,7 @@ OptionMenu "HUDOptions" //protected
|
|||
ifgame(duke, nam, ww2gi, redneck, redneckrides, fury)
|
||||
{
|
||||
Slider "$DSPLYMNU_SCREENSIZE", "hud_size", 0.0, 11.0, 1.0, -1
|
||||
Slider "$DSPLYMNU_SBSCALE", "hud_scale", 0.3, 1.0, 0.1, 2
|
||||
Slider "$DSPLYMNU_SBSCALE", "hud_scale", 35, 100, 5, 2
|
||||
}
|
||||
ifgame(blood)
|
||||
{
|
||||
|
@ -1198,7 +1198,7 @@ OptionMenu "HUDOptions" //protected
|
|||
Option "$DSPLYMNU_LEVELSTATS", "hud_stats", "OnOff"
|
||||
ifgame(duke, nam, ww2gi, redneck, redneckrides, fury)
|
||||
{
|
||||
Slider "$DSPLYMNU_TEXTSCALE", "hud_textscale", 0.3, 1.0, 0.1, 2
|
||||
Slider "$DSPLYMNU_TEXTSCALE", "hud_textscale", 100, 400, 20, 2
|
||||
}
|
||||
StaticText ""
|
||||
Option "$DSPLYMNU_MESSAGES", "hud_messages", "HudMessages"
|
||||
|
|
Loading…
Reference in a new issue