Update: Translations from eints
[openttd-github.git] / src / saveload / compat / linkgraph_sl_compat.h
blobeb455da8fcb1c051929a345d8022c4be4ca91c4b
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 */
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),
18 SLC_VAR("capacity"),
19 SLC_VAR("usage"),
20 SLC_VAR("last_unrestricted_update"),
21 SLC_VAR("last_restricted_update"),
22 SLC_VAR("next_edge"),
25 /** Original field order for SlLinkgraphNode. */
26 const SaveLoadCompat _linkgraph_node_sl_compat[] = {
27 SLC_VAR("xy"),
28 SLC_VAR("supply"),
29 SLC_VAR("demand"),
30 SLC_VAR("station"),
31 SLC_VAR("last_update"),
32 SLC_VAR("edges"),
35 /** Original field order for link_graph_desc. */
36 const SaveLoadCompat _linkgraph_sl_compat[] = {
37 SLC_VAR("last_compression"),
38 SLC_VAR("num_nodes"),
39 SLC_VAR("cargo"),
40 SLC_VAR("nodes"),
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"),
55 SLC_VAR("join_date"),
56 SLC_VAR("link_graph.index"),
57 SLC_VAR("linkgraph"),
60 /** Original field order for schedule_desc. */
61 const SaveLoadCompat _linkgraph_schedule_sl_compat[] = {
62 SLC_VAR("schedule"),
63 SLC_VAR("running"),
66 #endif /* SAVELOAD_COMPAT_LINKGRAPH_H */