OpenTTD Source 20241224-master-gee860a5c8e
group_sl_compat.h File Reference

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _group_sl_compat []
 Original field order for _group_desc.
 

Detailed Description

Loading of group chunks before table headers were added.

Definition in file group_sl_compat.h.

Variable Documentation

◆ _group_sl_compat

const SaveLoadCompat _group_sl_compat[]
Initial value:
= {
SLC_VAR("name"),
SLC_VAR("owner"),
SLC_VAR("vehicle_type"),
SLC_VAR("flags"),
SLC_VAR("livery.in_use"),
SLC_VAR("livery.colour1"),
SLC_VAR("livery.colour2"),
SLC_VAR("parent"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247
#define SLC_NULL(length, from, to)
Empty space in every savegame version.
Definition saveload.h:1255
@ SLV_164
164 23290
Definition saveload.h:239
@ SL_MIN_VERSION
First savegame version.
Definition saveload.h:31

Original field order for _group_desc.

Definition at line 16 of file group_sl_compat.h.

Referenced by GRPSChunkHandler::Load().