summaryrefslogtreecommitdiff
path: root/tile.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-02-07 10:41:45 +0000
committertron <tron@openttd.org>2005-02-07 10:41:45 +0000
commitf8d97a5f616c5e303b2822316fcef409baee6195 (patch)
tree6fb9696d4610ea19244f194d0c47fa748af72fd4 /tile.h
parentad837c2069d37ad36dfba07f62bd35a6694dd266 (diff)
downloadopenttd-f8d97a5f616c5e303b2822316fcef409baee6195.tar.xz
(svn r1839) Move GetTileSlope() and GetTileZ() into tile.[ch] and use more explicit types as parameters
Diffstat (limited to 'tile.h')
-rw-r--r--tile.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tile.h b/tile.h
index 6943f4a0e..cb0fa1e03 100644
--- a/tile.h
+++ b/tile.h
@@ -20,6 +20,9 @@ typedef enum TileType {
void SetMapExtraBits(TileIndex tile, byte flags);
uint GetMapExtraBits(TileIndex tile);
+uint GetTileSlope(TileIndex tile, uint *h);
+uint GetTileZ(TileIndex tile);
+
static inline uint TileHeight(TileIndex tile)
{
assert(tile < MapSize());