summaryrefslogtreecommitdiff
path: root/src/tile_map.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tile_map.h')
-rw-r--r--src/tile_map.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tile_map.h b/src/tile_map.h
index 98863eb59..af1cc32dc 100644
--- a/src/tile_map.h
+++ b/src/tile_map.h
@@ -34,6 +34,8 @@ static inline uint TileHeight(TileIndex tile)
return GB(_m[tile].type_height, 0, 4);
}
+uint TileHeightOutsideMap(int x, int y);
+
/**
* Sets the height of a tile.
*
@@ -262,6 +264,8 @@ static inline Slope GetTilePixelSlope(TileIndex tile, int *h)
return s;
}
+Slope GetTilePixelSlopeOutsideMap(int x, int y, int *h);
+
/**
* Get bottom height of the tile
* @param tile Tile to compute height of
@@ -272,6 +276,8 @@ static inline int GetTilePixelZ(TileIndex tile)
return GetTileZ(tile) * TILE_HEIGHT;
}
+int GetTilePixelZOutsideMap(int x, int y);
+
/**
* Get top height of the tile
* @param t Tile to compute height of
@@ -282,6 +288,8 @@ static inline int GetTileMaxPixelZ(TileIndex tile)
return GetTileMaxZ(tile) * TILE_HEIGHT;
}
+int GetTileMaxPixelZOutsideMap(int x, int y);
+
/**
* Calculate a hash value from a tile position