OpenTTD Source 20260311-master-g511d3794ce
GrfActionHandler< TAction > Struct Template Reference

GRF action handler. More...

#include <newgrf_internal.h>

Public Member Functions

void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.
void FileScan (ByteReader &)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
void LabelScan (ByteReader &)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
void Reserve (ByteReader &)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
void Activation (ByteReader &)
 Implementation of the GrfLoadingStage::Activation stage of this action.

Static Public Member Functions

static void FileScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::FileScan stage of this action.
static void SafetyScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::SafetyScan stage of this action.
static void LabelScan (ByteReader &buf)
 Implementation of the GrfLoadingStage::LabelScan stage of this action.
static void Init (ByteReader &buf)
 Implementation of the GrfLoadingStage::Init stage of this action.
static void Reserve (ByteReader &buf)
 Implementation of the GrfLoadingStage::Reserve stage of this action.
static void Activation (ByteReader &buf)
 Implementation of the GrfLoadingStage::Activation stage of this action.

Detailed Description

template<uint8_t TAction>
struct GrfActionHandler< TAction >

GRF action handler.

Definition at line 37 of file newgrf_internal.h.

Member Function Documentation

◆ Activation() [1/22]

void GrfActionHandler< 0x10 >::Activation ( ByteReader & )

Implementation of the GrfLoadingStage::Activation stage of this action.

Definition at line 46 of file newgrf_act10.cpp.

◆ Activation() [2/22]

void GrfActionHandler< 0x14 >::Activation ( ByteReader & )

Implementation of the GrfLoadingStage::Activation stage of this action.

Definition at line 489 of file newgrf_act14.cpp.

◆ Activation() [3/22]

void GrfActionHandler< 0x0F >::Activation ( ByteReader & )

Implementation of the GrfLoadingStage::Activation stage of this action.

Definition at line 112 of file newgrf_actf.cpp.

◆ Activation() [4/22]

void GrfActionHandler< 0x00 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 287 of file newgrf_act0.cpp.

◆ Activation() [5/22]

void GrfActionHandler< 0x01 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 95 of file newgrf_act1.cpp.

◆ Activation() [6/22]

void GrfActionHandler< 0x11 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 186 of file newgrf_act11.cpp.

◆ Activation() [7/22]

void GrfActionHandler< 0x12 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 93 of file newgrf_act12.cpp.

References LoadFontGlyph().

◆ Activation() [8/22]

void GrfActionHandler< 0x13 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 88 of file newgrf_act13.cpp.

References TranslateGRFStrings().

◆ Activation() [9/22]

void GrfActionHandler< 0x02 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 735 of file newgrf_act2.cpp.

◆ Activation() [10/22]

void GrfActionHandler< 0x03 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 467 of file newgrf_act3.cpp.

◆ Activation() [11/22]

void GrfActionHandler< 0x04 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 173 of file newgrf_act4.cpp.

◆ Activation() [12/22]

void GrfActionHandler< 0x05 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 205 of file newgrf_act5.cpp.

◆ Activation() [13/22]

void GrfActionHandler< 0x06 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 125 of file newgrf_act6.cpp.

◆ Activation() [14/22]

void GrfActionHandler< 0x09 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 365 of file newgrf_act7_9.cpp.

◆ Activation() [15/22]

void GrfActionHandler< 0x07 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 352 of file newgrf_act7_9.cpp.

◆ Activation() [16/22]

void GrfActionHandler< 0x08 >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 90 of file newgrf_act8.cpp.

◆ Activation() [17/22]

void GrfActionHandler< 0x0A >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 108 of file newgrf_acta.cpp.

◆ Activation() [18/22]

void GrfActionHandler< 0x0B >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 137 of file newgrf_actb.cpp.

◆ Activation() [19/22]

void GrfActionHandler< 0x0C >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 42 of file newgrf_actc.cpp.

◆ Activation() [20/22]

void GrfActionHandler< 0x0D >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 500 of file newgrf_actd.cpp.

References ParamSet().

◆ Activation() [21/22]

void GrfActionHandler< 0x0E >::Activation ( ByteReader & buf)

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 74 of file newgrf_acte.cpp.

◆ Activation() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::Activation ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::Activation stage of this action.

Parameters
bufThe buffer containing the sprite data.

◆ FileScan() [1/22]

void GrfActionHandler< 0x00 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 277 of file newgrf_act0.cpp.

◆ FileScan() [2/22]

void GrfActionHandler< 0x10 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 36 of file newgrf_act10.cpp.

◆ FileScan() [3/22]

void GrfActionHandler< 0x13 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 78 of file newgrf_act13.cpp.

◆ FileScan() [4/22]

