mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-15 09:36:55 -05:00
48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
#ifndef GUARD_MENU_H
|
|
#define GUARD_MENU_H
|
|
|
|
#include "input.h"
|
|
#include "sprite_oam.h"
|
|
#include "structs/str_text.h"
|
|
|
|
// size: 0x8
|
|
typedef struct MenuItem
|
|
{
|
|
const u8 *text;
|
|
s32 menuAction; // action??
|
|
} MenuItem;
|
|
|
|
// size: 0x50
|
|
typedef struct MenuStruct
|
|
{
|
|
const u8 *unk0; // header text?
|
|
/* 0x4 */ const MenuItem *menuItems;
|
|
const u32 *menuTextColorArray;
|
|
u16 *unkC;
|
|
/* 0x10 */ s32 index;
|
|
/* 0x14 */ MenuInputStruct input;
|
|
/* 0x48 */ s32 menuAction;
|
|
bool8 unk4C;
|
|
bool8 unk4D;
|
|
bool8 unk4E;
|
|
} MenuStruct;
|
|
|
|
// size: 0x30. Seems to be info for a NumericUpDown
|
|
typedef struct unkStructFor8013AA0
|
|
{
|
|
s32 unk0; // chosenValue?
|
|
s32 unk4; // curValue or initialValue
|
|
s32 unk8; // minInclusive?
|
|
s32 unkC; // maxInclusive?
|
|
s32 unk10;
|
|
s32 unk14; // index of unk18? But read as chosenValue..?
|
|
UnkTextStruct2 *unk18;
|
|
s32 unk1C; // width of prompt?
|
|
s32 unk20; // height of prompt?
|
|
u8 unk24; // related to unk10
|
|
u8 unk25; // related to unk10
|
|
u8 unk26;
|
|
SpriteOAM unk28;
|
|
} unkStructFor8013AA0;
|
|
|
|
#endif // GUARD_MENU_H
|