The Battle for Wesnoth  1.15.3+dev
battle_context Member List

This is the complete list of members for battle_context, including all inherited members.

attacker_combatant_battle_contextprivate
attacker_stats_battle_contextprivate
battle_context(const unit_map &units, const map_location &attacker_loc, const map_location &defender_loc, int attacker_weapon=-1, int defender_weapon=-1, double aggression=0.0, const combatant *prev_def=nullptr, const unit *attacker_ptr=nullptr, const unit *defender_ptr=nullptr)battle_context
battle_context(const battle_context_unit_stats &att, const battle_context_unit_stats &def)battle_context
battle_context(battle_context &&other)=defaultbattle_context
battle_context(const unit &attacker, const map_location &attacker_loc, int attacker_weapon, const unit &defender, const map_location &defender_loc, int defender_weapon, const unit_map &units)battle_contextprivate
better_attack(class battle_context &that, double harm_weight)battle_context
better_combat(const combatant &us_a, const combatant &them_a, const combatant &us_b, const combatant &them_b, double harm_weight)battle_contextstatic
better_defense(class battle_context &that, double harm_weight)battle_context
choose_attacker_weapon(const unit &attacker, const unit &defender, const unit_map &units, const map_location &attacker_loc, const map_location &defender_loc, double harm_weight, const combatant *prev_def)battle_contextprivatestatic
choose_defender_weapon(const unit &attacker, const unit &defender, unsigned attacker_weapon, const unit_map &units, const map_location &attacker_loc, const map_location &defender_loc, const combatant *prev_def)battle_contextprivatestatic
defender_combatant_battle_contextprivate
defender_stats_battle_contextprivate
get_attacker_combatant(const combatant *prev_def=nullptr)battle_context
get_attacker_stats() constbattle_contextinline
get_defender_combatant(const combatant *prev_def=nullptr)battle_context
get_defender_stats() constbattle_contextinline
operator=(battle_context &&other)=defaultbattle_context
simulate(const combatant *prev_def)battle_context