The Battle for Wesnoth  1.17.12+dev
Classes | Namespaces | Macros | Variables
halo.cpp File Reference

Maintain halo-effects for units and items. More...

#include "animated.hpp"
#include "display.hpp"
#include "draw.hpp"
#include "draw_manager.hpp"
#include "preferences/game.hpp"
#include "halo.hpp"
#include "log.hpp"
#include "serialization/string_utils.hpp"
#include "sdl/rect.hpp"
#include "sdl/texture.hpp"
Include dependency graph for halo.cpp:

Go to the source code of this file.

Classes

class  halo::halo_impl
 
class  halo::halo_impl::effect
 

Namespaces

 halo
 

Macros

#define ERR_HL   LOG_STREAM(err, log_halo)
 
#define WRN_HL   LOG_STREAM(warn, log_halo)
 
#define LOG_HL   LOG_STREAM(info, log_halo)
 
#define DBG_HL   LOG_STREAM(debug, log_halo)
 

Variables

static lg::log_domain log_halo ("halo")
 

Detailed Description

Maintain halo-effects for units and items.

Examples: white mage, lighthouse.

Definition in file halo.cpp.

Macro Definition Documentation

◆ DBG_HL

#define DBG_HL   LOG_STREAM(debug, log_halo)

◆ ERR_HL

#define ERR_HL   LOG_STREAM(err, log_halo)

Definition at line 34 of file halo.cpp.

Referenced by halo::halo_impl::add(), and halo::halo_impl::effect::update().

◆ LOG_HL

#define LOG_HL   LOG_STREAM(info, log_halo)

Definition at line 36 of file halo.cpp.

◆ WRN_HL

#define WRN_HL   LOG_STREAM(warn, log_halo)

Definition at line 35 of file halo.cpp.

Variable Documentation

◆ log_halo

lg::log_domain log_halo("halo")
static