diff options
| author | octorock <79596758+octorock@users.noreply.github.com> | 2022-03-05 11:43:58 +0100 |
|---|---|---|
| committer | octorock <79596758+octorock@users.noreply.github.com> | 2022-03-05 19:09:49 +0100 |
| commit | d6bbbf2db6bd078a887138506bec5abcc36b3020 (patch) | |
| tree | ed21da6d5dcf2db20e4022830903b5ba19443c87 /include/map.h | |
| parent | d18fed1fb9d52eb8c4be311d3c55bf4d29893d93 (diff) | |
Improve LayerStruct
Diffstat (limited to 'include/map.h')
| -rw-r--r-- | include/map.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/map.h b/include/map.h index 7c800a5a..52263a5b 100644 --- a/include/map.h +++ b/include/map.h @@ -4,14 +4,14 @@ #include "global.h" typedef struct { - u16* bgControlPtr; // Points to the BgSettings.control field for the bg belonging to this layer? - u16 _4[0x1000]; // tilemap data? <-- gMapDataTop / gMapDataBottom - u8 _2004[0x1000]; // more tilemap data? <-- gUnk_0200D654 / gUnk_02027EB4 - u8 _3004[0x1000]; // more tilemap data? <-- gUnk_0200E654 / gUnk_02028EB4 - u8 _4004[0x1000]; // gMetatileTypesTop, gMetatileTypesBottom - s16 _5004[0x500]; // gUnk_02011654,gUnk_0202BEB4 - // Maybe even include here gMetatilesTop, gUnk_02016654 ? - // gMetatilesBottom, gUnk_02030EB4 + /*0x0000*/ u16* bgControlPtr; // Points to the BgSettings.control field for the bg belonging to this layer? + /*0x0004*/ u16 mapData[0x1000]; // tilemap data? <-- gMapDataTop / gMapDataBottom + /*0x2004*/ u8 collisionData[0x1000]; // more tilemap data? <-- gUnk_0200D654 / gUnk_02027EB4 + /*0x3004*/ u16 mapDataClone[0x1000]; // more tilemap data? <-- gUnk_0200E654 / gUnk_02028EB4 + /*0x5004*/ u16 metatileTypes[0x800]; // gMetatileTypesTop, gMetatileTypesBottom + /*0x6004*/ u16 unkData2[0x800]; // gUnk_02011654,gUnk_0202BEB4 + /*0x7004*/ u16 metatiles[0x2000]; // gMetatilesTop, gMetatilesBottom + /*0xb004*/ u8 unkData3[0x1000]; // gUnk_02016654, gUnk_02030EB4 } LayerStruct; extern LayerStruct gMapTop; |
