OpenTTD Source 20260711-master-g3fb3006dff
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.

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:1262
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1270
@ CargoPayments
Saveload version: 121, SVN revision: 16694 Perform payment of cargo after unloading.
Definition saveload.h:189
@ MinVersion
First savegame version.
Definition saveload.h:31

Original field order for _cargopacket_desc.

Definition at line 16 of file cargopacket_sl_compat.h.

Referenced by CAPAChunkHandler::Load().