summaryrefslogtreecommitdiffhomepage
path: root/src/hud.h
AgeCommit message (Collapse)Author
2024-09-08Improve the HUD API slightlyMichael Smith
- Add text size measurement (for centring etc.). - Add a wchar_t equivalent since ushort would be wrong on Linux. Avoid actually using wchar.h because it's a big bloaty header, particularly on Windows.
2024-08-23Fix an old and stupid woopsy in hud.hMichael Smith
This wasn't woz's fault - I did some wrangling of his code and introduced this woopsy without noticing. Thanks to aciidz also, for pointing it out recently. Not touching the copyright years because it's such a stupidly trivial thing - I can't really claim to have done anything substantial here.
2023-12-19Add VGUI HUD overlay drawing featureMatthew Wozniak
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.