Code handling saving and loading of economy data. More...
#include "../stdafx.h"
#include "../signs_base.h"
#include "saveload.h"
Go to the source code of this file.
Functions | |
static void | Save_SIGN () |
Save all signs. | |
static void | Load_SIGN () |
Load all signs. | |
Variables | |
static const SaveLoad | _sign_desc [] |
Description of a sign within the savegame. | |
const ChunkHandler | _sign_chunk_handlers [] |
Chunk handlers related to signs. |
Code handling saving and loading of economy data.
Definition in file signs_sl.cpp.
const ChunkHandler _sign_chunk_handlers[] |
{ { 'SIGN', Save_SIGN, Load_SIGN, NULL, NULL, CH_ARRAY | CH_LAST}, }
Chunk handlers related to signs.
const SaveLoad _sign_desc[] [static] |
{ SLE_CONDVAR(Sign, name, SLE_NAME, 0, 83), SLE_CONDSTR(Sign, name, SLE_STR | SLF_ALLOW_CONTROL, 0, 84, SL_MAX_VERSION), SLE_CONDVAR(Sign, x, SLE_FILE_I16 | SLE_VAR_I32, 0, 4), SLE_CONDVAR(Sign, y, SLE_FILE_I16 | SLE_VAR_I32, 0, 4), SLE_CONDVAR(Sign, x, SLE_INT32, 5, SL_MAX_VERSION), SLE_CONDVAR(Sign, y, SLE_INT32, 5, SL_MAX_VERSION), SLE_CONDVAR(Sign, owner, SLE_UINT8, 6, SL_MAX_VERSION), SLE_CONDVAR(Sign, z, SLE_FILE_U8 | SLE_VAR_I32, 0, 163), SLE_CONDVAR(Sign, z, SLE_INT32, 164, SL_MAX_VERSION), }
Description of a sign within the savegame.
Definition at line 18 of file signs_sl.cpp.