void GrfActionHandler< 0x02 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 725 of file newgrf_act2.cpp.

◆ FileScan() [5/22]

void GrfActionHandler< 0x03 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 457 of file newgrf_act3.cpp.

◆ FileScan() [6/22]

void GrfActionHandler< 0x04 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 163 of file newgrf_act4.cpp.

◆ FileScan() [7/22]

void GrfActionHandler< 0x06 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 115 of file newgrf_act6.cpp.

◆ FileScan() [8/22]

void GrfActionHandler< 0x09 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 355 of file newgrf_act7_9.cpp.

◆ FileScan() [9/22]

void GrfActionHandler< 0x07 >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 342 of file newgrf_act7_9.cpp.

◆ FileScan() [10/22]

void GrfActionHandler< 0x0B >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 127 of file newgrf_actb.cpp.

◆ FileScan() [11/22]

void GrfActionHandler< 0x0C >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 32 of file newgrf_actc.cpp.

◆ FileScan() [12/22]

void GrfActionHandler< 0x0D >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 490 of file newgrf_actd.cpp.

◆ FileScan() [13/22]

void GrfActionHandler< 0x0E >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 64 of file newgrf_acte.cpp.

◆ FileScan() [14/22]

void GrfActionHandler< 0x0F >::FileScan ( ByteReader & )

Implementation of the GrfLoadingStage::FileScan stage of this action.

Definition at line 102 of file newgrf_actf.cpp.

◆ FileScan() [15/22]

void GrfActionHandler< 0x01 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 85 of file newgrf_act1.cpp.

◆ FileScan() [16/22]

void GrfActionHandler< 0x11 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 176 of file newgrf_act11.cpp.

◆ FileScan() [17/22]

void GrfActionHandler< 0x12 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 83 of file newgrf_act12.cpp.

References SkipAct12().

◆ FileScan() [18/22]

void GrfActionHandler< 0x14 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 479 of file newgrf_act14.cpp.

References StaticGRFInfo().

◆ FileScan() [19/22]

void GrfActionHandler< 0x05 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 195 of file newgrf_act5.cpp.

◆ FileScan() [20/22]

void GrfActionHandler< 0x08 >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 80 of file newgrf_act8.cpp.

◆ FileScan() [21/22]

void GrfActionHandler< 0x0A >::FileScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 98 of file newgrf_acta.cpp.

◆ FileScan() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::FileScan ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::FileScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

◆ Init() [1/22]

void GrfActionHandler< 0x00 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 283 of file newgrf_act0.cpp.

◆ Init() [2/22]

void GrfActionHandler< 0x10 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 42 of file newgrf_act10.cpp.

◆ Init() [3/22]

void GrfActionHandler< 0x13 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 84 of file newgrf_act13.cpp.

◆ Init() [4/22]

void GrfActionHandler< 0x14 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 485 of file newgrf_act14.cpp.

◆ Init() [5/22]

void GrfActionHandler< 0x02 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 731 of file newgrf_act2.cpp.

◆ Init() [6/22]

void GrfActionHandler< 0x03 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 463 of file newgrf_act3.cpp.

◆ Init() [7/22]

void GrfActionHandler< 0x04 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 169 of file newgrf_act4.cpp.

◆ Init() [8/22]

void GrfActionHandler< 0x07 >::Init ( ByteReader & )

Implementation of the GrfLoadingStage::Init stage of this action.

Definition at line 348 of file newgrf_act7_9.cpp.

◆ Init() [9/22]

void GrfActionHandler< 0x01 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 91 of file newgrf_act1.cpp.

◆ Init() [10/22]

void GrfActionHandler< 0x11 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 182 of file newgrf_act11.cpp.

◆ Init() [11/22]

void GrfActionHandler< 0x12 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 89 of file newgrf_act12.cpp.

References SkipAct12().

◆ Init() [12/22]

void GrfActionHandler< 0x05 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 201 of file newgrf_act5.cpp.

◆ Init() [13/22]

void GrfActionHandler< 0x06 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 121 of file newgrf_act6.cpp.

◆ Init() [14/22]

void GrfActionHandler< 0x09 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 361 of file newgrf_act7_9.cpp.

◆ Init() [15/22]

void GrfActionHandler< 0x08 >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 86 of file newgrf_act8.cpp.

◆ Init() [16/22]

void GrfActionHandler< 0x0A >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 104 of file newgrf_acta.cpp.

◆ Init() [17/22]

void GrfActionHandler< 0x0B >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 133 of file newgrf_actb.cpp.

◆ Init() [18/22]

void GrfActionHandler< 0x0C >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 38 of file newgrf_actc.cpp.

◆ Init() [19/22]

void GrfActionHandler< 0x0D >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 496 of file newgrf_actd.cpp.

