summaryrefslogtreecommitdiff
path: root/src/hud.c
Commit message (Collapse)AuthorAgeFilesLines
* Revise syntax macros and add a ton of branch hintsGravatar Michael Smith 2024-08-231-7/+12
| | | | | | | | | My new programming style is branch hints. All non-confusing branches must be hinted when I can be bothered. It's faster, sometimes, maybe. Also, start trying to use more signed sizes in at least some of the places where it makes sense. Unsigned sizes are surprisingly error-prone!
* Rethink mem_loadoffset, and consequently, kill itGravatar Michael Smith 2024-01-211-1/+1
| | | | | | | | | Suggested by bill. Having something semantically pointer-sized that's only ever used for stuff that's always 32-bit doesn't really make sense. Note that I intentionally did not add a copyright line for myself in hud.c because, I mean, come on. I'll just say I waive any claim to that tiny trivial change.
* Add VGUI HUD overlay drawing featureGravatar Matthew Wozniak 2023-12-191-0/+194
Currently only supports Orange Box and Left 4 Dead branches. There's quite a large amount of gamedata involved in making this work, and figuring it out for the likes of Portal 2 doesn't seem like a major priority at the moment.