Code handling saving and loading of industries. More...
#include "../stdafx.h"#include "../industry.h"#include "../newgrf_commons.h"#include "saveload.h"Go to the source code of this file.
Functions | |
| static void | Save_INDY () |
| static void | Save_IIDS () |
| static void | Save_TIDS () |
| static void | Load_INDY () |
| static void | Load_IIDS () |
| static void | Load_TIDS () |
| static void | Ptrs_INDY () |
Variables | |
| static const SaveLoad | _industry_desc [] |
| static const SaveLoad | _industries_id_mapping_desc [] |
| const ChunkHandler | _industry_chunk_handlers [] |
Code handling saving and loading of industries.
Definition in file industry_sl.cpp.
const SaveLoad _industries_id_mapping_desc[] [static] |
{
SLE_VAR(EntityIDMapping, grfid, SLE_UINT32),
SLE_VAR(EntityIDMapping, entity_id, SLE_UINT8),
SLE_VAR(EntityIDMapping, substitute_id, SLE_UINT8),
}
Definition at line 77 of file industry_sl.cpp.
| const ChunkHandler _industry_chunk_handlers[] |
{
{ 'INDY', Save_INDY, Load_INDY, Ptrs_INDY, CH_ARRAY},
{ 'IIDS', Save_IIDS, Load_IIDS, NULL, CH_ARRAY},
{ 'TIDS', Save_TIDS, Load_TIDS, NULL, CH_ARRAY | CH_LAST},
}
1.6.1