The Battle for Wesnoth  1.15.0-dev
Namespaces | Macros | Variables
connect_engine.cpp File Reference
#include "game_initialization/connect_engine.hpp"
#include "ai/configuration.hpp"
#include "formula/string_utils.hpp"
#include "game_initialization/mp_game_utils.hpp"
#include "game_initialization/playcampaign.hpp"
#include "preferences/credentials.hpp"
#include "preferences/game.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "map/map.hpp"
#include "mt_rng.hpp"
#include "tod_manager.hpp"
#include "team.hpp"
#include "wesnothd_connection.hpp"
#include <cstdlib>
#include <ctime>
Include dependency graph for connect_engine.cpp:

Go to the source code of this file.

Namespaces

 ng
 

Macros

#define LOG_CF   LOG_STREAM(info, log_config)
 
#define ERR_CF   LOG_STREAM(err, log_config)
 
#define DBG_MP   LOG_STREAM(debug, log_mp_connect_engine)
 
#define LOG_MP   LOG_STREAM(info, log_mp_connect_engine)
 
#define WRN_MP   LOG_STREAM(warn, log_mp_connect_engine)
 
#define ERR_MP   LOG_STREAM(err, log_mp_connect_engine)
 
#define LOG_NW   LOG_STREAM(info, log_network)
 

Variables

static lg::log_domain log_config ("config")
 
static lg::log_domain log_mp_connect_engine ("mp/connect/engine")
 
static lg::log_domain log_network ("network")
 
static const std::string controller_names []
 

Macro Definition Documentation

◆ DBG_MP

#define DBG_MP   LOG_STREAM(debug, log_mp_connect_engine)

◆ ERR_CF

#define ERR_CF   LOG_STREAM(err, log_config)

◆ ERR_MP

#define ERR_MP   LOG_STREAM(err, log_mp_connect_engine)

◆ LOG_CF

#define LOG_CF   LOG_STREAM(info, log_config)

Definition at line 34 of file connect_engine.cpp.

Referenced by ng::connect_engine::process_network_data().

◆ LOG_MP

#define LOG_MP   LOG_STREAM(info, log_mp_connect_engine)

◆ LOG_NW

#define LOG_NW   LOG_STREAM(info, log_network)

Definition at line 44 of file connect_engine.cpp.

Referenced by ng::connect_engine::process_network_data().

◆ WRN_MP

#define WRN_MP   LOG_STREAM(warn, log_mp_connect_engine)

Definition at line 40 of file connect_engine.cpp.

Referenced by ng::side_engine::side_engine().

Variable Documentation

◆ controller_names

const std::string controller_names[]
static
Initial value:
{
"human",
"human",
"ai",
"null",
"reserved"
}

Definition at line 46 of file connect_engine.cpp.

Referenced by gui2::dialogs::mp_staging::add_side_node(), gui2::dialogs::mp_staging::network_handler(), and ng::side_engine::new_config().

◆ log_config

lg::log_domain log_config("config")
static

◆ log_mp_connect_engine

lg::log_domain log_mp_connect_engine("mp/connect/engine")
static

◆ log_network

lg::log_domain log_network("network")
static