OpenTTD Source
20241108-master-g80f628063a
|
Code handling saving and loading of Cargo monitoring. More...
#include "../stdafx.h"
#include "saveload.h"
#include "compat/cargomonitor_sl_compat.h"
#include "../cargomonitor.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... | |
struct | CMDLChunkHandler |
_cargo_deliveries monitoring map. More... | |
struct | CMPUChunkHandler |
_cargo_pickups monitoring map. More... | |
Functions | |
static CargoMonitorID | FixupCargoMonitor (CargoMonitorID number) |
const ChunkHandlerTable | _cargomonitor_chunk_handlers (cargomonitor_chunk_handlers) |
Variables | |
static const SaveLoad | _cargomonitor_pair_desc [] |
Description of the TempStorage structure for the purpose of load and save. More... | |
static const CMDLChunkHandler | CMDL |
Chunk definition of the cargomonitoring maps. | |
static const CMPUChunkHandler | CMPU |
static const ChunkHandlerRef | cargomonitor_chunk_handlers [] |
Code handling saving and loading of Cargo monitoring.
Definition in file cargomonitor_sl.cpp.
|
static |
Description of the TempStorage structure for the purpose of load and save.
Definition at line 26 of file cargomonitor_sl.cpp.
Referenced by CMDLChunkHandler::Load(), CMPUChunkHandler::Load(), CMDLChunkHandler::Save(), and CMPUChunkHandler::Save().
|
static |
Definition at line 135 of file cargomonitor_sl.cpp.