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/>.
8 /** @file linkgraph_sl_compat.h Loading of linkgraph chunks before table headers were added. */
10 #ifndef SAVELOAD_COMPAT_LINKGRAPH_H
11 #define SAVELOAD_COMPAT_LINKGRAPH_H
13 #include "../saveload.h"
15 /** Original field order for SlLinkgraphEdge. */
16 const SaveLoadCompat _linkgraph_edge_sl_compat
[] = {
17 SLC_NULL(4, SL_MIN_VERSION
, SLV_191
),
20 SLC_VAR("last_unrestricted_update"),
21 SLC_VAR("last_restricted_update"),
25 /** Original field order for SlLinkgraphNode. */
26 const SaveLoadCompat _linkgraph_node_sl_compat
[] = {
31 SLC_VAR("last_update"),
35 /** Original field order for link_graph_desc. */
36 const SaveLoadCompat _linkgraph_sl_compat
[] = {
37 SLC_VAR("last_compression"),
43 /** Original field order for job_desc. */
44 const SaveLoadCompat _linkgraph_job_sl_compat
[] = {
45 SLC_VAR("linkgraph.recalc_interval"),
46 SLC_VAR("linkgraph.recalc_time"),
47 SLC_VAR("linkgraph.distribution_pax"),
48 SLC_VAR("linkgraph.distribution_mail"),
49 SLC_VAR("linkgraph.distribution_armoured"),
50 SLC_VAR("linkgraph.distribution_default"),
51 SLC_VAR("linkgraph.accuracy"),
52 SLC_VAR("linkgraph.demand_distance"),
53 SLC_VAR("linkgraph.demand_size"),
54 SLC_VAR("linkgraph.short_path_saturation"),
56 SLC_VAR("link_graph.index"),
60 /** Original field order for schedule_desc. */
61 const SaveLoadCompat _linkgraph_schedule_sl_compat
[] = {
66 #endif /* SAVELOAD_COMPAT_LINKGRAPH_H */