mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 20:20:40 +00:00
- fixed crosshair scaling in Exhumed & the other games.
The problem was that the CVARs operating the scale were different between Exhumed and the other titles, meaning that "crosshairscale" worked in one, but not the others. They have now been split. Also lowered the default crosshair size as it was too much for Exhumed. Fixes #180.
This commit is contained in:
parent
913239ee5d
commit
34dfb6c5fc
2 changed files with 8 additions and 3 deletions
|
@ -57,7 +57,7 @@ IMPLEMENT_CLASS(DHUDFont, false, false);
|
|||
|
||||
CVAR(Color, crosshaircolor, 0xff0000, CVAR_ARCHIVE);
|
||||
CVAR(Int, crosshairhealth, 2, CVAR_ARCHIVE);
|
||||
CVARD(Float, crosshairscale, 0.5, CVAR_ARCHIVE, "changes the size of the crosshair");
|
||||
CVARD(Float, crosshairscale, 0.3, CVAR_ARCHIVE, "changes the size of the crosshair");
|
||||
CVAR(Bool, crosshairgrow, false, CVAR_ARCHIVE);
|
||||
EXTERN_CVAR(Bool, vid_fps)
|
||||
|
||||
|
|
|
@ -159,7 +159,7 @@ LISTMENU "EpisodeMenu"
|
|||
captionItem "$MNU_SELECTEPISODE"
|
||||
animatedtransition
|
||||
}
|
||||
ifgame(blood)
|
||||
ifgame(Blood)
|
||||
{
|
||||
position 160, 45
|
||||
Linespacing 20
|
||||
|
@ -1162,10 +1162,15 @@ OptionMenu "HUDOptions" protected
|
|||
{
|
||||
StaticText ""
|
||||
Option "$DSPLYMNU_CLIPAMT", "cl_showmagamt", OnOff
|
||||
Slider "$DSPLYMNU_CROSSHAIRSCALE", "cl_crosshairscale", 50, 100, 10, 1
|
||||
}
|
||||
|
||||
ifgame(Exhumed)
|
||||
{
|
||||
Slider "$DSPLYMNU_CROSSHAIRSCALE", "crosshairscale", 0.3, 1.0, 0.125, 2
|
||||
}
|
||||
StaticText ""
|
||||
Option "$DSPLYMNU_CROSSHAIR", "cl_crosshair", OnOff
|
||||
Slider "$DSPLYMNU_CROSSHAIRSCALE", "crosshairscale", 0.25, 1.0, 0.125, 2
|
||||
Option "$HUDMNU_CROSSHAIR", "crosshair", "Crosshairs"
|
||||
//ColorPicker "$HUDMNU_CROSSHAIRCOLOR", "crosshaircolor" fixme: Does not exist yet in Raze.
|
||||
Option "$HUDMNU_CROSSHAIRHEALTH", "crosshairhealth", "CrosshairHealthTypes"
|
||||
|
|
Loading…
Reference in a new issue