Home
last modified time | relevance | path

Searched refs:target_hex (Results 1 – 7 of 7) sorted by relevance

/dports/games/wesnoth/wesnoth-1.14.17/data/ai/lua/
H A Dgeneric_recruit_engine.lua566 … if recruit_data.recruit.target_hex ~= nil and recruit_data.recruit.target_hex[1] ~= nil then
568 … cost = wesnoth.find_path(unit, recruit_data.recruit.target_hex[1], recruit_data.recruit.target_he…
658 local target_hex = recruit_data.recruit.target_hex
660 local reference_hex = target_hex[1] and target_hex or best_hex
714 if target_hex[1] then
715 …local path, cost = wesnoth.find_path(recruit_unit, target_hex[1], target_hex[2], {viewing_side=0, …
723 recruit_unit.x = target_hex[1]
724 recruit_unit.y = target_hex[2]
732 if target_hex[1] then
798 if target_hex[1] then
[all …]
/dports/games/wesnoth/wesnoth-1.14.17/src/
H A Dmenu_events.hpp113 …t_string can_recruit(const std::string& name, int side_num, map_location& target_hex, map_location…
115 bool do_recruit(const std::string& name, int side_num, map_location& target_hex);
/dports/games/wesnoth/wesnoth-1.14.17/src/whiteboard/
H A Dattack.cpp55 attack::attack(size_t team_index, bool hidden, unit& u, const map_location& target_hex, int weapon_… in attack() argument
58 target_hex_(target_hex), in attack()
H A Dattack.hpp29 …attack(size_t team_index, bool hidden, unit& mover, const map_location& target_hex, int weapon_cho…
H A Dside_actions.cpp755 …de_actions::queue_attack(size_t turn, unit& mover, const map_location& target_hex, int weapon_choi… in queue_attack() argument
757 …attack_ptr new_attack(std::make_shared<attack>(team_index(), hidden_, std::ref(mover), target_hex,… in queue_attack()
H A Dmanager.cpp303 map_location const target_hex = recruit?recruit->get_recruit_hex():recall->get_recall_hex(); in allow_leader_to_move() local
304 if (dynamic_cast<game_state&>(*resources::filter_con).can_recruit_on(leader, target_hex)) in allow_leader_to_move()
H A Dside_actions.hpp526 …iterator queue_attack(size_t turn_num, unit& mover, const map_location& target_hex, int weapon_cho…