OpenTTD Source
20240919-master-gdf0233f4c2
|
#include "../stdafx.h"
#include "saveload.h"
#include "compat/labelmaps_sl_compat.h"
#include "saveload_internal.h"
#include "../station_map.h"
#include "../tunnelbridge_map.h"
#include "../safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | LabelObject |
Container for a label for SaveLoad system. More... | |
struct | RAILChunkHandler |
Functions | |
static bool | NeedRailTypeConversion () |
Test if any saved rail type labels are different to the currently loaded rail types, which therefore requires conversion. More... | |
void | AfterLoadLabelMaps () |
void | ResetLabelMaps () |
const ChunkHandlerTable | _labelmaps_chunk_handlers (labelmaps_chunk_handlers) |
Variables | |
static std::vector< RailTypeLabel > | _railtype_list |
static const SaveLoad | _label_object_desc [] |
static const RAILChunkHandler | RAIL |
static const ChunkHandlerRef | labelmaps_chunk_handlers [] |
Code handling saving and loading of rail type label mappings
Definition in file labelmaps_sl.cpp.
|
static |
Test if any saved rail type labels are different to the currently loaded rail types, which therefore requires conversion.
Definition at line 28 of file labelmaps_sl.cpp.
|
static |
Definition at line 98 of file labelmaps_sl.cpp.
|
static |
Definition at line 135 of file labelmaps_sl.cpp.