The Battle for Wesnoth  1.19.0-dev
Macros | Functions | Variables
terrain.cpp File Reference
#include "deprecation.hpp"
#include "game_version.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "terrain/terrain.hpp"
Include dependency graph for terrain.cpp:

Go to the source code of this file.

Macros

#define ERR_G   LOG_STREAM(err, lg::general())
 
#define WRN_G   LOG_STREAM(warn, lg::general())
 
#define LOG_G   LOG_STREAM(info, lg::general())
 
#define DBG_G   LOG_STREAM(debug, lg::general())
 

Functions

void merge_alias_lists (t_translation::ter_list &first, const t_translation::ter_list &second)
 Insert second vector into first when the terrain _ref^base is encountered. More...
 

Variables

static lg::log_domain log_config ("config")
 

Macro Definition Documentation

◆ DBG_G

#define DBG_G   LOG_STREAM(debug, lg::general())

Definition at line 27 of file terrain.cpp.

◆ ERR_G

#define ERR_G   LOG_STREAM(err, lg::general())

Definition at line 24 of file terrain.cpp.

◆ LOG_G

#define LOG_G   LOG_STREAM(info, lg::general())

Definition at line 26 of file terrain.cpp.

◆ WRN_G

#define WRN_G   LOG_STREAM(warn, lg::general())

Definition at line 25 of file terrain.cpp.

Function Documentation

◆ merge_alias_lists()

void merge_alias_lists ( t_translation::ter_list first,
const t_translation::ter_list second 
)

Insert second vector into first when the terrain _ref^base is encountered.

Definition at line 332 of file terrain.cpp.

References t_translation::BASE, i, t_translation::MINUS, and t_translation::PLUS.

Referenced by terrain_type::terrain_type().

Variable Documentation

◆ log_config

lg::log_domain log_config("config") ( "config"  )
static