OpenTTD Source  20241121-master-g67a0fccfad
cargopacket_sl_compat.h File Reference

Loading for cargopacket chunks before table headers were added. More...

#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"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1223
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1231
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
@ SLV_121
121 16694
Definition: saveload.h:188

Original field order for _cargopacket_desc.

Definition at line 16 of file cargopacket_sl_compat.h.

Referenced by CAPAChunkHandler::Load().