OpenTTD Source  20241108-master-g80f628063a
company_sl_compat.h File Reference

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _company_old_ai_buildrec_compat []
 Original field order for SlCompanyOldAIBuildRec. More...
 
const SaveLoadCompat _company_old_ai_compat []
 Original field order for SlCompanyOldAI. More...
 
const SaveLoadCompat _company_settings_compat []
 Original field order for SlCompanySettings. More...
 
const SaveLoadCompat _company_economy_compat []
 Original field order for SlCompanyEconomy. More...
 
const SaveLoadCompat _company_liveries_compat []
 Original field order for SlCompanyLiveries. More...
 
const SaveLoadCompat _company_sl_compat []
 Original field order for company_desc.
 

Detailed Description

Loading of company chunks before table headers were added.

Definition in file company_sl_compat.h.

Variable Documentation

◆ _company_economy_compat

const SaveLoadCompat _company_economy_compat[]
Initial value:
= {
SLC_VAR("income"),
SLC_VAR("expenses"),
SLC_VAR("company_value"),
SLC_VAR("delivered_cargo[NUM_CARGO - 1]"),
SLC_VAR("delivered_cargo"),
SLC_VAR("performance_history"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211

Original field order for SlCompanyEconomy.

Definition at line 73 of file company_sl_compat.h.

◆ _company_liveries_compat

const SaveLoadCompat _company_liveries_compat[]
Initial value:
= {
SLC_VAR("in_use"),
SLC_VAR("colour1"),
SLC_VAR("colour2"),
}

Original field order for SlCompanyLiveries.

Definition at line 83 of file company_sl_compat.h.

◆ _company_old_ai_buildrec_compat

const SaveLoadCompat _company_old_ai_buildrec_compat[]
Initial value:
= {
}
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1219
@ SLV_107
107 15027
Definition: saveload.h:171
@ SLV_6
6.0 1721 6.1 1768
Definition: saveload.h:46
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31

Original field order for SlCompanyOldAIBuildRec.

Definition at line 16 of file company_sl_compat.h.

◆ _company_old_ai_compat

const SaveLoadCompat _company_old_ai_compat[]

◆ _company_settings_compat

const SaveLoadCompat _company_settings_compat[]
Initial value:
= {
SLC_VAR("engine_renew_list"),
SLC_VAR("settings.engine_renew"),
SLC_VAR("settings.engine_renew_months"),
SLC_VAR("settings.engine_renew_money"),
SLC_VAR("settings.renew_keep_length"),
SLC_VAR("settings.vehicle.servint_ispercent"),
SLC_VAR("settings.vehicle.servint_trains"),
SLC_VAR("settings.vehicle.servint_roadveh"),
SLC_VAR("settings.vehicle.servint_aircraft"),
SLC_VAR("settings.vehicle.servint_ships"),
}
@ SLV_16
16.0 2817 16.1 3155
Definition: saveload.h:60
@ SLV_144
144 20334
Definition: saveload.h:215
@ SLV_19
19 3396
Definition: saveload.h:65

Original field order for SlCompanySettings.

Definition at line 57 of file company_sl_compat.h.