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

Loading of settings chunks before table headers were added. More...

#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_VAR("vehicle.road_side"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1223
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1231
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
@ SLV_165
165 23304
Definition: saveload.h:241
@ SLV_22
22 3726
Definition: saveload.h:69
@ SLV_23
23 3915
Definition: saveload.h:70

Original field order for _gameopt.

Definition at line 16 of file settings_sl_compat.h.