Namespaces | Defines | Functions | Variables

unit_abilities.cpp File Reference

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"
Include dependency graph for unit_abilities.cpp:

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")

Detailed Description

Manage unit-abilities, like heal, cure, and weapon_specials.

Definition in file unit_abilities.cpp.


Define Documentation

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 31 of file unit_abilities.cpp.

Referenced by unit_abilities::effect::effect().


Function Documentation

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().

Here is the caller graph for this function:


Variable Documentation

lg::log_domain log_engine("engine") [static]
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:11:00 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs