Start board/bowser.c
This commit is contained in:
parent
cf99230fef
commit
eeff144f1c
7 changed files with 500 additions and 11 deletions
|
|
@ -15,7 +15,7 @@ void BoardBooHouseHostSet(s16);
|
|||
s32 BoardCameraRotGet(Vec*);
|
||||
s32 BoardIsKill(void);
|
||||
|
||||
void BoardBowserExec(s32 player, s32 space);
|
||||
s32 BoardBowserExec(s32 player, s32 space);
|
||||
void BoardFortuneExec(s32 player, s32 space);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -72,6 +72,8 @@ extern omObjData *boardMainObj;
|
|||
typedef void (*BoardFunc)(void);
|
||||
|
||||
typedef void (*BoardLightHook)(void);
|
||||
typedef void (*BoardBowserHook)(s32 beforeF);
|
||||
|
||||
typedef void (*BoardCameraPosCalcFunc)(BoardCameraData *camera);
|
||||
|
||||
typedef void (*BoardTurnStartHook)(s32 player, s32 space);
|
||||
|
|
@ -79,6 +81,7 @@ typedef void (*BoardTurnStartHook)(s32 player, s32 space);
|
|||
extern BoardTurnStartHook boardTurnStartFunc;
|
||||
extern void (*boardStarShowNextHook)(void);
|
||||
extern void (*boardStarGiveHook)(void);
|
||||
extern BoardBowserHook boardBowserHook;
|
||||
extern BoardFunc boardTurnFunc;
|
||||
extern BoardLightHook boardLightResetHook;
|
||||
extern BoardLightHook boardLightSetHook;
|
||||
|
|
|
|||
|
|
@ -40,8 +40,8 @@ typedef struct system_state {
|
|||
/* 0x10 */ u8 ATTRIBUTE_ALIGN(4) board_data[32];
|
||||
/* 0x30 */ u8 mess_delay;
|
||||
/* 0x31 */ struct {
|
||||
u8 field31_bit0 : 4;
|
||||
u8 field31_bit4 : 4;
|
||||
u8 bowser_loss : 4;
|
||||
u8 bowser_event : 4;
|
||||
};
|
||||
/* 0x32 */ s8 unk_32;
|
||||
/* 0x34 */ u16 mg_next;
|
||||
|
|
@ -98,7 +98,7 @@ typedef struct player_state {
|
|||
/* 0x22 */ s16 coins_max;
|
||||
/* 0x24 */ s16 coins_battle;
|
||||
/* 0x26 */ s16 unk_26;
|
||||
/* 0x28 */ s16 coins_mg_gain;
|
||||
/* 0x28 */ s16 coin_gain;
|
||||
/* 0x2A */ s16 stars;
|
||||
/* 0x2C */ s16 stars_max;
|
||||
/* 0x2E */ char unk_2E[2];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue