Classes | Namespaces | Functions

savegame.hpp File Reference

#include "filesystem.hpp"
#include "gamestatus.hpp"
#include "tod_manager.hpp"
#include "show_dialog.hpp"
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  load_game_cancelled_exception
struct  illegal_filename_exception
class  savegame::save_info
 Filename and modification date for a file list. More...
struct  savegame::save_info_less_time
 A structure for comparing to save_info objects based on their modified time. More...
class  savegame::loadgame
 The class for loading a savefile. More...
class  savegame::savegame
 The base class for all savegame stuff. More...
class  savegame::game_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

namespace  savegame

Functions

std::vector< save_info > savegame::get_saves_list (const std::string *dir, const std::string *filter)
 Get a list of available saves.
void savegame::read_save_file (const std::string &name, config &cfg, std::string *error_log)
 Read the complete config information out of a savefile.
bool savegame::save_game_exists (const std::string &name, bool compress_saves)
 Returns true if there is already a savegame with that name.
void savegame::clean_saves (const std::string &label)
 Delete all autosaves of a certain scenario.
void savegame::remove_old_auto_saves (const int autosavemax, const int infinite_auto_saves)
 Remove autosaves that are no longer needed (according to the autosave policy in the preferences).
void savegame::delete_game (const std::string &name)
 Delete a savegame.
void replace_underbar2space (std::string &name)
void replace_space2underbar (std::string &name)

Function Documentation

void replace_space2underbar ( std::string &  name  ) 

Definition at line 128 of file savegame.cpp.

Referenced by savegame::savegame::open_save_game(), and savegame::save_index_class::rebuild().

Here is the caller graph for this function:

void replace_underbar2space ( std::string &  name  ) 

Definition at line 125 of file savegame.cpp.

Referenced by savegame::create_save_info::operator()().

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:09:13 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs