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

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _economy_sl_compat []
 Original field order for _economy_desc.
 
const SaveLoadCompat _cargopayment_sl_compat []
 Original field order for _cargopayment_desc.
 

Detailed Description

Loading for economy chunks before table headers were added.

Definition in file economy_sl_compat.h.

Variable Documentation

◆ _cargopayment_sl_compat

const SaveLoadCompat _cargopayment_sl_compat[]
Initial value:
= {
SLC_VAR("front"),
SLC_VAR("route_profit"),
SLC_VAR("visual_profit"),
SLC_VAR("visual_transfer"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247

Original field order for _cargopayment_desc.

Definition at line 31 of file economy_sl_compat.h.

Referenced by CAPYChunkHandler::Load().

◆ _economy_sl_compat

const SaveLoadCompat _economy_sl_compat[]
Initial value:
= {
SLC_VAR("old_max_loan_unround"),
SLC_VAR("old_max_loan_unround_fract"),
SLC_VAR("inflation_prices"),
SLC_VAR("inflation_payment"),
SLC_VAR("fluct"),
SLC_VAR("interest_rate"),
SLC_VAR("infl_amount"),
SLC_VAR("infl_amount_pr"),
SLC_VAR("industry_daily_change_counter"),
}
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1255
@ SLV_65
65 10210
Definition saveload.h:121
@ SL_MIN_VERSION
First savegame version.
Definition saveload.h:31
@ SLV_144
144 20334
Definition saveload.h:215

Original field order for _economy_desc.

Definition at line 16 of file economy_sl_compat.h.

Referenced by ECMYChunkHandler::Load().