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

OpenTTD Source 15.3

Functions
newgrf_act12.cpp File Reference

NewGRF Action 0x12 handler. More...

`#include "../stdafx.h"`
`#include "../debug.h"`
`#include "../fontcache.h"`
`#include "../spritecache.h"`
`#include "newgrf_bytereader.h"`
`#include "newgrf_internal.h"`
`#include "../safeguards.h"`

Go to the source code of this file.

## Functions
static void | LoadFontGlyph (ByteReader &buf)
| Action 0x12.
static void | SkipAct12 (ByteReader &buf)
| Action 0x12 (SKIP)

## Detailed Description

NewGRF Action 0x12 handler.

Definition in file newgrf_act12.cpp.

## Function Documentation

## ◆ LoadFontGlyph()

static void LoadFontGlyph | ( | ByteReader & | buf | ) |
| static

Action 0x12.

Definition at line 20 of file newgrf_act12.cpp.

References GrfProcessingState::file, LoadNextSprite(), GrfProcessingState::nfo_line, ByteReader::ReadByte(), ByteReader::ReadWord(), SetUnicodeGlyph(), and GrfProcessingState::spriteid.

## ◆ SkipAct12()

static void SkipAct12 | ( | ByteReader & | buf | ) |
| static

Action 0x12 (SKIP)

Definition at line 51 of file newgrf_act12.cpp.

References ByteReader::ReadByte(), ByteReader::ReadWord(), and GrfProcessingState::skip_sprites.