The Battle for Wesnoth  1.19.7+dev
Macros | Functions | Variables
variable.cpp File Reference

Manage WML-variables. More...

#include "variable.hpp"
#include "formula/string_utils.hpp"
#include "game_board.hpp"
#include "game_data.hpp"
#include "log.hpp"
#include "resources.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include "team.hpp"
Include dependency graph for variable.cpp:

Go to the source code of this file.

Macros

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

Functions

static const variable_settry_get_gamedata ()
 

Variables

static lg::log_domain log_engine ("engine")
 

Detailed Description

Manage WML-variables.

Definition in file variable.cpp.

Macro Definition Documentation

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 36 of file variable.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 34 of file variable.cpp.

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 35 of file variable.cpp.

Function Documentation

◆ try_get_gamedata()

static const variable_set* try_get_gamedata ( )
static

Definition at line 81 of file variable.cpp.

References resources::gamedata.

Variable Documentation

◆ log_engine

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