summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
Diffstat (limited to 'map.c')
-rw-r--r--map.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/map.c b/map.c
index 1c349e40f..b67355ecf 100644
--- a/map.c
+++ b/map.c
@@ -14,3 +14,10 @@ byte _map3_hi [MAP_SIZE];
byte _map_owner [MAP_SIZE];
uint16 _map2 [MAP_SIZE];
byte _map_extra_bits [MAP_SIZE / 4];
+
+const TileIndexDiff _tileoffs_by_dir[4] = {
+ TILE_XY(-1, 0),
+ TILE_XY(0, 1),
+ TILE_XY(1, 0),
+ TILE_XY(0, -1),
+};