References ParamSet().

◆ Init() [20/22]

void GrfActionHandler< 0x0E >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 70 of file newgrf_acte.cpp.

◆ Init() [21/22]

void GrfActionHandler< 0x0F >::Init ( ByteReader & buf)

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 108 of file newgrf_actf.cpp.

References FeatureTownName().

◆ Init() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::Init ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::Init stage of this action.

Parameters
bufThe buffer containing the sprite data.

◆ LabelScan() [1/22]

void GrfActionHandler< 0x00 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 281 of file newgrf_act0.cpp.

◆ LabelScan() [2/22]

void GrfActionHandler< 0x13 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 82 of file newgrf_act13.cpp.

◆ LabelScan() [3/22]

void GrfActionHandler< 0x14 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 483 of file newgrf_act14.cpp.

◆ LabelScan() [4/22]

void GrfActionHandler< 0x02 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 729 of file newgrf_act2.cpp.

◆ LabelScan() [5/22]

void GrfActionHandler< 0x03 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 461 of file newgrf_act3.cpp.

◆ LabelScan() [6/22]

void GrfActionHandler< 0x04 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 167 of file newgrf_act4.cpp.

◆ LabelScan() [7/22]

void GrfActionHandler< 0x06 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 119 of file newgrf_act6.cpp.

◆ LabelScan() [8/22]

void GrfActionHandler< 0x09 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 359 of file newgrf_act7_9.cpp.

◆ LabelScan() [9/22]

void GrfActionHandler< 0x07 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 346 of file newgrf_act7_9.cpp.

◆ LabelScan() [10/22]

void GrfActionHandler< 0x08 >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 84 of file newgrf_act8.cpp.

◆ LabelScan() [11/22]

void GrfActionHandler< 0x0B >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 131 of file newgrf_actb.cpp.

◆ LabelScan() [12/22]

void GrfActionHandler< 0x0C >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 36 of file newgrf_actc.cpp.

◆ LabelScan() [13/22]

void GrfActionHandler< 0x0D >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 494 of file newgrf_actd.cpp.

◆ LabelScan() [14/22]

void GrfActionHandler< 0x0E >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 68 of file newgrf_acte.cpp.

◆ LabelScan() [15/22]

void GrfActionHandler< 0x0F >::LabelScan ( ByteReader & )

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Definition at line 106 of file newgrf_actf.cpp.

◆ LabelScan() [16/22]

void GrfActionHandler< 0x01 >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 89 of file newgrf_act1.cpp.

◆ LabelScan() [17/22]

void GrfActionHandler< 0x10 >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 40 of file newgrf_act10.cpp.

References DefineGotoLabel().

◆ LabelScan() [18/22]

void GrfActionHandler< 0x11 >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 180 of file newgrf_act11.cpp.

◆ LabelScan() [19/22]

void GrfActionHandler< 0x12 >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 87 of file newgrf_act12.cpp.

References SkipAct12().

◆ LabelScan() [20/22]

void GrfActionHandler< 0x05 >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 199 of file newgrf_act5.cpp.

◆ LabelScan() [21/22]

void GrfActionHandler< 0x0A >::LabelScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 102 of file newgrf_acta.cpp.

◆ LabelScan() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::LabelScan ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::LabelScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

◆ Reserve() [1/22]

void GrfActionHandler< 0x10 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 44 of file newgrf_act10.cpp.

◆ Reserve() [2/22]

void GrfActionHandler< 0x13 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 86 of file newgrf_act13.cpp.

◆ Reserve() [3/22]

void GrfActionHandler< 0x14 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 487 of file newgrf_act14.cpp.

◆ Reserve() [4/22]

void GrfActionHandler< 0x02 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 733 of file newgrf_act2.cpp.

◆ Reserve() [5/22]

void GrfActionHandler< 0x03 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 465 of file newgrf_act3.cpp.

◆ Reserve() [6/22]

void GrfActionHandler< 0x04 >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 171 of file newgrf_act4.cpp.

◆ Reserve() [7/22]

void GrfActionHandler< 0x0C >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 40 of file newgrf_actc.cpp.

◆ Reserve() [8/22]

void GrfActionHandler< 0x0F >::Reserve ( ByteReader & )

Implementation of the GrfLoadingStage::Reserve stage of this action.

Definition at line 110 of file newgrf_actf.cpp.

◆ Reserve() [9/22]

void GrfActionHandler< 0x00 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 285 of file newgrf_act0.cpp.

◆ Reserve() [10/22]

void GrfActionHandler< 0x01 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 93 of file newgrf_act1.cpp.

◆ Reserve() [11/22]

void GrfActionHandler< 0x11 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 184 of file newgrf_act11.cpp.

