The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
mp_game_utils.cpp File Reference
#include "mp_game_utils.hpp"
#include "carryover.hpp"
#include "config.hpp"
#include "dialogs.hpp"
#include "formula/string_utils.hpp"
#include "saved_game.hpp"
#include "game_config.hpp"
#include "game_config_manager.hpp"
#include "gettext.hpp"
#include "log.hpp"
#include "mp_options.hpp"
#include "savegame.hpp"
#include "units/id.hpp"
#include "wesnothd_connection_error.hpp"
Include dependency graph for mp_game_utils.cpp:

Go to the source code of this file.

Namespaces

 mp
 This module controls the multiplayer lobby.
 

Macros

#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define ERR_NG   LOG_STREAM(err, log_engine)
 
#define LOG_CF   LOG_STREAM(info, log_config)
 
#define WRN_CF   LOG_STREAM(warn, log_config)
 
#define ERR_CF   LOG_STREAM(err, log_config)
 
#define LOG_NW   LOG_STREAM(info, log_network)
 
#define ERR_NW   LOG_STREAM(err, log_network)
 

Functions

static void mp::add_multiplayer_classification (config &multiplayer, saved_game &state)
 
config mp::initial_level_config (saved_game &state)
 
void mp::level_to_gamestate (const config &level, saved_game &state)
 
void mp::check_response (bool res, const config &data)
 

Variables

static lg::log_domain log_engine ("engine")
 
static lg::log_domain log_config ("config")
 
static lg::log_domain log_network ("network")
 

Macro Definition Documentation

#define ERR_CF   LOG_STREAM(err, log_config)

Definition at line 37 of file mp_game_utils.cpp.

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 32 of file mp_game_utils.cpp.

#define ERR_NW   LOG_STREAM(err, log_network)

Definition at line 41 of file mp_game_utils.cpp.

#define LOG_CF   LOG_STREAM(info, log_config)

Definition at line 35 of file mp_game_utils.cpp.

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 31 of file mp_game_utils.cpp.

#define LOG_NW   LOG_STREAM(info, log_network)

Definition at line 40 of file mp_game_utils.cpp.

#define WRN_CF   LOG_STREAM(warn, log_config)

Definition at line 36 of file mp_game_utils.cpp.

Referenced by mp::initial_level_config().

Variable Documentation

lg::log_domain log_config("config")
static
lg::log_domain log_engine("engine")
static
lg::log_domain log_network("network")
static