The Battle for Wesnoth  1.19.1+dev
Macros | Functions | Variables
map.cpp File Reference
#include "display.hpp"
#include "log.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
Include dependency graph for map.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)
 

Functions

void swap (unit_map &lhs, unit_map &rhs)
 Implement non-member swap function for std::swap (calls unit_map::swap). More...
 

Variables

static lg::log_domain log_engine ("engine")
 

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 27 of file map.cpp.

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 24 of file map.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 26 of file map.cpp.

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 25 of file map.cpp.

Function Documentation

◆ swap()

void swap ( unit_map lhs,
unit_map rhs 
)

Implement non-member swap function for std::swap (calls unit_map::swap).

Definition at line 440 of file map.cpp.

References unit_map::swap().

Referenced by unit_map::swap().

Variable Documentation

◆ log_engine

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