OpenTTD Source 20241224-master-gf74b0cf984
|
Data that is stored per tile. More...
Data Fields | |
uint8_t | type |
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1) | |
uint8_t | height |
The height of the northern corner. | |
uint16_t | m2 |
Primarily used for indices to towns, industries and stations. | |
uint8_t | m1 |
Primarily used for ownership information. | |
uint8_t | m3 |
General purpose. | |
uint8_t | m4 |
General purpose. | |
uint8_t | m5 |
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 |
The height of the northern corner.
Definition at line 34 of file map_func.h.
Referenced by Tile::height().
uint8_t Tile::TileBase::m1 |
Primarily used for ownership information.
Definition at line 36 of file map_func.h.
Referenced by Tile::m1().
uint16_t Tile::TileBase::m2 |
Primarily used for indices to towns, industries and stations.
Definition at line 35 of file map_func.h.
Referenced by Tile::m2().
uint8_t Tile::TileBase::m3 |
uint8_t Tile::TileBase::m4 |
uint8_t Tile::TileBase::m5 |
uint8_t Tile::TileBase::type |
The type (bits 4..7), bridges (2..3), rainforest/desert (0..1)
Definition at line 33 of file map_func.h.
Referenced by Tile::type().