]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Add patch from Juhu/strafehud-features branch: "strafehud: fix small mistakes of...
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Fri, 20 Jan 2023 21:48:34 +0000 (22:48 +0100)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Fri, 20 Jan 2023 21:48:34 +0000 (22:48 +0100)
_hud_common.cfg
qcsrc/client/hud/panel/strafehud.qh

index fc1a41d16411ac8d95507b0a58bbfefb4eea1c51..de7ead2df484d1b7defae8a63d549c5a40918bc2 100644 (file)
@@ -219,7 +219,7 @@ seta hud_panel_strafehud_sonar_pitch_exponent "1" "exponent of the dynamic playb
 seta hud_panel_strafehud_vangle "0" "set to \"1\" to enable the vertical angle indicator"
 seta hud_panel_strafehud_vangle_color "0.75 0.75 0.75" "color of the vertical angle text"
 seta hud_panel_strafehud_vangle_size "1" "size of the vertical angle text (relative to the panel height)"
-seta hud_panel_strafehud_projection "0" "strafehud projection mode, \"0\" = Linear, \"1\" = Perspective, \"2\" = Panoramic"
+seta hud_panel_strafehud_projection "0" "strafehud projection mode, \"0\" = linear, \"1\" = perspective, \"2\" = panoramic"
 
 // hud panel aliases
 alias quickmenu "cl_cmd hud quickmenu ${* ?}"
index d24d30832931f8cfc389c6a633a8989f18fba7ae..50e335db1ec2fe3b039b4095242ec49e534f6066 100644 (file)
@@ -74,7 +74,7 @@ AUTOCVAR_SAVE(hud_panel_strafehud_sonar_pitch_exponent, float, 1, "exponent of t
 AUTOCVAR_SAVE(hud_panel_strafehud_vangle, bool, false, "set to \"1\" to enable the vertical angle indicator");
 AUTOCVAR_SAVE(hud_panel_strafehud_vangle_color, vector, '0.75 0.75 0.75', "color of the vertical angle text");
 AUTOCVAR_SAVE(hud_panel_strafehud_vangle_size, float, 1, "size of the vertical angle text (relative to the panel height)");
-AUTOCVAR_SAVE(hud_panel_strafehud_projection, int, 1, "strafehud projection mode, \"0\" = Linear, \"1\" = Perspective, \"2\" = Panoramic");
+AUTOCVAR_SAVE(hud_panel_strafehud_projection, int, 0, "strafehud projection mode, \"0\" = linear, \"1\" = perspective, \"2\" = panoramic");
 
 void HUD_Panel_DrawStrafeHUD(float, float, float, vector, float, int, int, bool, float);
 vector StrafeHUD_mixColors(vector, vector, float);