|
OpenTTD Source
12.2
|
#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... | |
Variables | |
| static const CAPAChunkHandler | CAPA |
| static const ChunkHandlerRef | cargopacket_chunk_handlers [] |
| const ChunkHandlerTable | _cargopacket_chunk_handlers (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 88 of file cargopacket_sl.cpp.
References SLE_VAR.
Referenced by CAPAChunkHandler::Load(), and CAPAChunkHandler::Save().
|
static |
Definition at line 130 of file cargopacket_sl.cpp.