Code handling saving and loading of autoreplace rules. More...
#include "../stdafx.h"
#include "../autoreplace_base.h"
#include "saveload.h"
Go to the source code of this file.
Functions | |
static void | Save_ERNW () |
static void | Load_ERNW () |
static void | Ptrs_ERNW () |
Variables | |
static const SaveLoad | _engine_renew_desc [] |
const ChunkHandler | _autoreplace_chunk_handlers [] |
Code handling saving and loading of autoreplace rules.
Definition in file autoreplace_sl.cpp.
const ChunkHandler _autoreplace_chunk_handlers[] |
{ { 'ERNW', Save_ERNW, Load_ERNW, Ptrs_ERNW, NULL, CH_ARRAY | CH_LAST}, }
const SaveLoad _engine_renew_desc[] [static] |
{ SLE_VAR(EngineRenew, from, SLE_UINT16), SLE_VAR(EngineRenew, to, SLE_UINT16), SLE_REF(EngineRenew, next, REF_ENGINE_RENEWS), SLE_CONDVAR(EngineRenew, group_id, SLE_UINT16, 60, SL_MAX_VERSION), SLE_CONDVAR(EngineRenew, replace_when_old, SLE_BOOL, 175, SL_MAX_VERSION), }
Definition at line 17 of file autoreplace_sl.cpp.