Home
last modified time | relevance | path

Searched refs:enemy_dstsrc (Results 1 – 12 of 12) sorted by relevance

/dports/games/wesnoth/wesnoth-1.14.17/src/ai/default/
H A Dcontexts.hpp78 const move_map& enemy_dstsrc, double aggression);
165 virtual std::vector<target> find_targets(const move_map& enemy_dstsrc) = 0;
220 virtual std::vector<target> find_targets(const move_map& enemy_dstsrc) in find_targets() argument
222 return target_->find_targets(enemy_dstsrc); in find_targets()
279 virtual std::vector<target> find_targets(const move_map& enemy_dstsrc);
H A Dca_move_to_targets.cpp50 const unit_map& units, const move_map& enemy_dstsrc) in move_cost_calculator()
52 enemy_dstsrc_(enemy_dstsrc), in move_cost_calculator()
206 const move_map& dstsrc, const move_map& enemy_dstsrc, in rate_target() argument
253 enemies_along_path(rt.steps,enemy_dstsrc,enemies_guarding); in rate_target()
312 const move_map& enemy_dstsrc = get_enemy_dstsrc(); in choose_move() local
403 const move_cost_calculator calc(*u, map_, units_, enemy_dstsrc); in choose_move()
455 const double vulnerability = power_projection(*i,enemy_dstsrc); in choose_move()
489 const double threat = power_projection(*i,enemy_dstsrc); in choose_move()
509 enemies_along_path(best_route.steps,enemy_dstsrc,enemies); in choose_move()
869 srcdst, enemy_dstsrc).chance_to_hit/100.0; in should_retreat()
[all …]
H A Daspect_attacks.cpp78 const move_map& enemy_dstsrc = get_enemy_dstsrc(); in analyze_targets() local
119 fullmove_srcdst, fullmove_dstsrc, enemy_srcdst, enemy_dstsrc, in analyze_targets()
132 const move_map& enemy_srcdst, const move_map& enemy_dstsrc, in do_attack_analysis() argument
306 const double vulnerability = power_projection(tiles[j],enemy_dstsrc);//? in do_attack_analysis()
332 cur_analysis.analyze(map_, units_, *this, dstsrc, srcdst, enemy_dstsrc, get_aggression()); in do_attack_analysis()
335 do_attack_analysis(loc,srcdst,dstsrc,fullmove_srcdst,fullmove_dstsrc,enemy_srcdst,enemy_dstsrc, in do_attack_analysis()
H A Dca_move_to_targets.hpp67 const move_map& dstsrc, const move_map& enemy_dstsrc,
71 const move_map& srcdst, const move_map& dstsrc, const move_map& enemy_dstsrc,
H A Dcontexts.cpp131 std::vector<target> default_ai_context_impl::find_targets(const move_map& enemy_dstsrc) in find_targets() argument
147 double threat = power_projection(leader->get_location(), enemy_dstsrc); in find_targets()
155 …std::pair<move_map::const_iterator,move_map::const_iterator> itors = enemy_dstsrc.equal_range(adj[… in find_targets()
201 double enemy = power_projection(*t, enemy_dstsrc); in find_targets()
H A Dca.hpp183 const move_map &dstsrc, const move_map &enemy_dstsrc,
191 const std::multimap<map_location,map_location>& enemy_dstsrc);
H A Daspect_attacks.hpp51 const move_map& enemy_srcdst, const move_map& enemy_dstsrc,
H A Dca.cpp590 const move_map& dstsrc, const move_map& enemy_dstsrc, in get_villages() argument
622 find_villages(reachmap, moves_, dstsrc, enemy_dstsrc); in get_villages()
653 const std::multimap<map_location,map_location>& enemy_dstsrc) in find_villages() argument
721 threat = power_projection(current_loc,enemy_dstsrc); in find_villages()
1527 const move_map &enemy_dstsrc = get_enemy_dstsrc(); in should_retreat() local
1534 srcdst, enemy_dstsrc).chance_to_hit/100.0; in should_retreat()
1543 const double their_power = power_projection(loc,enemy_dstsrc); in should_retreat()
H A Dattack.cpp48 const move_map& enemy_dstsrc, double aggression) in analyze() argument
83 …= cost*ai_obj.best_defensive_position(movements[i].first,dstsrc,srcdst,enemy_dstsrc).chance_to_hit; in analyze()
/dports/games/wesnoth/wesnoth-1.14.17/src/ai/formula/
H A Dcallable_objects.hpp228 enemy_dstsrc(), in move_map_backup()
233 ai::move_map srcdst, dstsrc, full_srcdst, full_dstsrc, enemy_srcdst, enemy_dstsrc; member
/dports/games/wesnoth/wesnoth-1.14.17/src/ai/
H A Dcontexts.hpp205 const move_map& dstsrc, const move_map& srcdst, const move_map& enemy_dstsrc) const = 0;
614 const move_map& dstsrc, const move_map& srcdst, const move_map& enemy_dstsrc) const override in best_defensive_position()
616 return target_->best_defensive_position(unit,dstsrc,srcdst,enemy_dstsrc); in best_defensive_position()
1306 const move_map& dstsrc, const move_map& srcdst, const move_map& enemy_dstsrc) const override;
H A Dcontexts.cpp475 const move_map& dstsrc, const move_map& srcdst, const move_map& enemy_dstsrc) const in best_defensive_position()
505 const double vulnerability = power_projection(i->second,enemy_dstsrc); in best_defensive_position()