15 #ifndef TOWNNAME_TYPE_H 16 #define TOWNNAME_TYPE_H 23 typedef std::set<std::string> TownNames;
41 this->grfid = grf ? GetGRFTownNameId(town_name - _nb_orig_names) : 0;
42 this->type = grf ? GetGRFTownNameType(town_name - _nb_orig_names) : SPECSTR_TOWNNAME_START + town_name;
TownNameParams(byte town_name)
Initializes this struct from language ID.
Header of Action 0F "universal holder" structure and functions.
uint16 type
town name style
Struct holding a parameters used to generate town name.
int _nb_orig_names
Number of original town names.
uint32 grfid
newgrf ID (0 if not used)