The Battle for Wesnoth  1.19.4+dev
Namespaces | Macros | Functions | Variables
savegame.cpp File Reference
#include "savegame.hpp"
#include "cursor.hpp"
#include "formatter.hpp"
#include "formula/string_utils.hpp"
#include "game_config_manager.hpp"
#include "game_config_view.hpp"
#include "game_end_exceptions.hpp"
#include "game_errors.hpp"
#include "game_version.hpp"
#include "gettext.hpp"
#include "gui/dialogs/campaign_difficulty.hpp"
#include "gui/dialogs/game_load.hpp"
#include "gui/dialogs/game_save.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/widgets/retval.hpp"
#include "log.hpp"
#include "persist_manager.hpp"
#include "preferences/preferences.hpp"
#include "resources.hpp"
#include "save_index.hpp"
#include "saved_game.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/utf8_exception.hpp"
#include "video.hpp"
#include <iomanip>
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)
 
static void savegame::convert_old_saves_1_15_3 (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)

Definition at line 48 of file savegame.cpp.

◆ LOG_RG

#define LOG_RG   LOG_STREAM(info, log_enginerefac)

Definition at line 51 of file savegame.cpp.

◆ LOG_SAVE

#define LOG_SAVE   LOG_STREAM(info, log_engine)

Definition at line 47 of file savegame.cpp.

Variable Documentation

◆ log_engine

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

◆ log_enginerefac

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