summaryrefslogtreecommitdiff
path: root/include/global.fieldmap.h
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2016-12-11 14:18:53 -0800
committerGitHub <noreply@github.com>2016-12-11 14:18:53 -0800
commit0d33462f7a9a3295da2706a3b70802d994c75268 (patch)
tree5b47c62e34d667ea4ac0affd9c80ccdc6415e407 /include/global.fieldmap.h
parentc7b4ec3cdf5fce8d48f73166d08c37aaaaac98ab (diff)
parent8cac5f582da213ee1349892c7d42942e0e00e402 (diff)
Merge pull request #123 from yenatch/fieldmap
Decompile src/fieldmap.c
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r--include/global.fieldmap.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index 68a4f9322..9bcd9c3e7 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -3,10 +3,10 @@
enum
{
- CONNECTION_DOWN = 1,
- CONNECTION_UP,
- CONNECTION_LEFT,
- CONNECTION_RIGHT,
+ CONNECTION_SOUTH = 1,
+ CONNECTION_NORTH,
+ CONNECTION_WEST,
+ CONNECTION_EAST,
CONNECTION_DIVE,
CONNECTION_EMERGE
};
@@ -28,8 +28,8 @@ struct MapData
{
s32 width;
s32 height;
- void *border;
- void *map;
+ u16 *border;
+ u16 *map;
struct Tileset *primaryTileset;
struct Tileset *secondaryTileset;
};
@@ -91,8 +91,8 @@ struct MapConnection
{
u8 direction;
u32 offset;
- s8 mapGroup;
- s8 mapNum;
+ u8 mapGroup;
+ u8 mapNum;
};
struct MapConnections