OpenTTD Source 20250206-master-g6089ed8059
|
Code handling saving and loading of rail type label mappings. More...
#include "../stdafx.h"
#include "saveload.h"
#include "compat/labelmaps_sl_compat.h"
#include "saveload_internal.h"
#include "../rail.h"
#include "../road.h"
#include "../newgrf_railtype.h"
#include "../newgrf_roadtype.h"
#include "../safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | RAILChunkHandler |
struct | ROTTChunkHandler |
Functions | |
void | AfterLoadLabelMaps () |
Perform rail type and road type conversion if necessary. | |
const ChunkHandlerTable | _labelmaps_chunk_handlers (labelmaps_chunk_handlers) |
Variables | |
std::vector< LabelObject< RailTypeLabel > > | _railtype_list |
std::vector< LabelObject< RoadTypeLabel > > | _roadtype_list |
static const RAILChunkHandler | RAIL |
static const ROTTChunkHandler | ROTT |
static const ChunkHandlerRef | labelmaps_chunk_handlers [] |
Code handling saving and loading of rail type label mappings.
Definition in file labelmaps_sl.cpp.
void AfterLoadLabelMaps | ( | ) |
Perform rail type and road type conversion if necessary.
Definition at line 27 of file labelmaps_sl.cpp.
References ConvertRailTypes(), ConvertRoadTypes(), SetCurrentRailTypeLabelList(), and SetCurrentRoadTypeLabelList().
Referenced by ReloadNewGRFData().
|
extern |
Definition at line 179 of file newgrf_railtype.cpp.
|
extern |
Definition at line 172 of file newgrf_roadtype.cpp.
|
static |
Definition at line 112 of file labelmaps_sl.cpp.
|
static |
Definition at line 109 of file labelmaps_sl.cpp.
|
static |
Definition at line 110 of file labelmaps_sl.cpp.