OpenTTD Source 20250205-master-gfd85ab1e2c
|
Data that is stored per tile. More...
Data Fields | |
uint8_t | type = 0 |
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1) | |
uint8_t | height = 0 |
The height of the northern corner. | |
uint16_t | m2 = 0 |
Primarily used for indices to towns, industries and stations. | |
uint8_t | m1 = 0 |
Primarily used for ownership information. | |
uint8_t | m3 = 0 |
General purpose. | |
uint8_t | m4 = 0 |
General purpose. | |
uint8_t | m5 = 0 |
General purpose. | |
Data that is stored per tile.
Also used TileExtended for this. Look at docs/landscape.html for the exact meaning of the members.
Definition at line 32 of file map_func.h.
uint8_t Tile::TileBase::height = 0 |
The height of the northern corner.
Definition at line 34 of file map_func.h.
uint8_t Tile::TileBase::m1 = 0 |
Primarily used for ownership information.
Definition at line 36 of file map_func.h.
uint16_t Tile::TileBase::m2 = 0 |
Primarily used for indices to towns, industries and stations.
Definition at line 35 of file map_func.h.
uint8_t Tile::TileBase::m3 = 0 |
General purpose.
Definition at line 37 of file map_func.h.
uint8_t Tile::TileBase::m4 = 0 |
General purpose.
Definition at line 38 of file map_func.h.
uint8_t Tile::TileBase::m5 = 0 |
General purpose.
Definition at line 39 of file map_func.h.
uint8_t Tile::TileBase::type = 0 |
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1)
Definition at line 33 of file map_func.h.