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

OpenTTD Source 15.0-RC2

Functions
newgrf_act10.cpp File Reference

NewGRF Action 0x10 handler. More...

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

Go to the source code of this file.

## Functions
static void | DefineGotoLabel (ByteReader &buf)
| Action 0x10 - Define goto label.

## Detailed Description

NewGRF Action 0x10 handler.

Definition in file newgrf_act10.cpp.

## Function Documentation

## ◆ DefineGotoLabel()

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

Action 0x10 - Define goto label.

Definition at line 18 of file newgrf_act10.cpp.

References GrfProcessingState::file, RandomAccessFile::GetPos(), GrfProcessingState::grffile, GRFFile::labels, GrfProcessingState::nfo_line, and ByteReader::ReadByte().