Type (helpers) for making a strong typedef that is a distinct type.
Mix-in which makes the new Typedef compatible with another type (which is not the base type).
TropicZone
Additional infos of a tile on a tropic game.
@ TROPICZONE_RAINFOREST
Rainforest tile.
@ TROPICZONE_DESERT
Tile is desert.
@ TROPICZONE_NORMAL
Normal tropiczone.
static const uint TILE_PIXELS
Pixel distance between tile columns/rows in #ZOOM_BASE.
static const uint MIN_MAP_HEIGHT_LIMIT
Lower bound of maximum allowed heightlevel (in the construction settings)
static const uint MAX_BUILDING_PIXELS
Maximum height of a building in pixels in #ZOOM_BASE. (Also applies to "bridge buildings" on the brid...
static const int MAX_VEHICLE_PIXEL_Y
Maximum height of a vehicle in pixels in #ZOOM_BASE.
static const uint TILE_HEIGHT
Height of a height level in world coordinate AND in pixels in #ZOOM_BASE.
static const uint MIN_SNOWLINE_HEIGHT
Minimum snowline height.
static const uint MIN_CUSTOM_TERRAIN_TYPE
Lowest possible peak value for world generation.
static const uint DEF_DESERT_COVERAGE
Default desert coverage.
static const uint TILE_SIZE
Tile size in world coordinates.
static const uint MAX_TILE_HEIGHT
Maximum allowed tile height.
static const uint TILE_UNIT_MASK
For masking in/out the inner-tile world coordinate units.
constexpr TileIndex INVALID_TILE
The very nice invalid tile marker.
static const uint MAX_SNOWLINE_HEIGHT
Maximum allowed snowline height.
static const uint DEF_SNOWLINE_HEIGHT
Default snowline height.
static const uint MIN_HEIGHTMAP_HEIGHT
Lowest possible peak value for heightmap creation.
TileType
The different types of tiles.
@ MP_TREES
Tile got trees.
@ MP_ROAD
A tile with road (or tram tracks)
@ MP_STATION
A tile of a station.
@ MP_TUNNELBRIDGE
Tunnel entry/exit and bridge heads.
@ MP_CLEAR
A tile without any structures, i.e. grass, rocks, farm fields etc.
@ MP_HOUSE
A house by a town.
@ MP_INDUSTRY
Part of an industry.
@ MP_VOID
Invisible tiles at the SW and SE border.
@ MP_OBJECT
Contains objects such as transmitters and owned land.
static const int MAX_VEHICLE_PIXEL_X
Maximum width of a vehicle in pixels in #ZOOM_BASE.
static const uint MAX_MAP_HEIGHT_LIMIT
Upper bound of maximum allowed heightlevel (in the construction settings)
static const uint DEF_SNOW_COVERAGE
Default snow coverage.