The Battle for Wesnoth  1.15.1+dev
Macros | Variables
game_data.cpp File Reference

Maintain game variables + misc. More...

#include "game_data.hpp"
#include "log.hpp"
#include "variable.hpp"
#include "serialization/string_utils.hpp"
#include <boost/range/adaptor/reversed.hpp>
Include dependency graph for game_data.cpp:

Go to the source code of this file.

Macros

#define ERR_NG   LOG_STREAM(err, log_engine)
 
#define WRN_NG   LOG_STREAM(warn, log_engine)
 
#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define DBG_NG   LOG_STREAM(debug, log_engine)
 

Variables

static lg::log_domain log_engine ("engine")
 

Detailed Description

Maintain game variables + misc.

Definition in file game_data.cpp.

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 32 of file game_data.cpp.

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 29 of file game_data.cpp.

Referenced by game_data::set_variable().

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 31 of file game_data.cpp.

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 30 of file game_data.cpp.

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static