OpenTTD Source 20241224-master-gf74b0cf984
GRFTownName Struct Reference

Data Fields

uint32_t grfid
 GRF ID of NewGRF.
 
std::vector< TownNameStylestyles
 Style names defined by the Town Name NewGRF.
 
std::vector< NamePartListpartlists [MAX_LISTS]
 Lists of town name parts.
 

Static Public Attributes

static const uint MAX_LISTS = 128
 Maximum number of town name lists that can be defined per GRF.
 

Detailed Description

Definition at line 38 of file newgrf_townname.h.

Field Documentation

◆ grfid

uint32_t GRFTownName::grfid

GRF ID of NewGRF.

Definition at line 41 of file newgrf_townname.h.

◆ MAX_LISTS

const uint GRFTownName::MAX_LISTS = 128
static

Maximum number of town name lists that can be defined per GRF.

Definition at line 39 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ partlists

std::vector<NamePartList> GRFTownName::partlists[MAX_LISTS]

Lists of town name parts.

Definition at line 43 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ styles

std::vector<TownNameStyle> GRFTownName::styles

Style names defined by the Town Name NewGRF.

Definition at line 42 of file newgrf_townname.h.

Referenced by FeatureTownName(), and InitGRFTownGeneratorNames().


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