summaryrefslogtreecommitdiff
path: root/src/dungeon_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dungeon_util.c')
-rw-r--r--src/dungeon_util.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/dungeon_util.c b/src/dungeon_util.c
index 3594274..5b6bd5a 100644
--- a/src/dungeon_util.c
+++ b/src/dungeon_util.c
@@ -3,6 +3,17 @@
#include "dungeon_map_access.h"
+const struct Position gAdjacentTileOffsets[NUM_DIRECTIONS] = {
+ {0, 1},
+ {1, 1},
+ {1, 0},
+ {1, -1},
+ {0, -1},
+ {-1, -1},
+ {-1, 0},
+ {-1, 1}
+};
+
extern struct MapTile* GetMapEntity(s16, s16);
bool8 EntityExists(struct DungeonEntity *entity)