Handles the saveload part of the GameScripts. More...
#include "../stdafx.h"#include "../debug.h"#include "saveload.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"Go to the source code of this file.
Functions | |
| static void | SaveReal_GSDT (int *index_ptr) |
| static void | Load_GSDT () |
| static void | Save_GSDT () |
| static void | SaveReal_GSTR (LanguageStrings *ls) |
| static void | Load_GSTR () |
| static void | Save_GSTR () |
Variables | |
| static char | _game_saveload_name [64] |
| static int | _game_saveload_version |
| static char | _game_saveload_settings [1024] |
| static bool | _game_saveload_is_random |
| static const SaveLoad | _game_script [] |
| GameStrings * | _current_data |
| The currently loaded game strings. | |
| static const char * | _game_saveload_string |
| static uint | _game_saveload_strings |
| static const SaveLoad | _game_language_header [] |
| static const SaveLoad | _game_language_string [] |
| const ChunkHandler | _game_chunk_handlers [] |
Handles the saveload part of the GameScripts.
Definition in file game_sl.cpp.
The currently loaded game strings.
Definition at line 312 of file game_text.cpp.
| const ChunkHandler _game_chunk_handlers[] |
{
{ 'GSTR', Save_GSTR, Load_GSTR, NULL, NULL, CH_ARRAY },
{ 'GSDT', Save_GSDT, Load_GSDT, NULL, NULL, CH_ARRAY | CH_LAST},
}
const SaveLoad _game_language_header[] [static] |
Definition at line 119 of file game_sl.cpp.
const SaveLoad _game_language_string[] [static] |
{
SLEG_STR(_game_saveload_string, SLE_STR | SLF_ALLOW_CONTROL),
}
Definition at line 125 of file game_sl.cpp.
1.7.1