]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Use proper angles for strafehud calculations
authorotta8634 <k9wolf@pm.me>
Tue, 3 Sep 2024 06:41:39 +0000 (14:41 +0800)
committerotta8634 <k9wolf@pm.me>
Tue, 3 Sep 2024 06:41:39 +0000 (14:41 +0800)
commit64d26b68b9685601ad91cbe06b100bd9cedf45a1
treec37ad2f2e1efbd583a9b252f659937020093d1e6
parent13a2778327c1c854d458f87261bcbe14cfbc56f8
Use proper angles for strafehud calculations

Previously an incorrect value was used for the accel-deaccel edge,
and for preaccel when on-ground
Consequently, a new cvar (hud_panel_strafehud_onground_mode) is required
to handle how to draw the hud when onground at high speed
_hud_common.cfg
qcsrc/client/hud/panel/strafehud.qc
qcsrc/client/hud/panel/strafehud.qh