OpenTTD: NamePart Struct Reference

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Data Fields
NamePart Struct Reference

## Data Fields
byte | prob
| The relative probability of the following name to appear in the bottom 7 bits.
union {
char * text
| If probability bit 7 is clear.
byte id
| If probability bit 7 is set.
} | data

## Detailed Description

Definition at line 20 of file newgrf_townname.h.

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

- src/newgrf_townname.h