OpenTTD Source  20241111-master-gce64d5f5d9
misc_sl_compat.h File Reference

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _date_sl_compat []
 Original field order for _date_desc. More...
 
const SaveLoadCompat _date_check_sl_compat []
 Original field order for _date_check_desc. More...
 
const SaveLoadCompat _view_sl_compat []
 Original field order for _view_desc. More...
 

Detailed Description

Loading for misc chunks before table headers were added.

Definition in file misc_sl_compat.h.

Variable Documentation

◆ _date_check_sl_compat

const SaveLoadCompat _date_check_sl_compat[]
Initial value:
= {
SLC_VAR("date"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1211
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition: saveload.h:1219
@ SLV_4
4.0 1 4.1 122 0.3.3, 0.3.4 4.2 1222 0.3.5 4.3 1417 4.4 1426
Definition: saveload.h:37
@ SLV_6
6.0 1721 6.1 1768
Definition: saveload.h:46
@ SLV_11
11.0 2033 11.1 2041
Definition: saveload.h:53
@ SLV_120
120 16439
Definition: saveload.h:187
@ SLV_46
46 8705
Definition: saveload.h:98
@ SL_MAX_VERSION
Highest possible saveload version.
Definition: saveload.h:395
@ SL_MIN_VERSION
First savegame version.
Definition: saveload.h:31
@ SLV_157
157 21862
Definition: saveload.h:231
@ SLV_10
10.0 2030
Definition: saveload.h:52
@ SLV_109
109 15075
Definition: saveload.h:173
@ SLV_162
162 22713
Definition: saveload.h:237

Original field order for _date_check_desc.

Definition at line 38 of file misc_sl_compat.h.

◆ _date_sl_compat

const SaveLoadCompat _date_sl_compat[]
Initial value:
= {
SLC_VAR("date"),
SLC_VAR("date_fract"),
SLC_VAR("tick_counter"),
SLC_VAR("age_cargo_skip_counter"),
SLC_VAR("cur_tileloop_tile"),
SLC_VAR("next_disaster_start"),
SLC_VAR("random_state[0]"),
SLC_VAR("random_state[1]"),
SLC_VAR("company_tick_counter"),
SLC_VAR("next_competitor_start"),
SLC_VAR("trees_tick_counter"),
SLC_VAR("pause_mode"),
}

Original field order for _date_desc.

Definition at line 16 of file misc_sl_compat.h.

◆ _view_sl_compat

const SaveLoadCompat _view_sl_compat[]
Initial value:
= {
SLC_VAR("x"),
SLC_VAR("y"),
SLC_VAR("zoom"),
}

Original field order for _view_desc.

Definition at line 62 of file misc_sl_compat.h.