mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 04:19:36 +00:00
savegame reorganization: added class savegame_config
This commit is contained in:
parent
a4afd4fda6
commit
c566026661
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user