OpenTTD Source  20240919-master-gdf0233f4c2
object_sl_compat.h File Reference
#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _object_sl_compat []
 Original field order for _object_desc. More...
 

Detailed Description

Loading of object chunks before table headers were added.

Definition in file object_sl_compat.h.

Variable Documentation

◆ _object_sl_compat

const SaveLoadCompat _object_sl_compat[]
Initial value:
= {
SLC_VAR("location.tile"),
SLC_VAR("location.w"),
SLC_VAR("location.h"),
SLC_VAR("town"),
SLC_VAR("build_date"),
SLC_VAR("colour"),
SLC_VAR("view"),
SLC_VAR("type"),
}

Original field order for _object_desc.

Definition at line 16 of file object_sl_compat.h.

SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition: saveload.h:1207