-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add jumpspeed HUD like in BXT #136
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not particularly thrilled about the second _below_cross
, but the alternative is essentially to merge jumpspeed into speedometer and I'm not sure that's good either. Or maybe there aren't actually any players who want just one but not the other? Then they can be merged.
I guess getting rid of the hud_jumpsped_below_cross cvar and syncing the position with hud_speedometer_below_cross could be another option without merging it with hud_speedometer.cpp altogether, wdyt? |
Yeah but that's also a bit weird if you have just jumpspeed on and want to move it. |
Thanks! |
Based on YaLTeR/OpenAG#136
Based on YaLTeR/OpenAG#136
Based on YaLTeR/OpenAG#136
* Add jumpspeed HUD like in BXT * Get rid of static members * Revert hud_jumpspeed_below_cross removal
* Add jumpspeed HUD like in BXT * Get rid of static members * Revert hud_jumpspeed_below_cross removal
Closes #133
Stolen from BXT, based on hud_speedometer.cpp.
Normal Y pos based on the original BXT (1 "px" above hud_speedometer), for "below cross" I've decided to have it under hud_speedometer for simplicity (i.e. not dynamically moving based on
hud_speedometer_below_cross
's value)Not too sure about the
static float
s and what not in the code, so do tell me, if it somehow doesn't make sense here, but does in BXT.Video:
https://user-images.githubusercontent.com/5108747/123566130-3900a100-d7bf-11eb-88d1-b09b33f0f514.mp4