summaryrefslogtreecommitdiff
path: root/include/main.h
blob: 6cc29c5caeb9496cd699bfe635680fb365e0d444 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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