]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
strafehud: refactor the angle indicator code
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 9 Sep 2024 04:25:03 +0000 (06:25 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Mon, 9 Sep 2024 04:25:03 +0000 (06:25 +0200)
commitbb642cb6f04528cb7fb81ef2aff2698b47e29ff2
treefcf25043677bd0daf5e041a77495862bec5b4108
parent69c8578a3e2604227e36f593d315e55aba388911
strafehud: refactor the angle indicator code

draw each indicator in a separate function call

the code is now simpler and some unnecssary logic got removed
qcsrc/client/hud/panel/strafehud.qc
qcsrc/client/hud/panel/strafehud/core.qc
qcsrc/client/hud/panel/strafehud/core.qh