Manage unit-abilities, like heal, cure, and weapon_specials. More...
#include "foreach.hpp"#include "gamestatus.hpp"#include "log.hpp"#include "resources.hpp"#include "terrain_filter.hpp"#include "unit.hpp"#include "team.hpp"#include "unit_abilities.hpp"
Go to the source code of this file.
Namespaces | |
| namespace | unit_abilities |
Defines | |
| #define | ERR_NG LOG_STREAM(err, log_engine) |
Functions | |
| static bool | unit_abilities::affects_side (const config &cfg, const std::vector< team > &teams, size_t side, size_t other_side) |
| static bool | cache_illuminates (int &cache, std::string const &ability) |
| bool | unit_abilities::filter_base_matches (const config &cfg, int def) |
Variables | |
| static lg::log_domain | log_engine ("engine") |
Manage unit-abilities, like heal, cure, and weapon_specials.
Definition in file unit_abilities.cpp.
| #define ERR_NG LOG_STREAM(err, log_engine) |
Definition at line 31 of file unit_abilities.cpp.
Referenced by unit_abilities::effect::effect().
| static bool cache_illuminates | ( | int & | cache, | |
| std::string const & | ability | |||
| ) | [static] |
Definition at line 248 of file unit_abilities.cpp.
Referenced by unit::ability_active(), unit::ability_affects_adjacent(), and unit::ability_affects_self().

lg::log_domain log_engine("engine") [static] |
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:00 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |