OpenTTD Source  12.0-beta2
industry_sl_compat.h File Reference
#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _industry_sl_compat []
 Original field order for _industry_desc.
 
const SaveLoadCompat _industry_builder_sl_compat []
 Original field order for _industry_builder_desc. More...
 
const SaveLoadCompat _industrytype_builder_sl_compat []
 Original field order for _industrytype_builder_desc. More...
 

Detailed Description

Loading of industry chunks before table headers were added.

Definition in file industry_sl_compat.h.

Variable Documentation

◆ _industry_builder_sl_compat

const SaveLoadCompat _industry_builder_sl_compat[]
Initial value:
= {
SLC_VAR("wanted_inds"),
}

Original field order for _industry_builder_desc.

Definition at line 59 of file industry_sl_compat.h.

Referenced by IBLDChunkHandler::Load().

◆ _industrytype_builder_sl_compat

const SaveLoadCompat _industrytype_builder_sl_compat[]
Initial value:
= {
SLC_VAR("probability"),
SLC_VAR("min_number"),
SLC_VAR("target_count"),
SLC_VAR("max_wait"),
SLC_VAR("wait_count"),
}

Original field order for _industrytype_builder_desc.

Definition at line 64 of file industry_sl_compat.h.

Referenced by ITBLChunkHandler::Load().

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