OpenTTD Source: src/saveload/compat/game_sl_compat.h File Reference

OpenTTD Source 14.0-beta3

Variables
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"),
SLC_VAR("is_random"),
}

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:1184