The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions | Variables
save_index.cpp File Reference
#include "save_index.hpp"
#include "config.hpp"
#include "filesystem.hpp"
#include "format_time_summary.hpp"
#include "game_errors.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/preferences.hpp"
#include "serialization/parser.hpp"
#include "team.hpp"
#include "utils/general.hpp"
#include <boost/algorithm/string/replace.hpp>
#include <boost/iostreams/filter/gzip.hpp>
Include dependency graph for save_index.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

void savegame::extract_summary_from_config (config &, config &)
 
static filesystem::scoped_istream savegame::find_save_file (const std::string &dir, const std::string &name, const std::vector< std::string > &suffixes)
 
void savegame::read_save_file (const std::string &dir, const std::string &name, config &cfg, std::string *error_log)
 Read the complete config information out of a savefile. 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 34 of file save_index.cpp.

◆ LOG_RG

#define LOG_RG   LOG_STREAM(info, log_enginerefac)

Definition at line 37 of file save_index.cpp.

◆ LOG_SAVE

#define LOG_SAVE   LOG_STREAM(info, log_engine)

Definition at line 33 of file save_index.cpp.

Variable Documentation

◆ log_engine

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

◆ log_enginerefac

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