summaryrefslogtreecommitdiff
path: root/include/list_menu.h
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2017-11-17 14:25:45 -0600
committerGitHub <noreply@github.com>2017-11-17 14:25:45 -0600
commit3883c399912a35ca4eca3cbee7cb0c46c81e8d76 (patch)
treee775f8d4d5e30bbfb7ef3b5ca9dcf62171d919bb /include/list_menu.h
parenta98c6bf210cec0591badb51be1e472c5fb4f1f1a (diff)
parent1b7246395d0d7e47834f3b9c4f9f016a906a9953 (diff)
Merge pull request #114 from DizzyEggg/decompile_daycare
Decompile daycare
Diffstat (limited to 'include/list_menu.h')
-rw-r--r--include/list_menu.h30
1 files changed, 16 insertions, 14 deletions
diff --git a/include/list_menu.h b/include/list_menu.h
index 93005e482..0249b06af 100644
--- a/include/list_menu.h
+++ b/include/list_menu.h
@@ -5,31 +5,33 @@
// Exported RAM declarations
-struct ListMenuItem {
+struct ListMenuItem
+{
const u8 *unk_00;
s32 unk_04;
};
struct ListMenu;
-struct ListMenuTemplate {
- struct ListMenuItem *unk_00;
+struct ListMenuTemplate
+{
+ const struct ListMenuItem *items;
void (* unk_04)(u32, bool8, struct ListMenu *);
void (* unk_08)(u8, s32, u8);
- u16 unk_0c;
- u16 unk_0e;
+ u16 totalItems;
+ u16 maxShowed;
u8 unk_10;
u8 unk_11;
u8 unk_12;
- u8 unk_13;
- u32 unk_14_0:4;
- u32 unk_14_4:4;
- u32 unk_15_0:4;
- u32 unk_15_4:4;
- u32 unk_16_0:1;
- u32 unk_16_1:6;
- u32 unk_16_7:1;
- u32 unk_17_0:6;
+ u8 cursor_Y;
+ u32 upText_Y:4; // x1, x2, x4, x8 = xF
+ u32 cursorColor:4; // x10, x20, x40, x80 = xF0
+ u32 fillColor:4; // x100, x200, x400, x800 = xF00
+ u32 cursorShadowColor:4; // x1000, x2000, x4000, x8000 = xF000
+ u32 unk_16_0:1; // x10000
+ u32 spaceBetweenItems:6; // x20000, x40000, x80000, x100000, x200000, x400000 = x7E0000
+ u32 unk_16_7:1; // x800000
+ u32 unk_17_0:6; // x1000000, x2000000, x4000000, x8000000, x10000000, x20000000 = x3F000000
};
struct ListMenu {