OpenTTD Source 20260704-master-gbf70c61fb8
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:1258
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1266
@ TableChunks
Saveload version: 295, GitHub pull request: 9322 Introduction of ChunkType::Table and ChunkType::Spa...
Definition saveload.h:334
@ MinVersion
First savegame version.
Definition saveload.h:31

Original field order for _cheats_desc.

Definition at line 16 of file cheat_sl_compat.h.

Referenced by CHTSChunkHandler::Load().