Definition at line 64 of file newgrf_sl.cpp.
◆ NGRFChunkHandler()
| NGRFChunkHandler::NGRFChunkHandler |
( |
| ) |
|
|
inline |
◆ Load()
| void NGRFChunkHandler::Load |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ LoadCheck()
| void NGRFChunkHandler::LoadCheck |
( |
size_t | len | ) |
const |
|
inlineoverridevirtual |
Load the chunk for game preview.
Default implementation just skips the data.
- Parameters
-
| len | Number of bytes to skip. |
Reimplemented from ChunkHandler.
Definition at line 139 of file newgrf_sl.cpp.
References _load_check_data.
◆ LoadCommon()
| void NGRFChunkHandler::LoadCommon |
( |
GRFConfigList & | grfconfig | ) |
const |
|
inline |
◆ LoadParameters()
| void NGRFChunkHandler::LoadParameters |
( |
GRFConfig & | config | ) |
const |
|
inline |
◆ Save()
| void NGRFChunkHandler::Save |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ SaveParameters()
| void NGRFChunkHandler::SaveParameters |
( |
const GRFConfig & | config | ) |
const |
|
inline |
◆ description
| const SaveLoad NGRFChunkHandler::description[] |
|
inlinestatic |
Initial value: = {
}
#define SLE_OBJECT_ADDRESS(base, variable)
Macro to be able to pass the variable type and construct the SaveLoad::AddressFunction given a base c...
#define SLE_GLOBAL_ADDRESS(variable)
Macro to be able to pass the variable type and construct the SaveLoad::AddressFunction given a global...
@ NewGRFPalette
Saveload version: 101, SVN revision: 14233 Store palette used by each of the NewGRFs.
@ StoreNewGRFVersion
Saveload version: 151, SVN revision: 20918 Store the version of the used NewGRFs.
Information about GRF, used in the game and (part of it) in savegames.
static SaveLoad Variable(std::string name, AddressFunction< T > address_func, SaveLoadVersion from=SaveLoadVersion::MinVersion, SaveLoadVersion to=SaveLoadVersion::MaxVersion, size_t extra=0)
Storage of a variable in some savegame versions.
static SaveLoad Array(std::string name, AddressFunction< T > address_func, SaveLoadVersion from=SaveLoadVersion::MinVersion, SaveLoadVersion to=SaveLoadVersion::MaxVersion, size_t extra=0)
Storage of an array in some savegame versions.
static SaveLoad String(std::string name, AddressFunction< T > address_func, StringValidationSettings string_validation_settings={}, SaveLoadVersion from=SaveLoadVersion::MinVersion, SaveLoadVersion to=SaveLoadVersion::MaxVersion, size_t extra=0)
Storage of a string in some savegame versions.
Definition at line 70 of file newgrf_sl.cpp.
◆ num_params
| uint8_t NGRFChunkHandler::num_params |
|
inlinestatic |
◆ param
| std::array<uint32_t, GRFConfig::MAX_NUM_PARAMS> NGRFChunkHandler::param |
|
inlinestatic |
The documentation for this struct was generated from the following file: