void add_side(const config &cfg)
std::string next_scenario_
the scenario coming next (for campaigns)
std::vector< carryover > & get_all_sides()
void add_side(const team &t, const int gold, const bool add)
randomness::mt_rng & rng()
void merge_old_carryover(const carryover_info &old_carryover)
std::vector< carryover > carryover_sides_
void transfer_to(config &level)
void transfer_all_to(config &side_cfg)
const randomness::mt_rng & rng() const
void set_variables(const config &vars)
int next_underlying_unit_id_
const config & get_variables() const
const std::string & next_scenario() const
carryover * get_side(const std::string &save_id)
std::vector< config > wml_menu_items_
void remove_side(const std::string &id)
void transfer_all_gold_to(config &side_cfg)
std::vector< config > recall_list_
std::string current_player_
const std::string & get_save_id() const
void transfer_all_recruits_to(config &side_cfg)
void transfer_all_recalls_to(config &side_cfg)
std::string get_recruits(bool erase=false)
const std::string to_string()
void to_config(config &cfg)
std::set< std::string > previous_recruits_
A config object defines a single node in a WML file, with access to child nodes.
This class stores all the data for a single 'side' (in game nomenclature).
Definitions for the interface to Wesnoth Markup Language (WML).
std::string & erase(std::string &str, const std::size_t start, const std::size_t len)
Erases a portion of a UTF-8 string.