Update: Translations from eints
[openttd-github.git] / src / saveload / compat / order_sl_compat.h
blob62c879cf130e03dafca0d29f5bd82fdef4103dc5
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 order_sl_compat.h Loading of order chunks before table headers were added. */
10 #ifndef SAVELOAD_COMPAT_ORDER_H
11 #define SAVELOAD_COMPAT_ORDER_H
13 #include "../saveload.h"
15 /** Original field order for _order_desc. */
16 const SaveLoadCompat _order_sl_compat[] = {
17 SLC_VAR("type"),
18 SLC_VAR("flags"),
19 SLC_VAR("dest"),
20 SLC_VAR("next"),
21 SLC_VAR("refit_cargo"),
22 SLC_NULL(1, SLV_36, SLV_182),
23 SLC_VAR("wait_time"),
24 SLC_VAR("travel_time"),
25 SLC_VAR("max_speed"),
26 SLC_NULL(10, SLV_5, SLV_36),
29 /** Original field order for _orderlist_desc. */
30 const SaveLoadCompat _orderlist_sl_compat[] = {
31 SLC_VAR("first"),
34 /** Original field order for _order_backup_desc. */
35 const SaveLoadCompat _order_backup_sl_compat[] = {
36 SLC_VAR("user"),
37 SLC_VAR("tile"),
38 SLC_VAR("group"),
39 SLC_VAR("service_interval"),
40 SLC_VAR("name"),
41 SLC_NULL(2, SL_MIN_VERSION, SLV_192),
42 SLC_VAR("clone"),
43 SLC_VAR("cur_real_order_index"),
44 SLC_VAR("cur_implicit_order_index"),
45 SLC_VAR("current_order_time"),
46 SLC_VAR("lateness_counter"),
47 SLC_VAR("timetable_start"),
48 SLC_VAR("vehicle_flags"),
49 SLC_VAR("orders"),
52 #endif /* SAVELOAD_COMPAT_ORDER_H */