summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fieldmap.h2
-rw-r--r--include/global.fieldmap.h10
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