12 #include "../stdafx.h" 13 #include "../signs_base.h" 18 #include "../safeguards.h" 40 SlSetArrayIndex(si->
index);
#define SLE_CONDSTR(base, variable, type, length, from, to)
Storage of a string in some savegame versions.
FileToSaveLoad _file_to_saveload
File to save or load in the openttd loop.
Tindex index
Index of this pool item.
const ChunkHandler _sign_chunk_handlers[]
Chunk handlers related to signs.
The object is owned by a superuser / goal script.
Functions/types related to saving and loading games.
#define SLE_CONDVAR(base, variable, type, from, to)
Storage of a variable in some savegame versions.
allow control codes in the strings
static void Load_SIGN()
Load all signs.
The tile has no ownership.
#define SL_MAX_VERSION
Highest possible savegame version.
static bool IsSavegameVersionBefore(uint16 major, byte minor=0)
Checks whether the savegame is below major.
int SlIterateArray()
Iterate through the elements of an array and read the whole thing.
Handlers and description of chunk.
#define SLE_END()
End marker of a struct/class save or load.
void SlObject(void *object, const SaveLoad *sld)
Main SaveLoad function.
static const SaveLoad _sign_desc[]
Description of a sign within the savegame.
AbstractFileType abstract_ftype
Abstract type of file (scenario, heightmap, etc).
static void Save_SIGN()
Save all signs.
#define SLE_STR(base, variable, type, length)
Storage of a string in every savegame version.
Last chunk in this array.