OpenTTD Source  20241111-master-gce64d5f5d9
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. More...
 
const SaveLoadCompat _cargopayment_sl_compat []
 Original field order for _cargopayment_desc. More...
 

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:1211

Original field order for _cargopayment_desc.

Definition at line 31 of file economy_sl_compat.h.

◆ _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:1219
@ 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.