|
const std::set< std::string > | actions::get_recruits (int side, const map_location &recruit_location) |
| Gets the recruitable units from a side's leaders' personal recruit lists who can recruit on or from a specific hex field. More...
|
|
std::vector< unit_const_ptr > | actions::get_recalls (int side, const map_location &recall_loc) |
| Gets the recallable units for a side, restricted by that side's leaders' personal abilities to recall on or from a specific hex field. More...
|
|
RECRUIT_CHECK | actions::check_recall_location (const int side, map_location &recall_location, map_location &recall_from, const unit &unit_recall) |
| Checks if there is a location on which to recall unit_recall. More...
|
|
std::string | actions::find_recall_location (const int side, map_location &recall_location, map_location &recall_from, const unit &unit_recall) |
| Finds a location on which to recall unit_recall. More...
|
|
RECRUIT_CHECK | actions::check_recruit_location (const int side, map_location &recruit_location, map_location &recruited_from, const std::string &unit_type) |
| Checks if there is a location on which to place a recruited unit. More...
|
|
std::string | actions::find_recruit_location (const int side, map_location &recruit_location, map_location &recruited_from, const std::string &unit_type) |
| Finds a location on which to place a unit. More...
|
|
place_recruit_result | actions::place_recruit (unit_ptr u, const map_location &recruit_location, const map_location &recruited_from, int cost, bool is_recall, map_location::direction facing=map_location::direction::indeterminate, bool show=false, bool fire_event=true, bool full_movement=false, bool wml_triggered=false) |
| Place a unit into the game. More...
|
|
void | actions::recruit_unit (const unit_type &u_type, int side_num, const map_location &loc, const map_location &from) |
| Recruits a unit of the given type for the given side. More...
|
|
bool | actions::recall_unit (const std::string &id, team ¤t_team, const map_location &loc, const map_location &from, map_location::direction facing=map_location::direction::indeterminate) |
| Recalls the unit with the indicated ID for the provided team. More...
|
|
Recruiting, recalling.
Definition in file create.cpp.