|
OpenTTD Source
12.2
|
#include "../stdafx.h"#include "saveload.h"#include "compat/misc_sl_compat.h"#include "../date_func.h"#include "../zoom_func.h"#include "../window_gui.h"#include "../window_func.h"#include "../viewport_func.h"#include "../gfx_func.h"#include "../core/random_func.hpp"#include "../fios.h"#include "../safeguards.h"Go to the source code of this file.
Data Structures | |
| struct | DATEChunkHandler |
| struct | VIEWChunkHandler |
Functions | |
| void | SaveViewportBeforeSaveGame () |
| void | ResetViewportAfterLoadGame () |
Variables | |
| TileIndex | _cur_tileloop_tile |
| uint16 | _disaster_delay |
| Delay counter for considering the next disaster. | |
| byte | _trees_tick_ctr |
| Determines when to consider building more trees. | |
| int | _saved_scrollpos_x |
| int | _saved_scrollpos_y |
| ZoomLevel | _saved_scrollpos_zoom |
| byte | _age_cargo_skip_counter |
| Skip aging of cargo? Used before savegame version 162. | |
| static const SaveLoad | _date_desc [] |
| static const SaveLoad | _date_check_desc [] |
| static const SaveLoad | _view_desc [] |
| static const DATEChunkHandler | DATE |
| static const VIEWChunkHandler | VIEW |
| static const ChunkHandlerRef | misc_chunk_handlers [] |
| const ChunkHandlerTable | _misc_chunk_handlers (misc_chunk_handlers) |
Saving and loading of things that didn't fit anywhere else
Definition in file misc_sl.cpp.
|
static |
Definition at line 91 of file misc_sl.cpp.
|
static |
Definition at line 73 of file misc_sl.cpp.
|
static |
Definition at line 134 of file misc_sl.cpp.
|
static |
Definition at line 165 of file misc_sl.cpp.