OpenTTD Source  20241121-master-g67a0fccfad
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. More...
 
const SaveLoadCompat _grfconfig_sl_compat []
 Original field order for _newgrf_desc. More...
 

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

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().