OpenTTD Source: src/saveload/compat/economy_sl_compat.h File Reference

OpenTTD Source 13.2.1

Variables
economy_sl_compat.h File Reference
`#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"),
}

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_NULL(4, SL_MIN_VERSION, SLV_65),
SLC_NULL(8, SLV_65, SLV_144),
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"),
}

Original field order for _economy_desc.

Definition at line 16 of file economy_sl_compat.h.

SLV_65
@ SLV_65
65 10210
Definition: saveload.h:125
SLV_144
@ SLV_144
144 20334
Definition: saveload.h:219
SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1011
SL_MIN_VERSION
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:35
SLC_NULL
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1019