The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
abilities.cpp File Reference

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

#include "game_board.hpp"
#include "log.hpp"
#include "resources.hpp"
#include "team.hpp"
#include "terrain/filter.hpp"
#include "units/unit.hpp"
#include "units/abilities.hpp"
#include "units/filter.hpp"
#include "units/map.hpp"
#include "filter_context.hpp"
Include dependency graph for abilities.cpp:

Go to the source code of this file.

Namespaces

 unit_abilities
 

Macros

#define ERR_NG   LOG_STREAM(err, log_engine)
 

Functions

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 abilities.cpp.

Macro Definition Documentation

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 32 of file abilities.cpp.

Referenced by unit_abilities::effect::effect(), and attack_type::modified_attacks().

Variable Documentation

lg::log_domain log_engine("engine")
static