The Battle for Wesnoth  1.19.7+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 "resources.hpp"
#include "serialization/chrono.hpp"
#include "serialization/string_utils.hpp"
#include "synced_context.hpp"
#include "units/types.hpp"
#include "whiteboard/side_actions.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 40 of file team.cpp.

◆ DBG_NGE

#define DBG_NGE   LOG_STREAM(debug, log_engine_enemies)

Definition at line 46 of file team.cpp.

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 43 of file team.cpp.

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 41 of file team.cpp.

◆ LOG_NGE

#define LOG_NGE   LOG_STREAM(info, log_engine_enemies)

Definition at line 47 of file team.cpp.

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 42 of file team.cpp.

◆ WRN_NGE

#define WRN_NGE   LOG_STREAM(warn, log_engine_enemies)

Definition at line 48 of file team.cpp.

Function Documentation

◆ validate_side()

void validate_side ( int  side)

Definition at line 756 of file team.cpp.

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

Referenced by unit::init().

Variable Documentation

◆ log_engine

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

◆ log_engine_enemies

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