#ifndef M_PLAY_H #define M_PLAY_H #include "types.h" #include "game.h" #include "libultra/ultratypes.h" #ifdef __cplusplus extern "C" { #endif /* sizeof(struct game_play_s) == 0x2600 */ typedef struct game_play_s { /* 0x0000 */ GAME game; // TODO: finish /* 0x00E0 */ u8 d[0x1CC0]; /* 0x1DA0 */ int isPause; /* 0x1DA4 */ u8 _temp[0x268]; /* 0x200C */ MtxF matrix; /* 0x204C */ u8 _204C[0x20D0-0x204C]; /* 0x20D0 */ u8 fb_fade_type; /* 0x20D1 */ u8 fb_wipe_type; /* 0x20D2 */ u8 fb_mode; /* 0x20D3 */ u8 fb_wipe_mode; /* 0x20D4 */ u8 _20D4[0x2600 - 0x20D4]; } GAME_PLAY; extern void play_init(GAME_PLAY* play); extern void play_cleanup(GAME_PLAY* play); #ifdef __cplusplus } #endif #endif