diff options
Diffstat (limited to 'include/main.h')
-rwxr-xr-x | include/main.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/main.h b/include/main.h new file mode 100755 index 0000000..6cc29c5 --- /dev/null +++ b/include/main.h @@ -0,0 +1,22 @@ +#ifndef GUARD_MAIN_H +#define GUARD_MAIN_H + +#include "global.h" + +typedef void (*StateFunc)(void); + +struct Main +{ + /*0x00*/u8 filler0[0x2]; + /*0x02*/u8 mainState; + /*0x03*/u8 subState; + /*0x04*/u8 filler4[0x12]; + /*0x16*/u16 unk16; + /*0x18*/u8 filler18[0x28]; + /*0x40*/int unk40; +}; + +extern struct Main gMain; +extern StateFunc gMainFuncs[]; + +#endif // GUARD_MAIN_H |