(svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro)
This commit is contained in:
@@ -247,6 +247,8 @@ Slope GetTileSlope(TileIndex tile, int *h = NULL);
|
||||
int GetTileZ(TileIndex tile);
|
||||
int GetTileMaxZ(TileIndex tile);
|
||||
|
||||
bool IsTileFlat(TileIndex tile, int *h = NULL);
|
||||
|
||||
/**
|
||||
* Return the slope of a given tile
|
||||
* @param tile Tile to compute slope of
|
||||
|
Reference in New Issue
Block a user