OpenTTD Source 20250331-master-g3c15e0c889
|
NewGRF Action 0x0F handler. More...
#include "../stdafx.h"
#include "../debug.h"
#include "../newgrf_townname.h"
#include "newgrf_bytereader.h"
#include "newgrf_internal.h"
#include "table/strings.h"
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
static void | FeatureTownName (ByteReader &buf) |
Action 0x0F - Define Town names. | |
NewGRF Action 0x0F handler.
Definition in file newgrf_actf.cpp.
|
static |
Action 0x0F - Define Town names.
Definition at line 21 of file newgrf_actf.cpp.
References AddGRFString(), NamePartList::bitcount, NamePartList::bitstart, ClrBit(), DisableGrf(), GB(), GrfProcessingState::grffile, HasBit(), NamePart::id, GRFTownName::MAX_LISTS, NamePartList::maxprob, GRFTownName::partlists, NamePartList::parts, NamePart::prob, ByteReader::ReadByte(), ByteReader::ReadString(), GRFTownName::styles, NamePart::text, and TranslateTTDPatchCodes().