OpenTTD Source 20241224-master-gf74b0cf984
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:1247
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1255
@ SL_MIN_VERSION
First savegame version.
Definition saveload.h:31
@ SLV_192
192 26700 FS#6066 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"),
}
@ SLV_182
182 25115 FS#5492, r25259, r25296 Goal status
Definition saveload.h:261
@ SLV_36
36 6624
Definition saveload.h:86
@ SLV_5
5.0 1429 5.1 1440 5.2 1525 0.3.6
Definition saveload.h:43

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().