diff options
author | PikalaxALT <pikalax1@gmail.com> | 2017-05-29 19:12:46 -0400 |
---|---|---|
committer | PikalaxALT <pikalax1@gmail.com> | 2017-05-29 19:12:46 -0400 |
commit | b5f8543486212d937cb74512f595124d398e4d9f (patch) | |
tree | dc2a076b06a213080637e9f45451ef54cb608816 /include | |
parent | e18309037970a8034c4c3022c978bb7122984953 (diff) |
TurnOffTVScreen
Diffstat (limited to 'include')
-rw-r--r-- | include/fieldmap.h | 1 | ||||
-rw-r--r-- | include/global.fieldmap.h | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index 530e15798..1aa99031d 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -2,6 +2,7 @@ #define GUARD_FIELDMAP2_H #include "field_map_obj.h" +extern struct BackupMapData gUnknown_03004870; struct MapHeader *mapconnection_get_mapheader(struct MapConnection *connection); int GetMapBorderIdAt(int x, int y); extern bool8 IsMetatileDirectionallyImpassable(struct MapObject *mapObject, s16 x, s16 y, u8 direction); diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 0b72bbec5..62b699e67 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; |