The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Macros | Functions | Variables
multiplayer.cpp File Reference
#include "game_initialization/multiplayer.hpp"
#include "addon/manager.hpp"
#include "events.hpp"
#include "formula/string_utils.hpp"
#include "game_config_manager.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 "gui/dialogs/loading_screen.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/dialogs/multiplayer/lobby.hpp"
#include "gui/dialogs/multiplayer/mp_create_game.hpp"
#include "gui/dialogs/multiplayer/mp_join_game.hpp"
#include "gui/dialogs/multiplayer/mp_login.hpp"
#include "gui/dialogs/multiplayer/mp_staging.hpp"
#include "gui/widgets/settings.hpp"
#include "hash.hpp"
#include "log.hpp"
#include "multiplayer_error_codes.hpp"
#include "settings.hpp"
#include "sound.hpp"
#include "statistics.hpp"
#include "wesnothd_connection.hpp"
#include "resources.hpp"
#include "replay.hpp"
#include "utils/functional.hpp"
Include dependency graph for multiplayer.cpp:

Go to the source code of this file.

Namespaces

 mp
 Pubic entry points for the MP workflow.
 

Macros

#define DBG_MP   LOG_STREAM(debug, log_mp)
 

Functions

void mp::start_client (const config &game_config, saved_game &state, const std::string &host)
 Starts a multiplayer game in client mode. More...
 
bool mp::goto_mp_connect (ng::connect_engine &engine, const config &game_config, wesnothd_connection *connection)
 Opens mp::connect screen and sets game state according to the changes made. More...
 
bool mp::goto_mp_wait (saved_game &state, const config &game_config, wesnothd_connection *connection, bool observe)
 Opens mp::wait screen and sets game state according to the changes made. More...
 
void mp::start_local_game (const config &game_config, saved_game &state)
 Starts a multiplayer game in single-user mode. More...
 
void mp::start_local_game_commandline (const config &game_config, saved_game &state, const commandline_options &cmdline_opts)
 Starts a multiplayer game in single-user mode. More...
 

Variables

static lg::log_domain log_mp ("mp/main")
 

Macro Definition Documentation

#define DBG_MP   LOG_STREAM(debug, log_mp)

Variable Documentation

lg::log_domain log_mp("mp/main")
static