, including all inherited members.
attacker_combatant_ | battle_context | [private] |
attacker_stats_ | battle_context | [private] |
battle_context(const gamemap &map, const std::vector< team > &teams, const unit_map &units, const gamestatus &status, const gamemap::location &attacker_loc, const gamemap::location &defender_loc, int attacker_weapon=-1, int defender_weapon=-1, double aggression=0.0, const combatant *prev_def=NULL, const unit *attacker_ptr=NULL) | battle_context | |
battle_context(const unit_stats &att, const 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_context | [private] |
choose_attacker_weapon(const unit &attacker, const unit &defender, const gamemap &map, const std::vector< team > &teams, const unit_map &units, const gamestatus &status, const gamemap::location &attacker_loc, const gamemap::location &defender_loc, double harm_weight, int *defender_weapon, const combatant *prev_def) | battle_context | [private] |
choose_defender_weapon(const unit &attacker, const unit &defender, unsigned attacker_weapon, const gamemap &map, const std::vector< team > &teams, const unit_map &units, const gamestatus &status, const gamemap::location &attacker_loc, const gamemap::location &defender_loc, const combatant *prev_def) | battle_context | [private] |
defender_combatant_ | battle_context | [private] |
defender_stats_ | battle_context | [private] |
get_attacker_combatant(const combatant *prev_def=NULL) | battle_context | |
get_attacker_stats() const | battle_context | [inline] |
get_defender_combatant(const combatant *prev_def=NULL) | battle_context | |
get_defender_stats() const | battle_context | [inline] |
operator=(const battle_context &other) | battle_context | |
~battle_context() | battle_context | |