The Battle for Wesnoth  1.13.4+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 "mp_game_settings.hpp"
#include "connect_engine.hpp"
#include "multiplayer_ui.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
 This module controls the multiplayer lobby.
 

Functions

void mp::run_lobby_loop (CVideo &video, mp::ui &ui)
 
void mp::start_local_game (CVideo &video, const config &game_config, saved_game &state)
 Starts a multiplayer game in single-user mode. More...
 
void mp::start_local_game_commandline (CVideo &video, 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 (CVideo &video, const config &game_config, saved_game &state, const std::string &host)
 Starts a multiplayer game in client mode. More...
 
mp::ui::result mp::goto_mp_connect (CVideo &video, ng::connect_engine &engine, const config &game_config, twesnothd_connection *wesnothd_connection, const std::string &game_name)
 Opens mp::connect screen and sets game state according to the changes made. More...
 
mp::ui::result mp::goto_mp_wait (CVideo &video, saved_game &state, const config &game_config, twesnothd_connection *wesnothd_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.