forked from mirror/OpenTTD
(svn r16138) -Codechange: move GetClosestWaterDistance to map*
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user