mirror of
https://github.com/pret/pmd-red.git
synced 2026-04-17 10:36:50 -05:00
46 lines
892 B
C
46 lines
892 B
C
#ifndef GUARD_MAILBOX_H
|
|
#define GUARD_MAILBOX_H
|
|
|
|
#include "menu.h"
|
|
#include "text.h"
|
|
#include "constants/mailbox.h"
|
|
|
|
struct unkStruct_203B304
|
|
{
|
|
// size: 0xB6 << 1
|
|
u32 state;
|
|
u32 fallbackState;
|
|
u8 mailboxIndex;
|
|
u8 mailIndex;
|
|
u32 unkC;
|
|
u8 fill10[0x50 - 0x10];
|
|
u8 unk50;
|
|
u8 fill51[0x64 - 0x51];
|
|
u32 menuAction1;
|
|
u32 menuAction2;
|
|
struct MenuStruct unk6C;
|
|
struct MenuItem unkBC[8];
|
|
u16 unkFC[8];
|
|
struct UnkTextStruct2 unk10C[4];
|
|
};
|
|
|
|
extern void SetMailboxState(u32);
|
|
extern s32 GetNumAcceptedJobs(void);
|
|
|
|
enum MailBoxStates {
|
|
INITIALIZE_MAILBOX,
|
|
MAIN_MAILBOX_MENU,
|
|
// 2 is ???
|
|
MAILBOX_EXIT = 3,
|
|
MAIL_MENU = 4,
|
|
MAIL_MENU_1 = 5,
|
|
MAIL_ACTION_MENU = 6,
|
|
MAIL_INFO = 7,
|
|
JOB_LIST_MENU = 8,
|
|
PKMN_NEWS_MENU = 0x9,
|
|
PKMN_NEWS_MENU_1 = 0xA,
|
|
DISPLAY_SEL_PKMN_NEWS = 0xB,
|
|
};
|
|
|
|
#endif // GUARD_MAILBOX_H
|