OpenTTD Source: src/newgrf/newgrf_actf.cpp File Reference

OpenTTD Source 15.0-RC2

Functions
newgrf_actf.cpp File Reference

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.

## Detailed Description

NewGRF Action 0x0F handler.

Definition in file newgrf_actf.cpp.

## Function Documentation

## ◆ FeatureTownName()

static void FeatureTownName | ( | ByteReader & | buf | ) |
| 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().