|
OpenTTD Source 20260801-master-g0de95fb529
|
Code handling saving and loading of map. More...
#include "../stdafx.h"#include "saveload.h"#include "compat/map_sl_compat.h"#include "../map_func.h"#include "../core/bitmath_func.hpp"#include "../fios.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | MAPSChunkHandler |
| struct | MAPTChunkHandler |
| struct | MAPHChunkHandler |
| struct | MAPOChunkHandler |
| struct | MAP2ChunkHandler |
| struct | M3LOChunkHandler |
| struct | M3HIChunkHandler |
| struct | MAP5ChunkHandler |
| struct | MAPEChunkHandler |
| struct | MAP7ChunkHandler |
| struct | MAP8ChunkHandler |
Functions | |
| const ChunkHandlerTable | _map_chunk_handlers (map_chunk_handlers) |
Variables | |
| static uint32_t | _map_dim_x |
| static uint32_t | _map_dim_y |
| static const SaveLoad | _map_desc [] |
| static constexpr uint | MAP_SL_BUF_SIZE = MIN_MAP_SIZE * MIN_MAP_SIZE |
| Buffer size for saving/loading the map array. Sized to the smallest map. | |
| static const MAPSChunkHandler | MAPS |
| static const MAPTChunkHandler | MAPT |
| static const MAPHChunkHandler | MAPH |
| static const MAPOChunkHandler | MAPO |
| static const MAP2ChunkHandler | MAP2 |
| static const M3LOChunkHandler | M3LO |
| static const M3HIChunkHandler | M3HI |
| static const MAP5ChunkHandler | MAP5 |
| static const MAPEChunkHandler | MAPE |
| static const MAP7ChunkHandler | MAP7 |
| static const MAP8ChunkHandler | MAP8 |
| static const ChunkHandlerRef | map_chunk_handlers [] |
Code handling saving and loading of map.
Definition in file map_sl.cpp.
|
static |
Definition at line 24 of file map_sl.cpp.
|
static |
Definition at line 21 of file map_sl.cpp.
|
static |
Definition at line 22 of file map_sl.cpp.
|
static |
Definition at line 362 of file map_sl.cpp.
|
static |
Definition at line 361 of file map_sl.cpp.
|
static |
Definition at line 360 of file map_sl.cpp.
|
static |
Definition at line 363 of file map_sl.cpp.
|
static |
Definition at line 365 of file map_sl.cpp.
|
static |
Definition at line 366 of file map_sl.cpp.
|
static |
Definition at line 367 of file map_sl.cpp.
|
staticconstexpr |
Buffer size for saving/loading the map array. Sized to the smallest map.
Definition at line 67 of file map_sl.cpp.
Referenced by M3HIChunkHandler::Load(), M3LOChunkHandler::Load(), MAP2ChunkHandler::Load(), MAP5ChunkHandler::Load(), MAP7ChunkHandler::Load(), MAP8ChunkHandler::Load(), MAPEChunkHandler::Load(), MAPHChunkHandler::Load(), MAPOChunkHandler::Load(), MAPTChunkHandler::Load(), M3HIChunkHandler::Save(), M3LOChunkHandler::Save(), MAP2ChunkHandler::Save(), MAP5ChunkHandler::Save(), MAP7ChunkHandler::Save(), MAP8ChunkHandler::Save(), MAPEChunkHandler::Save(), MAPHChunkHandler::Save(), MAPOChunkHandler::Save(), and MAPTChunkHandler::Save().
|
static |
Definition at line 364 of file map_sl.cpp.
|
static |
Definition at line 358 of file map_sl.cpp.
|
static |
Definition at line 359 of file map_sl.cpp.
|
static |
Definition at line 356 of file map_sl.cpp.
|
static |
Definition at line 357 of file map_sl.cpp.