27 _cur_gps.grffile->labels.emplace_back(nfo_label, _cur_gps.nfo_line, _cur_gps.file->GetPos());
29 GrfMsg(2,
"DefineGotoLabel: GOTO target with label 0x{:02X}", nfo_label);
32template <>
void GrfActionHandler<0x10>::FileScan(
ByteReader &) { }
33template <>
void GrfActionHandler<0x10>::SafetyScan(
ByteReader &) { }
35template <>
void GrfActionHandler<0x10>::Init(
ByteReader &) { }
36template <>
void GrfActionHandler<0x10>::Reserve(
ByteReader &) { }
37template <>
void GrfActionHandler<0x10>::Activation(
ByteReader &) { }
Class to read from a NewGRF file.
uint8_t ReadByte()
Read a single byte (8 bits).
Functions related to debugging.
static void DefineGotoLabel(ByteReader &buf)
Action 0x10 - Define goto label.
NewGRF buffer reader definition.
NewGRF internal processing state.
A number of safeguards to prevent using unsafe methods.
Definition of base types and functions in a cross-platform compatible way.