The Battle for Wesnoth  1.15.2+dev
Classes | 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_end_exceptions.hpp"
#include "game_errors.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "preferences/game.hpp"
#include "serialization/binary_or_text.hpp"
#include "serialization/parser.hpp"
#include "team.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.

Classes

class  savegame::filename_filter
 

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)

◆ LOG_RG

#define LOG_RG   LOG_STREAM(info, log_enginerefac)

Definition at line 38 of file save_index.cpp.

◆ 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