OpenTTD Source  20240919-master-gdf0233f4c2
cargopacket_sl_compat.h File Reference
#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _cargopacket_sl_compat []
 Original field order for _cargopacket_desc. More...
 

Detailed Description

Loading for cargopacket chunks before table headers were added.

Definition in file cargopacket_sl_compat.h.

Variable Documentation

◆ _cargopacket_sl_compat

const SaveLoadCompat _cargopacket_sl_compat[]
Initial value:
= {
SLC_VAR("source"),
SLC_VAR("source_xy"),
SLC_VAR("loaded_at_xy"),
SLC_VAR("count"),
SLC_VAR("days_in_transit"),
SLC_VAR("feeder_share"),
SLC_VAR("source_type"),
SLC_VAR("source_id"),
}

Original field order for _cargopacket_desc.

Definition at line 16 of file cargopacket_sl_compat.h.

Referenced by CAPAChunkHandler::Load().

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1207
SL_MIN_VERSION
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
SLC_NULL
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1215
SLV_121
@ SLV_121
121 16694
Definition: saveload.h:188