diff options
author | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
---|---|---|
committer | Marcus Huderle <huderlem@gmail.com> | 2018-10-15 19:57:26 -0500 |
commit | c028df7ce77d8a2e4ba528012ef24e65a17aa5ca (patch) | |
tree | 61fa13a25f0dd1bd3f2d2f47931f99a4e6e8d4bf /include/main.h | |
parent | 5a87582cc10fe330b89733a58eef50c27b0a6877 (diff) |
Decompile a couple functions in titlescreen, and label gMain
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 |