The Battle for Wesnoth  1.19.5+dev
Classes | Namespaces | Functions
savegame.hpp File Reference
#include "config.hpp"
#include "filesystem.hpp"
#include "lua_jailbreak_exception.hpp"
#include "save_index.hpp"
#include "saved_game.hpp"
#include "serialization/compression.hpp"
#include <exception>
Include dependency graph for savegame.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  savegame::load_game_metadata
 
class  savegame::load_game_exception
 Exception used to signal that the user has decided to abortt a game, and to load another game instead. More...
 
class  savegame::loadgame
 The class for loading a savefile. More...
 
class  savegame::savegame
 The base class for all savegame stuff. More...
 
class  savegame::ingame_savegame
 Class for "normal" midgame saves. More...
 
class  savegame::replay_savegame
 Class for replay saves (either manually or automatically). More...
 
class  savegame::autosave_savegame
 Class for autosaves. More...
 
class  savegame::oos_savegame
 
class  savegame::scenariostart_savegame
 Class for start-of-scenario saves. More...
 

Namespaces

 savegame
 

Functions

void savegame::convert_old_saves (config &cfg)
 converts saves from older versions of wesnoth More...
 
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...