equal
deleted
inserted
replaced
48 uint GetMapExtraBits(TileIndex tile); |
48 uint GetMapExtraBits(TileIndex tile); |
49 |
49 |
50 uint GetTileh(uint n, uint w, uint e, uint s, uint *h); |
50 uint GetTileh(uint n, uint w, uint e, uint s, uint *h); |
51 uint GetTileSlope(TileIndex tile, uint *h); |
51 uint GetTileSlope(TileIndex tile, uint *h); |
52 uint GetTileZ(TileIndex tile); |
52 uint GetTileZ(TileIndex tile); |
|
53 uint GetTileMaxZ(TileIndex tile); |
53 |
54 |
54 static inline bool CorrectZ(uint tileh) |
55 static inline bool CorrectZ(uint tileh) |
55 { |
56 { |
56 /* tile height must be corrected if the north corner is not raised, but |
57 /* tile height must be corrected if the north corner is not raised, but |
57 * any other corner is. These are the cases 1 till 7 */ |
58 * any other corner is. These are the cases 1 till 7 */ |