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

The structure that tracks WML event handlers. More...

#include "game_events/handlers.hpp"
#include "formula/string_utils.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "serialization/string_utils.hpp"
#include "sound.hpp"
#include "variable.hpp"
#include <iostream>
Include dependency graph for handlers.cpp:

Go to the source code of this file.

Namespaces

 game_events
 Domain specific events.
 

Macros

#define DBG_NG   LOG_STREAM(debug, log_engine)
 
#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define WRN_NG   LOG_STREAM(warn, log_engine)
 
#define DBG_EH   LOG_STREAM(debug, log_event_handler)
 

Variables

static lg::log_domain log_engine ("engine")
 
static lg::log_domain log_event_handler ("event_handler")
 

Detailed Description

The structure that tracks WML event handlers.

(Typically, handlers are defined by [event] tags.)

Definition in file handlers.cpp.

Macro Definition Documentation

#define DBG_EH   LOG_STREAM(debug, log_event_handler)

Definition at line 39 of file handlers.cpp.

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 34 of file handlers.cpp.

Referenced by game_events::event_handler::handle_event().

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 35 of file handlers.cpp.

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 36 of file handlers.cpp.

Variable Documentation

lg::log_domain log_engine("engine")
static
lg::log_domain log_event_handler("event_handler")
static