Document mgInfoTbl more

This commit is contained in:
gamemasterplc 2024-02-03 13:40:58 -06:00
parent 828ad3ba56
commit a19c0433de
6 changed files with 597 additions and 665 deletions

View file

@ -87,8 +87,8 @@ s32 BoardIsKill(void);
void BoardPauseDisableSet(s32 value);
s32 BoardPauseDisableGet();
void BoardSaveInit(s32 board);
void BoardStoryConfigSet(s32 mg_type, s32 diff_story);
void BoardPartyConfigSet(s32 team, s32 bonus_star, s32 mg_type, s32 max_turn, s32 p1_handicap, s32 p2_handicap, s32 p3_handicap, s32 p4_handicap);
void BoardStoryConfigSet(s32 mg_list, s32 diff_story);
void BoardPartyConfigSet(s32 team, s32 bonus_star, s32 mg_list, s32 max_turn, s32 p1_handicap, s32 p2_handicap, s32 p3_handicap, s32 p4_handicap);
s32 BoardTurnNext(void);
void BoardNextOvlSet(OverlayID overlay);
s32 BoardStartCheck(void);

View file

@ -21,7 +21,7 @@ typedef struct system_state {
u16 bonus_star : 1;
u16 explain_mg : 1;
u16 show_com_mg : 1;
u16 mg_type : 2;
u16 mg_list : 2;
u16 mess_speed : 2;
u16 save_mode : 2;
};
@ -45,7 +45,7 @@ typedef struct system_state {
};
/* 0x32 */ s8 unk_32;
/* 0x34 */ u16 mg_next;
/* 0x36 */ s16 mg_next_extra;
/* 0x36 */ s16 mg_next_type;
/* 0x38 */ u16 unk_38;
/* 0x3A */ u8 flag[3][16];
/* 0x6A */ u8 unk_6A[0x72];
@ -157,9 +157,9 @@ static inline s32 GWLanguageGet(void)
return GWGameStat.language;
}
static inline s32 GWMGTypeGet(void)
static inline s32 GWMGListGet(void)
{
return GWSystem.mg_type;
return GWSystem.mg_list;
}
static inline s32 GWMessSpeedGet(void)

View file

@ -9,16 +9,11 @@ typedef struct mg_info {
u16 ovl;
u8 type;
u8 flag;
u16 unk_4;
u16 unk_6;
s8 unk_4;
u32 name_mess;
u32 data_dir;
u32 inst_pic;
u32 unk_14;
u32 unk_18;
u32 mg_pic;
u32 unk_20;
u32 unk_24;
u32 inst_pic[3];
u32 mg_pic[3];
u32 rules_mess;
u32 control_mess[2];
u32 advice_mess;