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.


#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)


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


static lg::log_domain log_engine ("engine")

Macro Definition Documentation


#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 27 of file map.cpp.


#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 24 of file map.cpp.


#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 26 of file map.cpp.


#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"  )