2021-07-07 16:39:34 +00:00
|
|
|
#ifndef GUARD_MENU_H
|
|
|
|
#define GUARD_MENU_H
|
2021-05-15 23:59:55 +00:00
|
|
|
|
2023-06-27 03:24:47 +00:00
|
|
|
#include "input.h"
|
|
|
|
|
2023-08-04 04:37:49 +00:00
|
|
|
// size: 0x8
|
2023-09-02 05:46:26 +00:00
|
|
|
typedef struct MenuItem
|
2021-05-15 23:59:55 +00:00
|
|
|
{
|
2022-09-16 17:48:13 +00:00
|
|
|
const u8 *text;
|
2023-02-12 17:24:40 +00:00
|
|
|
s32 menuAction; // action??
|
2023-09-02 05:46:26 +00:00
|
|
|
} MenuItem;
|
2021-05-15 23:59:55 +00:00
|
|
|
|
2023-08-04 04:37:49 +00:00
|
|
|
// size: 0x50
|
2023-09-02 05:46:26 +00:00
|
|
|
typedef struct MenuStruct
|
2023-02-14 00:59:10 +00:00
|
|
|
{
|
2023-02-26 16:36:23 +00:00
|
|
|
const u8 *unk0; // header text?
|
2023-09-02 05:46:26 +00:00
|
|
|
/* 0x4 */ const MenuItem *menuItems;
|
2023-02-25 02:14:21 +00:00
|
|
|
const u32 *menuTextColorArray;
|
2023-02-14 00:59:10 +00:00
|
|
|
u16 *unkC;
|
2023-02-16 15:52:11 +00:00
|
|
|
/* 0x10 */ s32 index;
|
2023-09-02 05:46:26 +00:00
|
|
|
/* 0x14 */ MenuInputStruct input;
|
2023-02-16 15:52:11 +00:00
|
|
|
/* 0x48 */ s32 menuAction;
|
2023-02-25 18:21:10 +00:00
|
|
|
bool8 unk4C;
|
|
|
|
bool8 unk4D;
|
|
|
|
bool8 unk4E;
|
2023-09-02 05:46:26 +00:00
|
|
|
} MenuStruct;
|
2023-02-14 00:59:10 +00:00
|
|
|
|
2021-07-07 16:39:34 +00:00
|
|
|
#endif // GUARD_MENU_H
|