OpenTTD Source
20241121-master-g67a0fccfad
|
Town data imported from JSON files and used to place towns. More...
Data Fields | |
TownID | town_id |
The TownID of the town in OpenTTD. Not imported, but set during the founding proceess and stored here for convenience. | |
std::string | name |
The name of the town. | |
uint | population |
The target population of the town when created in OpenTTD. If input is blank, defaults to 0. | |
bool | is_city |
Should it be created as a city in OpenTTD? If input is blank, defaults to false. | |
float | x_proportion |
The X coordinate of the town, as a proportion 0..1 of the maximum X coordinate. | |
float | y_proportion |
The Y coordinate of the town, as a proportion 0..1 of the maximum Y coordinate. | |
Town data imported from JSON files and used to place towns.
Definition at line 346 of file genworld.cpp.