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 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
[] = {
21 SLC_VAR("refit_cargo"),
22 SLC_NULL(1, SLV_36
, SLV_182
),
24 SLC_VAR("travel_time"),
26 SLC_NULL(10, SLV_5
, SLV_36
),
29 /** Original field order for _orderlist_desc. */
30 const SaveLoadCompat _orderlist_sl_compat
[] = {
34 /** Original field order for _order_backup_desc. */
35 const SaveLoadCompat _order_backup_sl_compat
[] = {
39 SLC_VAR("service_interval"),
41 SLC_NULL(2, SL_MIN_VERSION
, SLV_192
),
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"),
52 #endif /* SAVELOAD_COMPAT_ORDER_H */