diff options
Diffstat (limited to 'src/tile_map.cpp')
-rw-r--r-- | src/tile_map.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tile_map.cpp b/src/tile_map.cpp index b2158e85c..07a4fa743 100644 --- a/src/tile_map.cpp +++ b/src/tile_map.cpp @@ -17,7 +17,8 @@ * Return the slope of a given tile * @param tile Tile to compute slope of * @param h If not \c NULL, pointer to storage of z height - * @return Slope of the tile, except for the HALFTILE part */ + * @return Slope of the tile, except for the HALFTILE part + */ Slope GetTileSlope(TileIndex tile, uint *h) { assert(tile < MapSize()); @@ -62,7 +63,8 @@ Slope GetTileSlope(TileIndex tile, uint *h) /** * Get bottom height of the tile * @param tile Tile to compute height of - * @return Minimum height of the tile */ + * @return Minimum height of the tile + */ uint GetTileZ(TileIndex tile) { if (TileX(tile) == MapMaxX() || TileY(tile) == MapMaxY()) return 0; @@ -78,7 +80,8 @@ uint GetTileZ(TileIndex tile) /** * Get top height of the tile * @param t Tile to compute height of - * @return Maximum height of the tile */ + * @return Maximum height of the tile + */ uint GetTileMaxZ(TileIndex t) { if (TileX(t) == MapMaxX() || TileY(t) == MapMaxY()) return 0; |