|
OpenTTD
|
Code handling saving and loading of persistent storages. More...
#include "../stdafx.h"#include "../newgrf_storage.h"#include "saveload.h"#include "../safeguards.h"Go to the source code of this file.
Functions | |
| static void | Load_PSAC () |
| Load persistent storage data. | |
| static void | Save_PSAC () |
| Save persistent storage data. | |
Variables | |
| static const SaveLoad | _storage_desc [] |
| Description of the data to save and load in PersistentStorage. | |
| const ChunkHandler | _persistent_storage_chunk_handlers [] |
| Chunk handler for persistent storages. | |
Code handling saving and loading of persistent storages.
Definition in file storage_sl.cpp.
|
static |
Load persistent storage data.
Definition at line 26 of file storage_sl.cpp.
References Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem<&_persistent_storage_pool >::CanAllocateItem(), SlIterateArray(), and SlObject().
|
static |
Save persistent storage data.
Definition at line 38 of file storage_sl.cpp.
References PersistentStorageArray< TYPE, SIZE >::ClearChanges(), Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tpool_type, Tcache, Tzero >::PoolItem< Tpool >::index, and SlObject().
| const ChunkHandler _persistent_storage_chunk_handlers[] |
|
static |
Description of the data to save and load in PersistentStorage.
Definition at line 19 of file storage_sl.cpp.
1.8.1.2