|
OpenTTD Source 20251104-master-g3befbdd52f
|
Code handling saving and loading of cargo packets. More...
#include "../stdafx.h"#include "saveload.h"#include "compat/cargopacket_sl_compat.h"#include "../vehicle_base.h"#include "../station_base.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | CAPAChunkHandler |
Functions | |
| SaveLoadTable | GetCargoPacketDesc () |
| Wrapper function to get the CargoPacket's internal structure while some of the variables itself are private. | |
| const ChunkHandlerTable | _cargopacket_chunk_handlers (cargopacket_chunk_handlers) |
Variables | |
| static const CAPAChunkHandler | CAPA |
| static const ChunkHandlerRef | cargopacket_chunk_handlers [] |
Code handling saving and loading of cargo packets.
Definition in file cargopacket_sl.cpp.
| SaveLoadTable GetCargoPacketDesc | ( | ) |
Wrapper function to get the CargoPacket's internal structure while some of the variables itself are private.
We want this to be saved, right?
Definition at line 125 of file cargopacket_sl.cpp.
Referenced by CAPAChunkHandler::Load(), and CAPAChunkHandler::Save().
|
static |
Definition at line 171 of file cargopacket_sl.cpp.
|
static |
Definition at line 172 of file cargopacket_sl.cpp.