From f26c94c882244e683ae947a7e0359577010f3a51 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Sun, 29 Dec 2024 00:55:40 -0600 Subject: [PATCH] Added functionality to draw hud events --- src/engine/fox_hud.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/engine/fox_hud.c b/src/engine/fox_hud.c index 98fea7e4..8d5df276 100644 --- a/src/engine/fox_hud.c +++ b/src/engine/fox_hud.c @@ -3654,6 +3654,11 @@ void HUD_Draw(void) { s32 i; s32 goldRings; bool medalStatus; + CALL_EVENT(DrawGlobalHUDPreEvent); + if (DrawGlobalHUDPreEvent_.event.cancelled){ + return; + } + gDPSetTextureFilter(gMasterDisp++, G_TF_POINT); if (D_hud_80161730 == 0) { @@ -3764,6 +3769,7 @@ void HUD_Draw(void) { HUD_RadioDamage(); HUD_PauseScreen_Update(); gDPSetTextureFilter(gMasterDisp++, G_TF_BILERP); + CALL_EVENT(DrawGlobalHUDPostEvent); } void FoBase_Draw(Boss* this) {