The Battle for Wesnoth  1.15.2+dev
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 "cursor.hpp"
#include "format_time_summary.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_end_exceptions.hpp"
#include "game_errors.hpp"
#include "preferences/game.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/retval.hpp"
#include "log.hpp"
#include "persist_manager.hpp"
#include "resources.hpp"
#include "saved_game.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "serialization/utf8_exception.hpp"
#include "statistics.hpp"
#include "game_version.hpp"
#include "video.hpp"
#include <algorithm>
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 (std::string name, compression::format compressed)
 Returns true if there is already a savegame with this name, looking only in the default save directory. More...
 
void savegame::clean_saves (const std::string &label)
 Delete all autosaves of a certain scenario from the default save directory. 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

◆ ERR_SAVE

#define ERR_SAVE   LOG_STREAM(err, log_engine)

◆ LOG_RG

#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().

◆ LOG_SAVE

#define LOG_SAVE   LOG_STREAM(info, log_engine)

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static

◆ log_enginerefac

lg::log_domain log_enginerefac("enginerefac")
static