OpenTTD Source 20260711-master-g3fb3006dff
order_sl_compat.h File Reference

Loading of order chunks before table headers were added. More...

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _order_sl_compat []
 Original field order for _order_desc.
const SaveLoadCompat _orderlist_sl_compat []
 Original field order for _orderlist_desc.
const SaveLoadCompat _order_backup_sl_compat []
 Original field order for _order_backup_desc.

Detailed Description

Loading of order chunks before table headers were added.

Definition in file order_sl_compat.h.

Variable Documentation

◆ _order_backup_sl_compat

const SaveLoadCompat _order_backup_sl_compat[]
Initial value:
= {
SLC_VAR("user"),
SLC_VAR("tile"),
SLC_VAR("group"),
SLC_VAR("service_interval"),
SLC_VAR("name"),
SLC_VAR("clone"),
SLC_VAR("cur_real_order_index"),
SLC_VAR("cur_implicit_order_index"),
SLC_VAR("current_order_time"),
SLC_VAR("lateness_counter"),
SLC_VAR("timetable_start"),
SLC_VAR("vehicle_flags"),
SLC_VAR("orders"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1262
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1270
@ MinVersion
First savegame version.
Definition saveload.h:31
@ FixOrderBackup
Saveload version: 192, SVN revision: 26700 Fix saving of order backups.
Definition saveload.h:274

Original field order for _order_backup_desc.

Definition at line 35 of file order_sl_compat.h.

Referenced by BKORChunkHandler::Load().

◆ _order_sl_compat

const SaveLoadCompat _order_sl_compat[]
Initial value:
= {
SLC_VAR("type"),
SLC_VAR("flags"),
SLC_VAR("dest"),
SLC_VAR("next"),
SLC_VAR("refit_cargo"),
SLC_VAR("wait_time"),
SLC_VAR("travel_time"),
SLC_VAR("max_speed"),
}
@ GoalProgressPlaneAcceleration
Saveload version: 182, SVN revision: 25115, r25259, r25296 Goal status and plane acceleration fixes.
Definition saveload.h:262
@ BigMap
Saveload version: 5.0, SVN revision: 1429 Making maps a different size than 256x256.
Definition saveload.h:44
@ RefitOrders
Saveload version: 36, SVN revision: 6624 Vehicles can be refitted as part of an order.
Definition saveload.h:87

Original field order for _order_desc.

Definition at line 16 of file order_sl_compat.h.

Referenced by ORDRChunkHandler::Load().

◆ _orderlist_sl_compat

const SaveLoadCompat _orderlist_sl_compat[]
Initial value:
= {
SLC_VAR("first"),
}

Original field order for _orderlist_desc.

Definition at line 30 of file order_sl_compat.h.

Referenced by ORDLChunkHandler::Load().