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

Go to the source code of this file.

Variables

const SaveLoadCompat _cargomonitor_pair_sl_compat []
 Original field order for _cargomonitor_pair_desc. More...
 

Detailed Description

Loading for cargomonitor chunks before table headers were added.

Definition in file cargomonitor_sl_compat.h.

Variable Documentation

◆ _cargomonitor_pair_sl_compat

const SaveLoadCompat _cargomonitor_pair_sl_compat[]
Initial value:
= {
SLC_VAR("number"),
SLC_VAR("amount"),
}

Original field order for _cargomonitor_pair_desc.

Definition at line 16 of file cargomonitor_sl_compat.h.

Referenced by CMDLChunkHandler::Load(), and CMPUChunkHandler::Load().

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1207