diff options
| author | PikalaxALT <pikalaxalt@gmail.com> | 2019-01-07 08:54:56 -0500 | 
|---|---|---|
| committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-01-07 08:54:56 -0500 | 
| commit | bc79312d48781a35597705bf6663ac2a39598873 (patch) | |
| tree | 386ec4bbf12ad8f11deedab94bc38a1680a91df0 /include | |
| parent | 08ffdce1b642dfc00080f99578049b8c3ddfd7e9 (diff) | |
Start decomping fieldmap
Diffstat (limited to 'include')
| -rw-r--r-- | include/fieldmap.h | 2 | ||||
| -rw-r--r-- | include/global.fieldmap.h | 10 | 
2 files changed, 7 insertions, 5 deletions
| diff --git a/include/fieldmap.h b/include/fieldmap.h index c5abdb2e1..fe2b5a928 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -3,6 +3,8 @@  #include "global.h" +#define VIRTUAL_MAP_SIZE 0x2800 +  extern struct MapCoords {      int width;      int height; diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index ed5054b7d..3b3648121 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -67,8 +67,8 @@ struct MapData  struct BackupMapData  { -    s32 width; -    s32 height; +    s32 Xsize; +    s32 Ysize;      u16 *map;  }; @@ -149,9 +149,9 @@ struct MapEvents  struct MapConnection  {   /*0x00*/ u8 direction; - /*0x01*/ u32 offset; - /*0x05*/ u8 mapGroup; - /*0x06*/ u8 mapNum; + /*0x04*/ u32 offset; + /*0x08*/ u8 mapGroup; + /*0x09*/ u8 mapNum;  };  struct MapConnections | 
