Add general function for checking size of contiguous tile area
This commit is contained in:
@@ -438,6 +438,8 @@ typedef bool TestTileOnSearchProc(TileIndex tile, void *user_data);
|
||||
bool CircularTileSearch(TileIndex *tile, uint size, TestTileOnSearchProc proc, void *user_data);
|
||||
bool CircularTileSearch(TileIndex *tile, uint radius, uint w, uint h, TestTileOnSearchProc proc, void *user_data);
|
||||
|
||||
bool EnoughContiguousTilesMatchingCondition(TileIndex tile, uint threshold, TestTileOnSearchProc proc, void *user_data);
|
||||
|
||||
/**
|
||||
* Get a random tile out of a given seed.
|
||||
* @param r the random 'seed'
|
||||
|
Reference in New Issue
Block a user