summaryrefslogtreecommitdiff
path: root/include/structures.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/structures.h')
-rw-r--r--include/structures.h20
1 files changed, 17 insertions, 3 deletions
diff --git a/include/structures.h b/include/structures.h
index 8de98b91..27287719 100644
--- a/include/structures.h
+++ b/include/structures.h
@@ -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