diff options
author | YamaArashi <shadow962@live.com> | 2016-09-30 09:54:35 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-30 09:54:35 -0700 |
commit | 302e43fd9124a85d65a91e9a1a32635d87941036 (patch) | |
tree | 4be102b74ad54ddeaa83f1eb0f9a07c06a704277 /include/fieldmap.h | |
parent | 4de46005c370a8fac7137645ffd6f0db42b30d4c (diff) |
menu.h
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index d1da5a7e4..6a0074153 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -16,8 +16,8 @@ struct Tileset struct MapData { - u32 width; - u32 height; + s32 width; + s32 height; void *border; void *map; struct Tileset *primaryTileset; @@ -37,6 +37,14 @@ struct MapObjectTemplate u8 filler_14[0x4]; }; +struct WarpEvent +{ + s16 x, y; + s8 warpId; + s8 mapGroup; + s8 mapNum; +}; + struct MapEvents { u8 mapObjectCount; @@ -45,7 +53,7 @@ struct MapEvents u8 bgEventCount; struct MapObjectTemplate *mapObjects; - void *warps; + struct WarpEvent *warps; void *coordEvents; void *bgEvents; }; @@ -55,7 +63,10 @@ struct MapHeader struct MapData *mapData; struct MapEvents *events; u8 *mapScripts; - // TODO: rest of struct + void *connections; + u16 music; + u16 mapDataId; + u8 filler_14[0x8]; }; struct MapObject |