OpenTTD Source 20250428-master-ga5578166bb
|
Tile description for the 'land area information' tool. More...
#include <tile_cmd.h>
Data Fields | |
StringID | str {} |
Description of the tile. | |
uint64_t | dparam = 0 |
Parameter of the str string. | |
std::array< Owner, 4 > | owner {} |
Name of the owner(s) | |
std::array< StringID, 4 > | owner_type {} |
Type of each owner. | |
TimerGameCalendar::Date | build_date = CalendarTime::INVALID_DATE |
Date of construction of tile contents. | |
StringID | station_class {} |
Class of station. | |
StringID | station_name {} |
Type of station within the class. | |
StringID | airport_class {} |
Name of the airport class. | |
StringID | airport_name {} |
Name of the airport. | |
StringID | airport_tile_name {} |
Name of the airport tile. | |
std::optional< std::string > | grf = std::nullopt |
newGRF used for the tile contents | |
StringID | railtype {} |
Type of rail on the tile. | |
uint16_t | rail_speed = 0 |
Speed limit of rail (bridges and track) | |
StringID | roadtype {} |
Type of road on the tile. | |
uint16_t | road_speed = 0 |
Speed limit of road (bridges and track) | |
StringID | tramtype {} |
Type of tram on the tile. | |
uint16_t | tram_speed = 0 |
Speed limit of tram (bridges and track) | |
std::optional< bool > | town_can_upgrade = std::nullopt |
Whether the town can upgrade this house during town growth. | |
Tile description for the 'land area information' tool.
Definition at line 38 of file tile_cmd.h.
StringID TileDesc::airport_class {} |
Name of the airport class.
Definition at line 46 of file tile_cmd.h.
StringID TileDesc::airport_name {} |
Name of the airport.
Definition at line 47 of file tile_cmd.h.
StringID TileDesc::airport_tile_name {} |
Name of the airport tile.
Definition at line 48 of file tile_cmd.h.
TimerGameCalendar::Date TileDesc::build_date = CalendarTime::INVALID_DATE |
Date of construction of tile contents.
Definition at line 43 of file tile_cmd.h.
uint64_t TileDesc::dparam = 0 |
Parameter of the str string.
Definition at line 40 of file tile_cmd.h.
std::optional<std::string> TileDesc::grf = std::nullopt |
newGRF used for the tile contents
Definition at line 49 of file tile_cmd.h.
std::array<Owner, 4> TileDesc::owner {} |
Name of the owner(s)
Definition at line 41 of file tile_cmd.h.
std::array<StringID, 4> TileDesc::owner_type {} |
Type of each owner.
Definition at line 42 of file tile_cmd.h.
Referenced by LandInfoWindow::OnInit().
uint16_t TileDesc::rail_speed = 0 |
Speed limit of rail (bridges and track)
Definition at line 51 of file tile_cmd.h.
StringID TileDesc::railtype {} |
Type of rail on the tile.
Definition at line 50 of file tile_cmd.h.
uint16_t TileDesc::road_speed = 0 |
Speed limit of road (bridges and track)
Definition at line 53 of file tile_cmd.h.
StringID TileDesc::roadtype {} |
Type of road on the tile.
Definition at line 52 of file tile_cmd.h.
StringID TileDesc::station_class {} |
Class of station.
Definition at line 44 of file tile_cmd.h.
StringID TileDesc::station_name {} |
Type of station within the class.
Definition at line 45 of file tile_cmd.h.
StringID TileDesc::str {} |
Description of the tile.
Definition at line 39 of file tile_cmd.h.
std::optional<bool> TileDesc::town_can_upgrade = std::nullopt |
Whether the town can upgrade this house during town growth.
Definition at line 56 of file tile_cmd.h.
uint16_t TileDesc::tram_speed = 0 |
Speed limit of tram (bridges and track)
Definition at line 55 of file tile_cmd.h.
StringID TileDesc::tramtype {} |
Type of tram on the tile.
Definition at line 54 of file tile_cmd.h.