OpenTTD Source
20241108-master-g80f628063a
|
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. More... | |
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 119 of file cargopacket_sl.cpp.
Referenced by CAPAChunkHandler::Load(), and CAPAChunkHandler::Save().
|
static |
Definition at line 166 of file cargopacket_sl.cpp.