OpenTTD Source 20241224-master-gf74b0cf984
NamePart Struct Reference

Data Fields

std::string text
 If probability bit 7 is clear.
 
uint8_t id
 If probability bit 7 is set.
 
uint8_t prob
 The relative probability of the following name to appear in the bottom 7 bits.
 

Detailed Description

Definition at line 18 of file newgrf_townname.h.

Field Documentation

◆ id

uint8_t NamePart::id

If probability bit 7 is set.

Definition at line 20 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ prob

uint8_t NamePart::prob

The relative probability of the following name to appear in the bottom 7 bits.

Definition at line 21 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ text

std::string NamePart::text

If probability bit 7 is clear.

Definition at line 19 of file newgrf_townname.h.

Referenced by FeatureTownName().


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