|
OpenTTD
|
Code handling saving and loading of industries. More...
#include "../stdafx.h"#include "../industry.h"#include "saveload.h"#include "newgrf_sl.h"#include "../safeguards.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 () |
| static void | LoadSave_IBLD () |
| Load/save industry builder. | |
| static void | Save_ITBL () |
| Save industry-type build data. | |
| static void | Load_ITBL () |
| Load industry-type build data. | |
Variables | |
| static OldPersistentStorage | _old_ind_persistent_storage |
| static const SaveLoad | _industry_desc [] |
| static const SaveLoad | _industry_builder_desc [] |
| Description of the data to save and load in IndustryBuildData. | |
| static const SaveLoad | _industrytype_builder_desc [] |
| Description of the data to save and load in IndustryTypeBuildData. | |
| const ChunkHandler | _industry_chunk_handlers [] |
Code handling saving and loading of industries.
Definition in file industry_sl.cpp.
|
static |
Load industry-type build data.
Definition at line 161 of file industry_sl.cpp.
References _industry_builder, IndustryBuildData::builddata, NUM_INDUSTRYTYPES, IndustryTypeBuildData::Reset(), SlErrorCorrupt(), SlIterateArray(), and SlObject().
|
static |
Load/save industry builder.
Definition at line 136 of file industry_sl.cpp.
References SlGlobList().
|
static |
Save industry-type build data.
Definition at line 152 of file industry_sl.cpp.
References _industry_builder, IndustryBuildData::builddata, NUM_INDUSTRYTYPES, and SlObject().
|
static |
Description of the data to save and load in IndustryBuildData.
Definition at line 130 of file industry_sl.cpp.
| const ChunkHandler _industry_chunk_handlers[] |
|
static |
Description of the data to save and load in IndustryTypeBuildData.
Definition at line 142 of file industry_sl.cpp.
1.8.1.2