summaryrefslogtreecommitdiff
path: root/src/map_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map_func.h')
-rw-r--r--src/map_func.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map_func.h b/src/map_func.h
index 932e2f8fd..038942cd9 100644
--- a/src/map_func.h
+++ b/src/map_func.h
@@ -431,4 +431,9 @@ static inline TileIndex RandomTileSeed(uint32 r)
*/
#define RandomTile() RandomTileSeed(Random())
+/**
+ * Finds the distance for the closest tile with water/land given a tile
+ */
+uint GetClosestWaterDistance(TileIndex tile, bool water);
+
#endif /* MAP_FUNC_H */