Go to the source code of this file.
Classes | |
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::create_save_info |
class | savegame::save_index_class |
Namespaces | |
savegame | |
Functions | |
std::vector< save_info > | savegame::get_saves_list (const std::string *dir, const std::string *filter) |
Get a list of available saves. More... | |
void | savegame::read_save_file (const std::string &name, config &cfg, std::string *error_log) |
Read the complete config information out of a savefile. More... | |
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). More... | |
void | savegame::delete_game (const std::string &name) |
Delete a savegame. More... | |
void | replace_underbar2space (std::string &name) |
void | replace_space2underbar (std::string &name) |
void replace_space2underbar | ( | std::string & | name | ) |
Definition at line 43 of file save_index.cpp.
References utils::replace().
Referenced by savegame::delete_game(), savegame::get_saves_list(), savegame::savegame::open_save_game(), savegame::read_save_file(), savegame::save_index_class::rebuild(), and savegame::save_game_exists().
void replace_underbar2space | ( | std::string & | name | ) |
Definition at line 40 of file save_index.cpp.
References utils::replace().
Referenced by savegame::create_save_info::operator()().