A config object defines a single node in a WML file, with access to child nodes.
std::deque< config > leader_configs_
team_builder(const config &side_cfg, team &to_build, const config &level, game_board &board, int num)
void build_team_stage_three()
Handles the third stage of team initialization (unit placement).
void handle_leader(const config &leader)
void build_team_stage_two()
Handles the second stage of team initialization ((some) unit construction).
team_builder(team_builder &&)=default
std::set< std::string > seen_ids_
team_builder(const team_builder &)=delete
Very important! Delete copy constructor and declare a move constructor.
std::vector< const config * > unit_configs_
void build_team_stage_one()
Handles the first stage of team initialization (everything except unit construction).
void handle_unit(const config &u, const char *origin)
void log_step(const char *s) const
This class stores all the data for a single 'side' (in game nomenclature).
Definitions for the interface to Wesnoth Markup Language (WML).
static map_location::direction s