diff options
author | 2025-04-05 16:41:32 +0100 | |
---|---|---|
committer | 2025-04-06 20:59:36 +0100 | |
commit | 7ac57c976d95bce5a7a98e0f269e4cd3d61f3055 (patch) | |
tree | fb31a7fa5716579dadf437ebcf799fac62634a2d /src/hud.h | |
parent | 44eb8344a000dd315d5e21039871f353441601af (diff) | |
download | sst-7ac57c976d95bce5a7a98e0f269e4cd3d61f3055.tar.gz sst-7ac57c976d95bce5a7a98e0f269e4cd3d61f3055.zip |
Pass screen width and height into HudPaint events
This makes it unnecessary to call hud_screensize in basically
every handler.
Diffstat (limited to 'src/hud.h')
-rw-r--r-- | src/hud.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ typedef int hud_wchar; * Emitted when the game HUD is being drawn. Allows features to draw their own * additional overlays atop the game's standard HUD. */ -DECL_EVENT(HudPaint, void) +DECL_EVENT(HudPaint, int /*width*/, int /*height*/) /* Font style flags */ #define HUD_FONT_ITALIC 1 |