OpenTTD Source 20241224-master-gf74b0cf984
NamePartList Struct Reference

Data Fields

uint8_t bitstart
 Start of random seed bits to use.
 
uint8_t bitcount
 Number of bits of random seed to use.
 
uint16_t maxprob
 Total probability of all parts.
 
std::vector< NamePartparts
 List of parts to choose from.
 

Detailed Description

Definition at line 24 of file newgrf_townname.h.

Field Documentation

◆ bitcount

uint8_t NamePartList::bitcount

Number of bits of random seed to use.

Definition at line 26 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ bitstart

uint8_t NamePartList::bitstart

Start of random seed bits to use.

Definition at line 25 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ maxprob

uint16_t NamePartList::maxprob

Total probability of all parts.

Definition at line 27 of file newgrf_townname.h.

Referenced by FeatureTownName().

◆ parts

std::vector<NamePart> NamePartList::parts

List of parts to choose from.

Definition at line 28 of file newgrf_townname.h.

Referenced by FeatureTownName().


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