OpenTTD Source 20260903-master-ged04d336ed
ParsedTown Struct Reference

Parsed town data. More...

Data Fields

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.
TileIndex target_tile
 The target tile of the town.

Detailed Description

Parsed town data.

Definition at line 357 of file genworld.cpp.

Field Documentation

◆ is_city

bool ParsedTown::is_city

Should it be created as a city in OpenTTD? If input is blank, defaults to false.

Definition at line 360 of file genworld.cpp.

Referenced by ParseTownData().

◆ name

std::string ParsedTown::name

The name of the town.

Definition at line 358 of file genworld.cpp.

Referenced by ParseTownData().

◆ population

uint ParsedTown::population

The target population of the town when created in OpenTTD. If input is blank, defaults to 0.

Definition at line 359 of file genworld.cpp.

Referenced by ParseTownData().

◆ target_tile

TileIndex ParsedTown::target_tile

The target tile of the town.

Definition at line 361 of file genworld.cpp.

Referenced by ParseTownData().


The documentation for this struct was generated from the following file: