OpenTTD Source 20260206-master-g4d4e37dbf1
TownNameStyle Struct Reference

Public Member Functions

 TownNameStyle (StringID name, uint8_t id)

Data Fields

StringID name
 String ID of this town name style.
uint8_t id
 Index within partlist for this town name style.

Detailed Description

Definition at line 28 of file newgrf_townname.h.

Constructor & Destructor Documentation

◆ TownNameStyle()

TownNameStyle::TownNameStyle ( StringID name,
uint8_t id )
inline

Definition at line 32 of file newgrf_townname.h.

Field Documentation

◆ id

uint8_t TownNameStyle::id

Index within partlist for this town name style.

Definition at line 30 of file newgrf_townname.h.

◆ name

StringID TownNameStyle::name

String ID of this town name style.

Definition at line 29 of file newgrf_townname.h.


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