savegame reorganization: added class savegame_config

This commit is contained in:
Eugen Jiresch 2009-06-02 12:02:12 +00:00
parent a4afd4fda6
commit c566026661

View file

@ -31,6 +31,14 @@ class gamestatus; //needed to declare get_player_info (until game_state and game
class scoped_wml_variable;
/* interface for building a config from savegame related objects */
class savegame_config
{
public:
virtual ~savegame_config() {};
virtual config toConfig() = 0;
};
struct wml_menu_item
{
wml_menu_item(const std::string& id, const config* cfg=NULL);