The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
savegame.cpp File Reference
#include <boost/iostreams/filter/gzip.hpp>
#include "savegame.hpp"
#include "save_index.hpp"
#include "carryover.hpp"
#include "config_assign.hpp"
#include "format_time_summary.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_display.hpp"
#include "game_end_exceptions.hpp"
#include "game_preferences.hpp"
#include "gettext.hpp"
#include "gui/dialogs/game_load.hpp"
#include "gui/dialogs/game_save.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/campaign_difficulty.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/window.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "map/label.hpp"
#include "persist_manager.hpp"
#include "replay.hpp"
#include "resources.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "statistics.hpp"
#include "units/id.hpp"
#include "version.hpp"
Include dependency graph for savegame.cpp:

Go to the source code of this file.

Namespaces

 savegame
 

Macros

#define LOG_SAVE   LOG_STREAM(info, log_engine)
 
#define ERR_SAVE   LOG_STREAM(err, log_engine)
 
#define LOG_RG   LOG_STREAM(info, log_enginerefac)
 

Functions

bool savegame::save_game_exists (const std::string &name, compression::format compressed)
 Returns true if there is already a savegame with that name. More...
 
void savegame::clean_saves (const std::string &label)
 Delete all autosaves of a certain scenario. More...
 
static void savegame::convert_old_saves_1_11_0 (config &cfg)
 
static void savegame::convert_old_saves_1_13_0 (config &cfg)
 
static void savegame::convert_old_saves_1_13_1 (config &cfg)
 
void savegame::convert_old_saves (config &cfg)
 converts saves from older versions of wesnoth More...
 

Variables

static lg::log_domain log_engine ("engine")
 
static lg::log_domain log_enginerefac ("enginerefac")
 

Macro Definition Documentation

#define ERR_SAVE   LOG_STREAM(err, log_engine)

Definition at line 53 of file savegame.cpp.

Referenced by savegame::savegame::save_game().

#define LOG_RG   LOG_STREAM(info, log_enginerefac)

Definition at line 56 of file savegame.cpp.

Referenced by savegame::convert_old_saves(), and savegame::convert_old_saves_1_11_0().

#define LOG_SAVE   LOG_STREAM(info, log_engine)

Variable Documentation

lg::log_domain log_engine("engine")
static
lg::log_domain log_enginerefac("enginerefac")
static