The Battle for Wesnoth  1.15.2+dev
Macros | Functions | Variables
team.cpp File Reference

Team-management, allies, setup at start of scenario. More...

#include "team.hpp"
#include "ai/manager.hpp"
#include "color.hpp"
#include "formula/string_utils.hpp"
#include "game_data.hpp"
#include "game_events/pump.hpp"
#include "lexical_cast.hpp"
#include "map/map.hpp"
#include "play_controller.hpp"
#include "playsingle_controller.hpp"
#include "preferences/game.hpp"
#include "resources.hpp"
#include "serialization/string_utils.hpp"
#include "synced_context.hpp"
#include "units/types.hpp"
#include "whiteboard/side_actions.hpp"
#include <boost/dynamic_bitset.hpp>
Include dependency graph for team.cpp:

Go to the source code of this file.

Macros

#define DBG_NG   LOG_STREAM(debug, log_engine)
 
#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define WRN_NG   LOG_STREAM(warn, log_engine)
 
#define ERR_NG   LOG_STREAM(err, log_engine)
 
#define DBG_NGE   LOG_STREAM(debug, log_engine_enemies)
 
#define LOG_NGE   LOG_STREAM(info, log_engine_enemies)
 
#define WRN_NGE   LOG_STREAM(warn, log_engine_enemies)
 

Functions

void validate_side (int side)
 

Variables

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

Detailed Description

Team-management, allies, setup at start of scenario.

Definition in file team.cpp.

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 41 of file team.cpp.

Referenced by team::shroud_map::place().

◆ DBG_NGE

#define DBG_NGE   LOG_STREAM(debug, log_engine_enemies)

Definition at line 47 of file team.cpp.

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 44 of file team.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 42 of file team.cpp.

Referenced by team::build(), team::log_recruitable(), and team::team_info::read().

◆ LOG_NGE

#define LOG_NGE   LOG_STREAM(info, log_engine_enemies)

Definition at line 48 of file team.cpp.

Referenced by team::calculate_is_enemy().

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 43 of file team.cpp.

Referenced by team::build(), and team::change_controller_by_wml().

◆ WRN_NGE

#define WRN_NGE   LOG_STREAM(warn, log_engine_enemies)

Definition at line 49 of file team.cpp.

Function Documentation

◆ validate_side()

void validate_side ( int  side)

Definition at line 758 of file team.cpp.

References resources::gameboard, and utf8::size().

Referenced by unit::init().

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static

◆ log_engine_enemies

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