◆ Reserve() [12/22]

void GrfActionHandler< 0x12 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 91 of file newgrf_act12.cpp.

References SkipAct12().

◆ Reserve() [13/22]

void GrfActionHandler< 0x05 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 203 of file newgrf_act5.cpp.

◆ Reserve() [14/22]

void GrfActionHandler< 0x06 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 123 of file newgrf_act6.cpp.

◆ Reserve() [15/22]

void GrfActionHandler< 0x09 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 363 of file newgrf_act7_9.cpp.

◆ Reserve() [16/22]

void GrfActionHandler< 0x07 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 350 of file newgrf_act7_9.cpp.

◆ Reserve() [17/22]

void GrfActionHandler< 0x08 >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 88 of file newgrf_act8.cpp.

◆ Reserve() [18/22]

void GrfActionHandler< 0x0A >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 106 of file newgrf_acta.cpp.

◆ Reserve() [19/22]

void GrfActionHandler< 0x0B >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 135 of file newgrf_actb.cpp.

◆ Reserve() [20/22]

void GrfActionHandler< 0x0D >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 498 of file newgrf_actd.cpp.

References ParamSet().

◆ Reserve() [21/22]

void GrfActionHandler< 0x0E >::Reserve ( ByteReader & buf)

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 72 of file newgrf_acte.cpp.

◆ Reserve() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::Reserve ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::Reserve stage of this action.

Parameters
bufThe buffer containing the sprite data.

◆ SafetyScan() [1/22]

void GrfActionHandler< 0x10 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 38 of file newgrf_act10.cpp.

◆ SafetyScan() [2/22]

void GrfActionHandler< 0x13 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 80 of file newgrf_act13.cpp.

◆ SafetyScan() [3/22]

void GrfActionHandler< 0x14 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 481 of file newgrf_act14.cpp.

◆ SafetyScan() [4/22]

void GrfActionHandler< 0x02 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 727 of file newgrf_act2.cpp.

◆ SafetyScan() [5/22]

void GrfActionHandler< 0x04 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 165 of file newgrf_act4.cpp.

◆ SafetyScan() [6/22]

void GrfActionHandler< 0x06 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 117 of file newgrf_act6.cpp.

◆ SafetyScan() [7/22]

void GrfActionHandler< 0x09 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 357 of file newgrf_act7_9.cpp.

◆ SafetyScan() [8/22]

void GrfActionHandler< 0x07 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 344 of file newgrf_act7_9.cpp.

◆ SafetyScan() [9/22]

void GrfActionHandler< 0x08 >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 82 of file newgrf_act8.cpp.

◆ SafetyScan() [10/22]

void GrfActionHandler< 0x0B >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 129 of file newgrf_actb.cpp.

◆ SafetyScan() [11/22]

void GrfActionHandler< 0x0C >::SafetyScan ( ByteReader & )

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Definition at line 34 of file newgrf_actc.cpp.

◆ SafetyScan() [12/22]

void GrfActionHandler< 0x00 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 279 of file newgrf_act0.cpp.

◆ SafetyScan() [13/22]

void GrfActionHandler< 0x01 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 87 of file newgrf_act1.cpp.

◆ SafetyScan() [14/22]

void GrfActionHandler< 0x11 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 178 of file newgrf_act11.cpp.

References GRFUnsafe().

◆ SafetyScan() [15/22]

void GrfActionHandler< 0x12 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 85 of file newgrf_act12.cpp.

References SkipAct12().

◆ SafetyScan() [16/22]

void GrfActionHandler< 0x03 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 459 of file newgrf_act3.cpp.

References GRFUnsafe().

◆ SafetyScan() [17/22]

void GrfActionHandler< 0x05 >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 197 of file newgrf_act5.cpp.

◆ SafetyScan() [18/22]

void GrfActionHandler< 0x0A >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 100 of file newgrf_acta.cpp.

◆ SafetyScan() [19/22]

void GrfActionHandler< 0x0D >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 492 of file newgrf_actd.cpp.

◆ SafetyScan() [20/22]

void GrfActionHandler< 0x0E >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 66 of file newgrf_acte.cpp.

◆ SafetyScan() [21/22]

void GrfActionHandler< 0x0F >::SafetyScan ( ByteReader & buf)

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

Definition at line 104 of file newgrf_actf.cpp.

References GRFUnsafe().

◆ SafetyScan() [22/22]

template<uint8_t TAction>
void GrfActionHandler< TAction >::SafetyScan ( ByteReader & buf)
static

Implementation of the GrfLoadingStage::SafetyScan stage of this action.

Parameters
bufThe buffer containing the sprite data.

The documentation for this struct was generated from the following file: