OpenTTD Source: src/saveload/compat/newgrf_sl_compat.h File Reference

OpenTTD Source 15.3

Variables
newgrf_sl_compat.h File Reference

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

`#include "../saveload.h"`

Go to the source code of this file.

## Variables
const SaveLoadCompat | _newgrf_mapping_sl_compat []
| Original field order for _newgrf_mapping_desc.
const SaveLoadCompat | _grfconfig_sl_compat []
| Original field order for _newgrf_desc.

## Detailed Description

Loading of newgrf chunks before table headers were added.

Definition in file newgrf_sl_compat.h.

## Variable Documentation

## ◆ _grfconfig_sl_compat

const SaveLoadCompat _grfconfig_sl_compat[]

Initial value:
= {
SLC_VAR("filename"),
SLC_VAR("ident.grfid"),
SLC_VAR("ident.md5sum"),
SLC_VAR("version"),
SLC_VAR("param"),
SLC_VAR("num_params"),
SLC_VAR("palette"),
}
SLC_VAR
#define SLC_VAR(name)
Field name where the real SaveLoad can be located.
Definition saveload.h:1262

Original field order for _newgrf_desc.

Definition at line 23 of file newgrf_sl_compat.h.

## ◆ _newgrf_mapping_sl_compat

const SaveLoadCompat _newgrf_mapping_sl_compat[]

Initial value:
= {
SLC_VAR("grfid"),
SLC_VAR("entity_id"),
SLC_VAR("substitute_id"),
}

Original field order for _newgrf_mapping_desc.

Definition at line 16 of file newgrf_sl_compat.h.

Referenced by NewGRFMappingChunkHandler::Load().