Added functionality to draw hud events

This commit is contained in:
KiritoDv 2024-12-29 00:55:40 -06:00 committed by Lywx
parent 8462aee14e
commit f26c94c882

View File

@ -3654,6 +3654,11 @@ void HUD_Draw(void) {
s32 i; s32 i;
s32 goldRings; s32 goldRings;
bool medalStatus; bool medalStatus;
CALL_EVENT(DrawGlobalHUDPreEvent);
if (DrawGlobalHUDPreEvent_.event.cancelled){
return;
}
gDPSetTextureFilter(gMasterDisp++, G_TF_POINT); gDPSetTextureFilter(gMasterDisp++, G_TF_POINT);
if (D_hud_80161730 == 0) { if (D_hud_80161730 == 0) {
@ -3764,6 +3769,7 @@ void HUD_Draw(void) {
HUD_RadioDamage(); HUD_RadioDamage();
HUD_PauseScreen_Update(); HUD_PauseScreen_Update();
gDPSetTextureFilter(gMasterDisp++, G_TF_BILERP); gDPSetTextureFilter(gMasterDisp++, G_TF_BILERP);
CALL_EVENT(DrawGlobalHUDPostEvent);
} }
void FoBase_Draw(Boss* this) { void FoBase_Draw(Boss* this) {