diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-02-15 17:04:55 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-15 17:04:55 -0600 |
commit | cfec30413c36f3a571d80162796c11a030f42767 (patch) | |
tree | 4a6cb4912d0ecd13efa6c0c887d850853763d875 /include/global.h | |
parent | fcf3f97da94515a34eda2dc1b564f4bc01adc383 (diff) | |
parent | 824699f505d373b1cc1247347b9c69d6ef1ce8ca (diff) |
Merge pull request #209 from DizzyEggg/decompile_overworld
Decompile overworld
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 35 |
1 files changed, 32 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h index 4a71a8a87..8c56c0a58 100644 --- a/include/global.h +++ b/include/global.h @@ -144,6 +144,18 @@ struct UCoords16 u16 y; }; +struct Coords32 +{ + s32 x; + s32 y; +}; + +struct UCoords32 +{ + u32 x; + u32 y; +}; + struct Time { /*0x00*/ s16 days; @@ -618,12 +630,12 @@ struct SaveBlock1 /*0x04*/ struct WarpData location; /*0x0C*/ struct WarpData warp1; /*0x14*/ struct WarpData warp2; - /*0x1C*/ struct WarpData warp3; + /*0x1C*/ struct WarpData lastHealLocation; /*0x24*/ struct WarpData warp4; - /*0x2C*/ u16 battleMusic; + /*0x2C*/ u16 savedMusic; /*0x2E*/ u8 weather; /*0x2F*/ u8 filler_2F; - /*0x30*/ u8 flashUsed; + /*0x30*/ u8 flashLevel; /*0x32*/ u16 mapDataId; /*0x34*/ u16 mapView[0x100]; /*0x234*/ u8 playerPartyCount; @@ -705,6 +717,23 @@ struct SaveBlock1 extern struct SaveBlock1* gSaveBlock1Ptr; +struct MapPosition +{ + s16 x; + s16 y; + u8 height; +}; + +struct UnkStruct_8054FF8 +{ + u8 a; + u8 b; + u8 c; + u8 d; + struct MapPosition sub; + u16 field_C; +}; + struct Bitmap // TODO: Find a better spot for this { u8* pixels; |