(svn r16138) -Codechange: move GetClosestWaterDistance to map*

This commit is contained in:
rubidium
2009-04-24 22:27:21 +00:00
parent f2f476a570
commit 00ed8c6f27
3 changed files with 62 additions and 56 deletions

View File

@@ -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 */