OpenTTD Source 20241224-master-gf74b0cf984
newgrf_townname.h File Reference

Header of Action 0F "universal holder" structure and functions. More...

#include "strings_type.h"

Go to the source code of this file.

Data Structures

struct  NamePart
 
struct  NamePartList
 
struct  TownNameStyle
 
struct  GRFTownName
 

Functions

GRFTownNameAddGRFTownName (uint32_t grfid)
 
GRFTownNameGetGRFTownName (uint32_t grfid)
 
void DelGRFTownName (uint32_t grfid)
 
void CleanUpGRFTownNames ()
 
uint32_t GetGRFTownNameId (uint16_t gen)
 
uint16_t GetGRFTownNameType (uint16_t gen)
 
StringID GetGRFTownNameName (uint16_t gen)
 
const std::vector< StringID > & GetGRFTownNameList ()
 

Detailed Description

Header of Action 0F "universal holder" structure and functions.

Definition in file newgrf_townname.h.

Function Documentation

◆ AddGRFTownName()

GRFTownName * AddGRFTownName ( uint32_t  grfid)

Definition at line 35 of file newgrf_townname.cpp.

◆ CleanUpGRFTownNames()

void CleanUpGRFTownNames ( )

Definition at line 101 of file newgrf_townname.cpp.

◆ DelGRFTownName()

void DelGRFTownName ( uint32_t  grfid)

Definition at line 45 of file newgrf_townname.cpp.

◆ GetGRFTownName()

GRFTownName * GetGRFTownName ( uint32_t  grfid)

Definition at line 28 of file newgrf_townname.cpp.

◆ GetGRFTownNameId()

uint32_t GetGRFTownNameId ( uint16_t  gen)

Definition at line 106 of file newgrf_townname.cpp.

◆ GetGRFTownNameList()

const std::vector< StringID > & GetGRFTownNameList ( )

Definition at line 91 of file newgrf_townname.cpp.

◆ GetGRFTownNameName()

StringID GetGRFTownNameName ( uint16_t  gen)

Definition at line 96 of file newgrf_townname.cpp.

◆ GetGRFTownNameType()

uint16_t GetGRFTownNameType ( uint16_t  gen)

Definition at line 116 of file newgrf_townname.cpp.