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

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _cheats_sl_compat []
 Original field order for _cheats_desc.
 

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"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1255
@ SL_MIN_VERSION
First savegame version.
Definition saveload.h:31
@ SLV_TABLE_CHUNKS
295 PR#9322 Introduction of CH_TABLE and CH_SPARSE_TABLE.
Definition saveload.h:334

Original field order for _cheats_desc.

Definition at line 16 of file cheat_sl_compat.h.

Referenced by CHTSChunkHandler::Load().