aboutsummaryrefslogtreecommitdiff
path: root/src/hud.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove years from copyright headersGravatar Michael Smith 2025-04-071-2/+2
| | | | | | | | They're legally unnecessary as far as I know, and kind of annoying to maintain on a long-term basis. This was done with the consent of all 3 other contributors, in case anyone was wondering.
* Pass screen width and height into HudPaint eventsGravatar Michael Smith 2025-04-061-1/+1
| | | | | This makes it unnecessary to call hud_screensize in basically every handler.
* Improve the HUD API slightlyGravatar Michael Smith 2024-09-081-3/+14
| | | | | | | - 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.
* Fix an old and stupid woopsy in hud.hGravatar Michael Smith 2024-08-231-1/+1
| | | | | | | | | | 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.
* Add VGUI HUD overlay drawing featureGravatar Matthew Wozniak 2023-12-191-0/+72
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.