OpenTTD Source 20260206-master-g4d4e37dbf1
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()

void LoadFontGlyph ( ByteReader & buf)
static

Action 0x12.

Definition at line 20 of file newgrf_act12.cpp.

References LoadNextSprite(), ByteReader::ReadByte(), ByteReader::ReadWord(), and SetUnicodeGlyph().

◆ SkipAct12()

void SkipAct12 ( ByteReader & buf)
static

Action 0x12 (SKIP).

Definition at line 51 of file newgrf_act12.cpp.

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