OpenTTD Source 20241224-master-gee860a5c8e
gamelog_sl_compat.h
Go to the documentation of this file.
1/*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
7
10#ifndef SAVELOAD_COMPAT_GAMELOG_H
11#define SAVELOAD_COMPAT_GAMELOG_H
12
13#include "../saveload.h"
14
17 SLC_VAR("mode.mode"),
18 SLC_VAR("mode.landscape"),
19};
20
23 SLC_VAR("revision.text"),
24 SLC_VAR("revision.newgrf"),
25 SLC_VAR("revision.slver"),
26 SLC_VAR("revision.modified"),
27};
28
31 SLC_VAR("oldver.type"),
32 SLC_VAR("oldver.version"),
33};
34
37 SLC_VAR("setting.name"),
38 SLC_VAR("setting.oldval"),
39 SLC_VAR("setting.newval"),
40};
41
44 SLC_VAR("grfadd.grfid"),
45 SLC_VAR("grfadd.md5sum"),
46};
47
50 SLC_VAR("grfrem.grfid"),
51};
52
55 SLC_VAR("grfcompat.grfid"),
56 SLC_VAR("grfcompat.md5sum"),
57};
58
61 SLC_VAR("grfparam.grfid"),
62};
63
66 SLC_VAR("grfmove.grfid"),
67 SLC_VAR("grfmove.offset"),
68};
69
72 SLC_VAR("grfbug.data"),
73 SLC_VAR("grfbug.grfid"),
74 SLC_VAR("grfbug.bug"),
75};
76
79 SLC_VAR("is_emergency_save"),
80};
81
84 SLC_VAR("ct"),
85 SLC_VAR("mode"),
86 SLC_VAR("revision"),
87 SLC_VAR("oldver"),
88 SLC_VAR("setting"),
89 SLC_VAR("grfadd"),
90 SLC_VAR("grfrem"),
91 SLC_VAR("grfcompat"),
92 SLC_VAR("grfparam"),
93 SLC_VAR("grfmove"),
94 SLC_VAR("grfbug"),
95 SLC_VAR("emergency"),
96};
97
100 SLC_VAR("at"),
101 SLC_VAR("tick"),
102 SLC_VAR("action"),
103};
104
105#endif /* SAVELOAD_COMPAT_GAMELOG_H */
const SaveLoadCompat _gamelog_emergency_sl_compat[]
Original field order for SlGamelogEmergency.
const SaveLoadCompat _gamelog_mode_sl_compat[]
Original field order for SlGamelogMode.
const SaveLoadCompat _gamelog_grfmove_sl_compat[]
Original field order for SlGamelogGrfmove.
const SaveLoadCompat _gamelog_action_sl_compat[]
Original field order for SlGamelogAction.
const SaveLoadCompat _gamelog_oldver_sl_compat[]
Original field order for SlGamelogOldver.
const SaveLoadCompat _gamelog_revision_sl_compat[]
Original field order for SlGamelogRevision.
const SaveLoadCompat _gamelog_sl_compat[]
Original field order for _gamelog_desc.
const SaveLoadCompat _gamelog_setting_sl_compat[]
Original field order for SlGamelogSetting.
const SaveLoadCompat _gamelog_grfrem_sl_compat[]
Original field order for SlGamelogGrfrem.
const SaveLoadCompat _gamelog_grfbug_sl_compat[]
Original field order for SlGamelogGrfbug.
const SaveLoadCompat _gamelog_grfadd_sl_compat[]
Original field order for SlGamelogGrfadd.
const SaveLoadCompat _gamelog_grfcompat_sl_compat[]
Original field order for SlGamelogGrfcompat.
const SaveLoadCompat _gamelog_grfparam_sl_compat[]
Original field order for SlGamelogGrfparam.
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247
SaveLoad information for backwards compatibility.
Definition saveload.h:737