OpenTTD
|
Code handling saving and loading of engines. More...
#include "../stdafx.h"
#include "saveload_internal.h"
#include "../engine_base.h"
#include "../string_func.h"
#include <vector>
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
Engine * | GetTempDataEngine (EngineID index) |
static void | Save_ENGN () |
static void | Load_ENGN () |
void | CopyTempEngineData () |
Copy data from temporary engine array into the real engine pool. | |
static void | Load_ENGS () |
static void | Save_EIDS () |
static void | Load_EIDS () |
Variables | |
static const SaveLoad | _engine_desc [] |
static std::vector< Engine > | _temp_engine |
static const SaveLoad | _engine_id_mapping_desc [] |
Save and load the mapping between the engine id in the pool, and the grf file it came from. | |
const ChunkHandler | _engine_chunk_handlers [] |
Code handling saving and loading of engines.
Definition in file engine_sl.cpp.
const ChunkHandler _engine_chunk_handlers[] |
|
static |
Definition at line 20 of file engine_sl.cpp.
|
static |
Save and load the mapping between the engine id in the pool, and the grf file it came from.
Definition at line 149 of file engine_sl.cpp.