|
OpenTTD Source
1.10.0-RC1
|
Code handling saving and loading of Cargo monitoring. More...
#include "../stdafx.h"#include "../cargomonitor.h"#include "saveload.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | TempStorage |
| Temporary storage of cargo monitoring data for loading or saving it. More... | |
Functions | |
| static CargoMonitorID | FixupCargoMonitor (CargoMonitorID number) |
| static void | SaveDelivery () |
| Save the _cargo_deliveries monitoring map. More... | |
| static void | LoadDelivery () |
| Load the _cargo_deliveries monitoring map. More... | |
| static void | SavePickup () |
| Save the _cargo_pickups monitoring map. More... | |
| static void | LoadPickup () |
| Load the _cargo_pickups monitoring map. More... | |
Variables | |
| static const SaveLoad | _cargomonitor_pair_desc [] |
| Description of the TempStorage structure for the purpose of load and save. More... | |
| const ChunkHandler | _cargomonitor_chunk_handlers [] |
| Chunk definition of the cargomonitoring maps. More... | |
Code handling saving and loading of Cargo monitoring.
Definition in file cargomonitor_sl.cpp.
|
static |
Load the _cargo_deliveries monitoring map.
Definition at line 65 of file cargomonitor_sl.cpp.
References ClearCargoDeliveryMonitoring(), IsSavegameVersionBefore(), SlIterateArray(), SlObject(), and SLV_FIX_CARGO_MONITOR.
|
static |
Load the _cargo_pickups monitoring map.
Definition at line 103 of file cargomonitor_sl.cpp.
References ClearCargoPickupMonitoring(), IsSavegameVersionBefore(), SlIterateArray(), SlObject(), and SLV_FIX_CARGO_MONITOR.
|
static |
Save the _cargo_deliveries monitoring map.
Definition at line 46 of file cargomonitor_sl.cpp.
References _cargo_deliveries.
|
static |
Save the _cargo_pickups monitoring map.
Definition at line 84 of file cargomonitor_sl.cpp.
References _cargo_pickups.
| const ChunkHandler _cargomonitor_chunk_handlers[] |
Chunk definition of the cargomonitoring maps.
|
static |
Description of the TempStorage structure for the purpose of load and save.
Definition at line 24 of file cargomonitor_sl.cpp.