summaryrefslogtreecommitdiff
path: root/include/list_menu.h
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-12-03 13:39:11 -0500
committerGitHub <noreply@github.com>2019-12-03 13:39:11 -0500
commitbc0fe11d163da1131daf63bdeb2abcba788f6036 (patch)
treee0f649059b6b506b957ad378c9c8283b57380430 /include/list_menu.h
parent6f127dca8f6f4462d6f50807a8456316340d674f (diff)
parent8d0618778125e8260021652d369584d82a8cdf39 (diff)
Merge pull request #169 from ghoulslash/shop
Shop
Diffstat (limited to 'include/list_menu.h')
-rw-r--r--include/list_menu.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/include/list_menu.h b/include/list_menu.h
index e688c474f..94a49d2c2 100644
--- a/include/list_menu.h
+++ b/include/list_menu.h
@@ -30,25 +30,25 @@ struct ListMenu;
struct ListMenuTemplate
{
- const struct ListMenuItem *items;
- void (* moveCursorFunc)(s32 itemIndex, bool8 onInit, struct ListMenu *list);
- void (* itemPrintFunc)(u8 windowId, s32 itemId, u8 y);
- u16 totalItems;
- u16 maxShowed;
- u8 windowId;
- u8 header_X;
- u8 item_X;
- u8 cursor_X;
- u8 upText_Y:4; // x1, x2, x4, x8 = xF
- u8 cursorPal:4; // x10, x20, x40, x80 = xF0
- u8 fillValue:4; // x1, x2, x4, x8 = xF
- u8 cursorShadowPal:4; // x10, x20, x40, x80 = xF0
- u8 lettersSpacing:3;
- u8 itemVerticalPadding:3;
- u8 scrollMultiple:2; // x40, x80 = xC0
- u8 fontId:6; // x1, x2, x4, x8, x10, x20 = x3F
- u8 cursorKind:2; // x40, x80
-};
+ /*0x00*/ const struct ListMenuItem *items;
+ /*0x04*/ void (* moveCursorFunc)(s32 itemIndex, bool8 onInit, struct ListMenu *list);
+ /*0x08*/ void (* itemPrintFunc)(u8 windowId, s32 itemId, u8 y);
+ /*0x0C*/ u16 totalItems;
+ /*0x0E*/ u16 maxShowed;
+ /*0x10*/ u8 windowId;
+ /*0x11*/ u8 header_X;
+ /*0x12*/ u8 item_X;
+ /*0x13*/ u8 cursor_X;
+ /*0x14*/ u8 upText_Y:4; // x1, x2, x4, x8 = xF
+ u8 cursorPal:4; // x10, x20, x40, x80 = xF0
+ /*0x15*/ u8 fillValue:4; // x1, x2, x4, x8 = xF
+ u8 cursorShadowPal:4; // x10, x20, x40, x80 = xF0
+ /*0x16*/ u8 lettersSpacing:3;
+ u8 itemVerticalPadding:3;
+ u8 scrollMultiple:2; // x40, x80 = xC0
+ /*0x17*/ u8 fontId:6; // x1, x2, x4, x8, x10, x20 = x3F
+ u8 cursorKind:2; // x40, x80
+}; /* size = 0x18 */
struct ListMenu
{