OpenTTD Source  20240919-master-gdf0233f4c2
cheat_sl_compat.h File Reference
#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _cheats_sl_compat []
 Original field order for _cheats_desc. More...
 

Detailed Description

Loading for cheat chunks before table headers were added.

Definition in file cheat_sl_compat.h.

Variable Documentation

◆ _cheats_sl_compat

const SaveLoadCompat _cheats_sl_compat[]
Initial value:
= {
SLC_VAR("magic_bulldozer.been_used"),
SLC_VAR("magic_bulldozer.value"),
SLC_VAR("switch_company.been_used"),
SLC_VAR("switch_company.value"),
SLC_VAR("money.been_used"),
SLC_VAR("money.value"),
SLC_VAR("crossing_tunnels.been_used"),
SLC_VAR("crossing_tunnels.value"),
SLC_VAR("no_jetcrash.been_used"),
SLC_VAR("no_jetcrash.value"),
SLC_VAR("change_date.been_used"),
SLC_VAR("change_date.value"),
SLC_VAR("setup_prod.been_used"),
SLC_VAR("setup_prod.value"),
SLC_VAR("edit_max_hl.been_used"),
SLC_VAR("edit_max_hl.value"),
}

Original field order for _cheats_desc.

Definition at line 16 of file cheat_sl_compat.h.

Referenced by CHTSChunkHandler::Load().

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1207
SL_MIN_VERSION
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
SLC_NULL
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1215
SLV_TABLE_CHUNKS
@ SLV_TABLE_CHUNKS
295 PR#9322 Introduction of CH_TABLE and CH_SPARSE_TABLE.
Definition: saveload.h:334