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

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

#include "../saveload.h"

Go to the source code of this file.

Variables

const SaveLoadCompat _object_sl_compat []
 Original field order for _object_desc.
 

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"),
}
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1247

Original field order for _object_desc.

Definition at line 16 of file object_sl_compat.h.

Referenced by OBJSChunkHandler::Load().