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

Go to the source code of this file.

Variables

const SaveLoadCompat _game_script_sl_compat []
 Original field order for _game_script_desc. More...
 
const SaveLoadCompat _game_language_string_sl_compat []
 Original field order for SlGameLanguageString. More...
 
const SaveLoadCompat _game_language_sl_compat []
 Original field order for _game_language_desc. More...
 

Detailed Description

Loading for game chunks before table headers were added.

Definition in file game_sl_compat.h.

Variable Documentation

◆ _game_language_sl_compat

const SaveLoadCompat _game_language_sl_compat[]
Initial value:
= {
SLC_VAR("language"),
SLC_VAR("count"),
SLC_VAR("strings"),
}

Original field order for _game_language_desc.

Definition at line 29 of file game_sl_compat.h.

◆ _game_language_string_sl_compat

const SaveLoadCompat _game_language_string_sl_compat[]
Initial value:
= {
SLC_VAR("string"),
}

Original field order for SlGameLanguageString.

Definition at line 24 of file game_sl_compat.h.

◆ _game_script_sl_compat

const SaveLoadCompat _game_script_sl_compat[]
Initial value:
= {
SLC_VAR("name"),
SLC_VAR("settings"),
SLC_VAR("version"),
}

Original field order for _game_script_desc.

Definition at line 16 of file game_sl_compat.h.

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_AI_LOCAL_CONFIG
@ SLV_AI_LOCAL_CONFIG
332 PR#12003 Config of running AI is stored inside Company.
Definition: saveload.h:378