OpenTTD Source 20241224-master-gee860a5c8e
industry_sl_compat.h File Reference

Loading of industry chunks before table headers were added. More...

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _industry_accepts_sl_compat []
 
const SaveLoadCompat _industry_produced_history_sl_compat []
 
const SaveLoadCompat _industry_produced_sl_compat []
 
const SaveLoadCompat _industry_sl_compat []
 Original field order for _industry_desc.
 
const SaveLoadCompat _industry_builder_sl_compat []
 Original field order for _industry_builder_desc.
 
const SaveLoadCompat _industrytype_builder_sl_compat []
 Original field order for _industrytype_builder_desc.
 

Detailed Description

Loading of industry chunks before table headers were added.

Definition in file industry_sl_compat.h.

Variable Documentation

◆ _industry_accepts_sl_compat

const SaveLoadCompat _industry_accepts_sl_compat[]
Initial value:
= {
SLC_VAR("cargo"),
SLC_VAR("waiting"),
SLC_VAR("last_accepted"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247

Definition at line 15 of file industry_sl_compat.h.

◆ _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 77 of file industry_sl_compat.h.

Referenced by IBLDChunkHandler::Load().

◆ _industry_produced_history_sl_compat

const SaveLoadCompat _industry_produced_history_sl_compat[]
Initial value:
= {
SLC_VAR("production"),
SLC_VAR("transported"),
}

Definition at line 21 of file industry_sl_compat.h.

◆ _industry_produced_sl_compat

const SaveLoadCompat _industry_produced_sl_compat[]
Initial value:
= {
SLC_VAR("cargo"),
SLC_VAR("waiting"),
SLC_VAR("rate"),
}

Definition at line 26 of file industry_sl_compat.h.

◆ _industry_sl_compat

const SaveLoadCompat _industry_sl_compat[]

Original field order for _industry_desc.

Definition at line 33 of file industry_sl_compat.h.

Referenced by INDYChunkHandler::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 82 of file industry_sl_compat.h.

Referenced by ITBLChunkHandler::Load().