#include <savegame.hpp>
Public Attributes | |
std::shared_ptr< save_index_class > | manager {} |
There may be different instances of the index for different directories. More... | |
std::string | filename = "" |
Name of the savefile to be loaded (not including the directory). More... | |
std::string | difficulty = "" |
The difficulty the save is meant to be loaded with. More... | |
bool | show_replay = false |
State of the "show_replay" checkbox in the load-game dialog. More... | |
bool | cancel_orders = false |
State of the "cancel_orders" checkbox in the load-game dialog. More... | |
bool | select_difficulty = false |
State of the "change_difficulty" checkbox in the load-game dialog. More... | |
config | summary {} |
Summary config of the save selected in the load game dialog. More... | |
config | load_config {} |
Config information of the savefile to be loaded. More... | |
Definition at line 52 of file savegame.hpp.
bool savegame::load_game_metadata::cancel_orders = false |
State of the "cancel_orders" checkbox in the load-game dialog.
Definition at line 67 of file savegame.hpp.
std::string savegame::load_game_metadata::difficulty = "" |
The difficulty the save is meant to be loaded with.
Definition at line 61 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), and savegame::loadgame::show_difficulty_dialog().
std::string savegame::load_game_metadata::filename = "" |
Name of the savefile to be loaded (not including the directory).
Definition at line 58 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_game_ingame(), and savegame::loadgame::load_multiplayer_game().
config savegame::load_game_metadata::load_config {} |
Config information of the savefile to be loaded.
Definition at line 76 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_multiplayer_game(), and savegame::loadgame::set_gamestate().
std::shared_ptr<save_index_class> savegame::load_game_metadata::manager {} |
There may be different instances of the index for different directories.
Definition at line 55 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_game_ingame(), and savegame::loadgame::load_multiplayer_game().
bool savegame::load_game_metadata::select_difficulty = false |
State of the "change_difficulty" checkbox in the load-game dialog.
Definition at line 70 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_game_ingame(), and savegame::loadgame::show_difficulty_dialog().
bool savegame::load_game_metadata::show_replay = false |
State of the "show_replay" checkbox in the load-game dialog.
Definition at line 64 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_game_ingame(), and savegame::loadgame::load_multiplayer_game().
config savegame::load_game_metadata::summary {} |
Summary config of the save selected in the load game dialog.
Definition at line 73 of file savegame.hpp.
Referenced by savegame::loadgame::load_game(), savegame::loadgame::load_game_ingame(), savegame::loadgame::load_multiplayer_game(), and savegame::loadgame::show_difficulty_dialog().