2 #ifndef CARRYOVER_H_INCLUDED
3 #define CARRYOVER_H_INCLUDED
10 #include <boost/ptr_container/ptr_vector.hpp>
void add_side(const config &cfg)
std::vector< carryover > & get_all_sides()
boost::ptr_vector< config > wml_menu_items_
void transfer_all_recalls_to(config &side_cfg)
void merge_old_carryover(const carryover_info &old_carryover)
carryover * get_side(std::string save_id)
void transfer_to(config &level)
const std::string & next_scenario() const
Definitions for the interface to Wesnoth Markup Language (WML).
const std::string & get_save_id() const
std::set< std::string > previous_recruits_
int next_underlying_unit_id_
void transfer_all_to(config &side_cfg)
This class stores all the data for a single 'side' (in game nomenclature).
std::vector< config > recall_list_
void erase(const std::string &key)
const rand_rng::mt_rng & rng() const
void transfer_all_gold_to(config &side_cfg)
std::vector< carryover > carryover_sides_
const config & get_variables() const
std::string current_player_
Declarations for a container for wml_menu_item.
std::string next_scenario_
the scenario coming next (for campaigns)
const std::string to_string()
std::string get_recruits(bool erase=false)
void transfer_all_recruits_to(config &side_cfg)
void set_variables(const config &vars)
void remove_side(const std::string &id)
void to_config(config &cfg)
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string