OpenTTD Source: NamePartList Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
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< NamePart > | parts
| 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:

- src/newgrf_townname.h