Enhancement: Enemy Health Bar (#3035)

* add enemy health bar

* add more cosmetic editor options to health bar

* add tooltip

* fix enemy health texture when no magic bar
This commit is contained in:
Adam Bird
2023-07-12 21:55:24 -04:00
committed by GitHub
parent 37f9c895d6
commit e90c8af452
6 changed files with 243 additions and 9 deletions

View File

@@ -178,6 +178,9 @@ typedef struct Actor {
/* 0x134 */ ActorFunc draw; // Draw Routine. Called by `Actor_Draw`
/* 0x138 */ ActorResetFunc reset;
/* 0x13C */ char dbgPad[0x10]; // Padding that only exists in the debug rom
// #region SOH [General]
/* */ u8 maximumHealth; // Max health value for use with health bars, set on actor init
// #endregion
} Actor; // size = 0x14C
typedef enum {