mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-01-23 13:35:11 +03:00
Added two new events for boss health and edge arrows
This commit is contained in:
parent
f26c94c882
commit
0ca0252d61
@ -568,10 +568,14 @@ void Game_Update(void) {
|
||||
Radio_Draw();
|
||||
if (gShowHud) {
|
||||
HUD_Draw();
|
||||
CALL_CANCELLABLE_EVENT(DrawEdgeArrowsHUDEvent){
|
||||
HUD_EdgeArrows_Update();
|
||||
}
|
||||
}
|
||||
CALL_CANCELLABLE_EVENT(DrawBossHealthHUDEvent){
|
||||
HUD_DrawBossHealth();
|
||||
}
|
||||
}
|
||||
} else {
|
||||
for (i = 0; i < gCamCount; i++) {
|
||||
if (gPlayer[i].dmgEffectTimer != 0) {
|
||||
|
@ -15,6 +15,8 @@ DEFINE_EVENT(DrawIncomingMsgHUDEvent);
|
||||
DEFINE_EVENT(DrawGoldRingsHUDEvent);
|
||||
DEFINE_EVENT(DrawLivesCounterHUDEvent);
|
||||
DEFINE_EVENT(DrawTrainingRingPassCountHUDEvent);
|
||||
DEFINE_EVENT(DrawEdgeArrowsHUDEvent);
|
||||
DEFINE_EVENT(DrawBossHealthHUDEvent);
|
||||
|
||||
DEFINE_EVENT(DrawGlobalHUDPreEvent);
|
||||
DEFINE_EVENT(DrawGlobalHUDPostEvent);
|
@ -172,6 +172,8 @@ void PortEnhancements_Init() {
|
||||
REGISTER_EVENT(DrawGoldRingsHUDEvent);
|
||||
REGISTER_EVENT(DrawLivesCounterHUDEvent);
|
||||
REGISTER_EVENT(DrawTrainingRingPassCountHUDEvent);
|
||||
REGISTER_EVENT(DrawEdgeArrowsHUDEvent);
|
||||
REGISTER_EVENT(DrawBossHealthHUDEvent);
|
||||
REGISTER_EVENT(DrawGlobalHUDPreEvent);
|
||||
REGISTER_EVENT(DrawGlobalHUDPostEvent);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user