15#include "../safeguards.h"
29 GrfMsg(2,
"DefineGotoLabel: GOTO target with label 0x{:02X}", nfo_label);
Class to read from a NewGRF file.
uint8_t ReadByte()
Read a single byte (8 bits).
size_t GetPos() const
Get position in the file.
static void DefineGotoLabel(ByteReader &buf)
Action 0x10 - Define goto label.
NewGRF buffer reader definition.
NewGRF internal processing state.
std::vector< GRFLabel > labels
List of labels.
SpriteFile * file
File of currently processed GRF file.
GRFFile * grffile
Currently processed GRF file.
uint32_t nfo_line
Currently processed pseudo sprite number in the GRF.