mirror of
https://github.com/zeldaret/tmc
synced 2026-06-18 23:37:10 -04:00
Fix palette groups
This commit is contained in:
@@ -71,6 +71,7 @@ typedef struct {
|
||||
/**
|
||||
* HUD structure.
|
||||
*/
|
||||
// TODO Rather a structure more generally about gfx?
|
||||
typedef struct {
|
||||
/*0x000*/ u8 nextToLoad;
|
||||
/*0x001*/ u8 _1;
|
||||
|
||||
+17
-3
@@ -90,9 +90,23 @@ typedef struct {
|
||||
u32* firstTile;
|
||||
} UIElement;
|
||||
|
||||
typedef enum {
|
||||
HUD_HIDE_NONE,
|
||||
HUD_HIDE_1 = 0x1, // A
|
||||
HUD_HIDE_2 = 0x2, // B
|
||||
HUD_HIDE_4 = 0x4, // R
|
||||
HUD_HIDE_8 = 0x8,
|
||||
HUD_HIDE_HEARTS = 0x10,
|
||||
HUD_HIDE_CHARGE_BAR = 0x20,
|
||||
HUD_HIDE_RUPEES = 0x40,
|
||||
HUD_HIDE_KEYS = 0x80,
|
||||
|
||||
HUD_HIDE_ALL = 0xff
|
||||
} HUDHideFlags;
|
||||
|
||||
typedef struct {
|
||||
u8 unk_0;
|
||||
u8 unk_1;
|
||||
u8 hideFlags;
|
||||
u8 unk_2;
|
||||
u8 health;
|
||||
u8 maxHealth;
|
||||
@@ -125,8 +139,8 @@ typedef struct {
|
||||
u8 unk_32;
|
||||
u8 unk_33;
|
||||
UIElement elements[MAX_UI_ELEMENTS];
|
||||
} struct_0200AF00;
|
||||
extern struct_0200AF00 gUnk_0200AF00;
|
||||
} HUD;
|
||||
extern HUD gHUD;
|
||||
|
||||
#define MAX_GFX_SLOTS 44
|
||||
|
||||
|
||||
Reference in New Issue
Block a user