Code handling saving and loading of NewGRF mappings.
A number of safeguards to prevent using unsafe methods.
Functions/types related to saving and loading games.
std::reference_wrapper< const ChunkHandler > ChunkHandlerRef
A reference to ChunkHandler.
std::span< const ChunkHandlerRef > ChunkHandlerTable
A table of ChunkHandler entries.
Definition of base types and functions in a cross-platform compatible way.
NewGRFMappingChunkHandler(ChunkId id, OverrideManagerBase &mapping)
Create the handler.