/dports/games/wesnoth/wesnoth-1.14.17/src/ai/default/ |
H A D | contexts.hpp | 78 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 D | ca_move_to_targets.cpp | 50 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 D | aspect_attacks.cpp | 78 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 D | ca_move_to_targets.hpp | 67 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 D | contexts.cpp | 131 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 D | ca.hpp | 183 const move_map &dstsrc, const move_map &enemy_dstsrc, 191 const std::multimap<map_location,map_location>& enemy_dstsrc);
|
H A D | aspect_attacks.hpp | 51 const move_map& enemy_srcdst, const move_map& enemy_dstsrc,
|
H A D | ca.cpp | 590 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 D | attack.cpp | 48 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 D | callable_objects.hpp | 228 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 D | contexts.hpp | 205 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 D | contexts.cpp | 475 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()
|