The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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)battle_context
battle_context(const battle_context_unit_stats &att, const battle_context_unit_stats &def)battle_context
battle_context(const battle_context &other)battle_context
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
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, int *defender_weapon, const combatant *prev_def)battle_contextprivate
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_contextprivate
defender_combatant_battle_contextprivate
defender_stats_battle_contextprivate
get_attacker_combatant(const combatant *prev_def=nullptr)battle_context
get_attacker_stats() const battle_contextinline
get_defender_combatant(const combatant *prev_def=nullptr)battle_context
get_defender_stats() const battle_contextinline
operator=(const battle_context &other)battle_context
~battle_context()battle_context