OpenTTD Source  20241121-master-g67a0fccfad
game_sl_compat.h File Reference

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

#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"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1223

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"),
}
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1231
@ SLV_AI_LOCAL_CONFIG
332 PR#12003 Config of running AI is stored inside Company.
Definition: saveload.h:378
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31

Original field order for _game_script_desc.

Definition at line 16 of file game_sl_compat.h.