OpenTTD Source 20241224-master-gee860a5c8e
|
Handles the saveload part of the GameScripts. More...
#include "../stdafx.h"
#include "../debug.h"
#include "saveload.h"
#include "compat/game_sl_compat.h"
#include "../string_func.h"
#include "../game/game.hpp"
#include "../game/game_config.hpp"
#include "../network/network.h"
#include "../game/game_instance.hpp"
#include "../game/game_text.hpp"
#include "../safeguards.h"
Go to the source code of this file.
Data Structures | |
struct | GSDTChunkHandler |
class | SlGameLanguageString |
struct | GSTRChunkHandler |
Functions | |
static void | SaveReal_GSDT (int) |
const ChunkHandlerTable | _game_chunk_handlers (game_chunk_handlers) |
Variables | |
static std::string | _game_saveload_name |
static int | _game_saveload_version |
static std::string | _game_saveload_settings |
static const SaveLoad | _game_script_desc [] |
GameStrings * | _current_data |
The currently loaded game strings. | |
static std::string | _game_saveload_string |
static uint32_t | _game_saveload_strings |
static const SaveLoad | _game_language_desc [] |
static const GSTRChunkHandler | GSTR |
static const GSDTChunkHandler | GSDT |
static const ChunkHandlerRef | game_chunk_handlers [] |
Handles the saveload part of the GameScripts.
Definition in file game_sl.cpp.
|
static |
Definition at line 35 of file game_sl.cpp.
|
extern |
The currently loaded game strings.
Definition at line 311 of file game_text.cpp.
Referenced by GetGameStringName(), GetGameStringParams(), GetGameStringPtr(), GSTRChunkHandler::Load(), ReconsiderGameScriptLanguage(), RegisterGameTranslation(), and GSTRChunkHandler::Save().
|
static |
Definition at line 149 of file game_sl.cpp.
|
static |
Definition at line 25 of file game_sl.cpp.
|
static |
Definition at line 27 of file game_sl.cpp.
|
static |
Definition at line 118 of file game_sl.cpp.
|
static |
Definition at line 119 of file game_sl.cpp.
|
static |
Definition at line 26 of file game_sl.cpp.
|
static |
Definition at line 29 of file game_sl.cpp.
|
static |
Definition at line 197 of file game_sl.cpp.
|
static |
Definition at line 196 of file game_sl.cpp.
|
static |
Definition at line 195 of file game_sl.cpp.