The Battle for Wesnoth  1.15.2+dev
Macros | Functions | Variables
game_board.cpp File Reference
#include "config.hpp"
#include "game_board.hpp"
#include "preferences/game.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "recall_list_manager.hpp"
#include "terrain/type_data.hpp"
#include "units/unit.hpp"
#include <set>
#include <vector>
Include dependency graph for game_board.cpp:

Go to the source code of this file.

Macros

#define DBG_RG   LOG_STREAM(debug, log_engine)
 
#define LOG_RG   LOG_STREAM(info, log_engine)
 
#define WRN_RG   LOG_STREAM(warn, log_engine)
 
#define ERR_RG   LOG_STREAM(err, log_engine)
 
#define DBG_EE   LOG_STREAM(debug, log_engine_enemies)
 

Functions

void swap (game_board &one, game_board &other)
 

Variables

static lg::log_domain log_engine ("enginerefac")
 
static lg::log_domain log_engine_enemies ("engine/enemies")
 

Macro Definition Documentation

◆ DBG_EE

#define DBG_EE   LOG_STREAM(debug, log_engine_enemies)

Definition at line 34 of file game_board.cpp.

Referenced by game_board::check_victory().

◆ DBG_RG

#define DBG_RG   LOG_STREAM(debug, log_engine)

Definition at line 28 of file game_board.cpp.

◆ ERR_RG

#define ERR_RG   LOG_STREAM(err, log_engine)

Definition at line 31 of file game_board.cpp.

◆ LOG_RG

#define LOG_RG   LOG_STREAM(info, log_engine)

Definition at line 29 of file game_board.cpp.

◆ WRN_RG

#define WRN_RG   LOG_STREAM(warn, log_engine)

Definition at line 30 of file game_board.cpp.

Function Documentation

◆ swap()

void swap ( game_board one,
game_board other 
)

Variable Documentation

◆ log_engine

lg::log_domain log_engine("enginerefac")
static

◆ log_engine_enemies

lg::log_domain log_engine_enemies("engine/enemies")
static