The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Namespaces | Functions | Variables
multiplayer.hpp File Reference

-file mapgen.hpp More...

#include "commandline_options.hpp"
#include "connect_engine.hpp"
#include "mp_game_settings.hpp"
#include "scripting/plugins/context.hpp"
Include dependency graph for multiplayer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mp
 Pubic entry points for the MP workflow.
 

Functions

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...
 
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...
 

Variables

const size_t mp::max_login_size = 20
 

Detailed Description

-file mapgen.hpp

-file map.hpp -file multiplayer_client.hpp -file multiplayer_connect.hpp

Definition in file multiplayer.hpp.