24 * @note A railway with a crossing street is marked as MP_ROAD. |
24 * @note A railway with a crossing street is marked as MP_ROAD. |
25 */ |
25 */ |
26 enum TileType { |
26 enum TileType { |
27 MP_CLEAR, ///< A tile without any structures, i.e. grass, rocks, farm fields etc. |
27 MP_CLEAR, ///< A tile without any structures, i.e. grass, rocks, farm fields etc. |
28 MP_RAILWAY, ///< A railway |
28 MP_RAILWAY, ///< A railway |
29 MP_STREET, ///< A street |
29 MP_ROAD, ///< A tile with road (or tram tracks) |
30 MP_HOUSE, ///< A house by a town |
30 MP_HOUSE, ///< A house by a town |
31 MP_TREES, ///< Tile got trees |
31 MP_TREES, ///< Tile got trees |
32 MP_STATION, ///< A tile of a station |
32 MP_STATION, ///< A tile of a station |
33 MP_WATER, ///< Water tile |
33 MP_WATER, ///< Water tile |
34 MP_VOID, ///< Invisible tiles at the SW and SE border |
34 MP_VOID, ///< Invisible tiles at the SW and SE border |
44 * desert one. |
44 * desert one. |
45 */ |
45 */ |
46 enum TropicZone { |
46 enum TropicZone { |
47 TROPICZONE_INVALID = 0, ///< Invalid tropiczone-type |
47 TROPICZONE_INVALID = 0, ///< Invalid tropiczone-type |
48 TROPICZONE_DESERT = 1, ///< Tile is desert |
48 TROPICZONE_DESERT = 1, ///< Tile is desert |
49 TROPICZONE_RAINFOREST = 2, ///< Normal grass tile |
49 TROPICZONE_RAINFOREST = 2, ///< Rainforest tile |
50 }; |
50 }; |
51 |
51 |
52 Slope GetTileSlope(TileIndex tile, uint *h); |
52 Slope GetTileSlope(TileIndex tile, uint *h); |
53 uint GetTileZ(TileIndex tile); |
53 uint GetTileZ(TileIndex tile); |
54 uint GetTileMaxZ(TileIndex tile); |
54 uint GetTileMaxZ(TileIndex tile); |