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

OpenTTD Source 14.0-beta3

Variables
settings_sl_compat.h File Reference
`#include "../saveload.h"`

Go to the source code of this file.

## Variables
const SaveLoadCompat | _gameopt_sl_compat []
| Original field order for _gameopt. More...
const SaveLoadCompat | _settings_sl_compat []
| Original field order for _settings.

## Detailed Description

Loading of settings chunks before table headers were added.

Definition in file settings_sl_compat.h.

## Variable Documentation

## ◆ _gameopt_sl_compat

const SaveLoadCompat _gameopt_sl_compat[]

Initial value:
= {
SLC_VAR("diff_custom"),
SLC_VAR("diff_level"),
SLC_VAR("locale.currency"),
SLC_VAR("units"),
SLC_VAR("game_creation.town_name"),
SLC_VAR("game_creation.landscape"),
SLC_VAR("game_creation.snow_line_height"),
SLC_NULL(1, SLV_22, SLV_165),
SLC_NULL(1, SL_MIN_VERSION, SLV_23),
SLC_VAR("vehicle.road_side"),
}

Original field order for _gameopt.

Definition at line 16 of file settings_sl_compat.h.

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1184
SL_MIN_VERSION
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
SLV_165
@ SLV_165
165 23304
Definition: saveload.h:241
SLC_NULL
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1192
SLV_23
@ SLV_23
23 3915
Definition: saveload.h:70
SLV_22
@ SLV_22
22 3726
Definition: saveload.h:69