diff options
author | yenatch <yenatch@gmail.com> | 2017-06-12 19:01:41 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 19:01:41 -0400 |
commit | e09e1da6c252e17cf6db429ad142b05dbf156548 (patch) | |
tree | 433367371faa7567a4214adf29c5853170f5585b /include/global.fieldmap.h | |
parent | b741c626e72a2c52351fddbbfc536f66183d009f (diff) | |
parent | e085596d7d63c8e3814192a1a8c628810cc89eda (diff) |
Merge pull request #314 from PikalaxALT/tv
Finish decompilation of tv.s
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r-- | include/global.fieldmap.h | 33 |
1 files changed, 20 insertions, 13 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 0b72bbec5..a0fe0e6ab 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -63,6 +63,13 @@ struct MapData struct Tileset *secondaryTileset; }; +struct BackupMapData +{ + s32 width; + s32 height; + u16 *map; +}; + struct MapObjectTemplate { /*0x00*/ u8 localId; @@ -153,20 +160,20 @@ struct MapConnections struct MapHeader { - struct MapData *mapData; - struct MapEvents *events; - u8 *mapScripts; - struct MapConnections *connections; - u16 music; - u16 mapDataId; - u8 name; - u8 cave; - u8 weather; + /* 0x00 */ struct MapData *mapData; + /* 0x04 */ struct MapEvents *events; + /* 0x08 */ u8 *mapScripts; + /* 0x0C */ struct MapConnections *connections; + /* 0x10 */ u16 music; + /* 0x12 */ u16 mapDataId; + /* 0x14 */ u8 name; + /* 0x15 */ u8 cave; + /* 0x16 */ u8 weather; /* 0x17 */ u8 mapType; - u8 filler_18; - u8 escapeRope; - u8 flags; - u8 battleType; + /* 0x18 */ u8 filler_18; + /* 0x19 */ u8 escapeRope; + /* 0x1A */ u8 flags; + /* 0x1B */ u8 battleType; }; struct MapObject |