#include "../stdafx.h"
#include "../gamelog.h"
#include "../gamelog_internal.h"
#include "../core/alloc_func.hpp"
#include "saveload.h"
Go to the source code of this file.
Functions | |
assert_compile (lengthof(_glog_desc)==GLCT_END) | |
static void | Load_GLOG () |
static void | Save_GLOG () |
Variables | |
static const SaveLoad | _glog_action_desc [] |
static const SaveLoad | _glog_mode_desc [] |
static const SaveLoad | _glog_revision_desc [] |
static const SaveLoad | _glog_oldver_desc [] |
static const SaveLoad | _glog_setting_desc [] |
static const SaveLoad | _glog_grfadd_desc [] |
static const SaveLoad | _glog_grfrem_desc [] |
static const SaveLoad | _glog_grfcompat_desc [] |
static const SaveLoad | _glog_grfparam_desc [] |
static const SaveLoad | _glog_grfmove_desc [] |
static const SaveLoad | _glog_grfbug_desc [] |
static const SaveLoad | _glog_emergency_desc [] |
static const SaveLoad * | _glog_desc [] |
const ChunkHandler | _gamelog_chunk_handlers [] |
Definition in file gamelog_sl.cpp.
const ChunkHandler _gamelog_chunk_handlers[] |
Initial value:
{
{ 'GLOG', Save_GLOG, Load_GLOG, CH_RIFF | CH_LAST }
}
const SaveLoad _glog_action_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedAction, tick, SLE_UINT16), }
Definition at line 12 of file gamelog_sl.cpp.
const SaveLoad* _glog_desc[] [static] |
Initial value:
{ _glog_mode_desc, _glog_revision_desc, _glog_oldver_desc, _glog_setting_desc, _glog_grfadd_desc, _glog_grfrem_desc, _glog_grfcompat_desc, _glog_grfparam_desc, _glog_grfmove_desc, _glog_grfbug_desc, _glog_emergency_desc, }
Definition at line 83 of file gamelog_sl.cpp.
const SaveLoad _glog_emergency_desc[] [static] |
const SaveLoad _glog_grfadd_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfadd.grfid, SLE_UINT32 ), SLE_ARR(LoggedChange, grfadd.md5sum, SLE_UINT8, 16), }
Definition at line 44 of file gamelog_sl.cpp.
const SaveLoad _glog_grfbug_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfbug.data, SLE_UINT64), SLE_VAR(LoggedChange, grfbug.grfid, SLE_UINT32), SLE_VAR(LoggedChange, grfbug.bug, SLE_UINT8), }
Definition at line 72 of file gamelog_sl.cpp.
const SaveLoad _glog_grfcompat_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfcompat.grfid, SLE_UINT32 ), SLE_ARR(LoggedChange, grfcompat.md5sum, SLE_UINT8, 16), }
Definition at line 55 of file gamelog_sl.cpp.
const SaveLoad _glog_grfmove_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfmove.grfid, SLE_UINT32), SLE_VAR(LoggedChange, grfmove.offset, SLE_INT32), }
Definition at line 66 of file gamelog_sl.cpp.
const SaveLoad _glog_grfparam_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfparam.grfid, SLE_UINT32), }
Definition at line 61 of file gamelog_sl.cpp.
const SaveLoad _glog_grfrem_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, grfrem.grfid, SLE_UINT32), }
Definition at line 50 of file gamelog_sl.cpp.
const SaveLoad _glog_mode_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, mode.mode, SLE_UINT8), SLE_VAR(LoggedChange, mode.landscape, SLE_UINT8), }
Definition at line 17 of file gamelog_sl.cpp.
const SaveLoad _glog_oldver_desc[] [static] |
Initial value:
{ SLE_VAR(LoggedChange, oldver.type, SLE_UINT32), SLE_VAR(LoggedChange, oldver.version, SLE_UINT32), }
Definition at line 31 of file gamelog_sl.cpp.
const SaveLoad _glog_revision_desc[] [static] |
Initial value:
{ SLE_ARR(LoggedChange, revision.text, SLE_UINT8, NETWORK_REVISION_LENGTH), SLE_VAR(LoggedChange, revision.newgrf, SLE_UINT32), SLE_VAR(LoggedChange, revision.slver, SLE_UINT16), SLE_VAR(LoggedChange, revision.modified, SLE_UINT8), }
Definition at line 23 of file gamelog_sl.cpp.
const SaveLoad _glog_setting_desc[] [static] |
Initial value:
{ SLE_STR(LoggedChange, setting.name, SLE_STR, 128), SLE_VAR(LoggedChange, setting.oldval, SLE_INT32), SLE_VAR(LoggedChange, setting.newval, SLE_INT32), }
Definition at line 37 of file gamelog_sl.cpp.