diff options
Diffstat (limited to 'src/map_func.h')
-rw-r--r-- | src/map_func.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map_func.h b/src/map_func.h index ff539b8af..2a971d1d6 100644 --- a/src/map_func.h +++ b/src/map_func.h @@ -394,6 +394,11 @@ typedef bool TestTileOnSearchProc(TileIndex tile, void *user_data); bool CircularTileSearch(TileIndex *tile, uint size, TestTileOnSearchProc proc, void *user_data); /** + * Searches for some cirumstances of a tile around a given rectangle with a helper function. + */ +bool CircularTileSearch(TileIndex *tile, uint radius, uint w, uint h, TestTileOnSearchProc proc, void *user_data); + +/** * Get a random tile out of a given seed. * @param r the random 'seed' * @return a valid tile |