diff options
| author | KiritoDv <kiritodev01@gmail.com> | 2024-12-29 00:55:40 -0600 |
|---|---|---|
| committer | KiritoDv <kiritodev01@gmail.com> | 2024-12-29 00:55:40 -0600 |
| commit | e48ef51adc7438970de73c0f3a5a6fc477a566b6 (patch) | |
| tree | 451ef4275f1282aa20e1b181081d82a48c14a8b0 | |
| parent | 3dc592a566b45269ab8289ced518d5075c1a31a7 (diff) | |
Added functionality to draw hud events
| -rw-r--r-- | src/engine/fox_hud.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |
