14 #ifndef MULTIPLAYER_HPP_INCLUDED
15 #define MULTIPLAYER_HPP_INCLUDED
void start_client(CVideo &video, const config &game_config, saved_game &state, const std::string &host)
Starts a multiplayer game in client mode.
mp::ui::result 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.
This module controls the multiplayer lobby.
A class that represents a TCP/IP connection to the wesnothd server.
const size_t max_login_size
mp::ui::result 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.
Game configuration data as global variables.
void 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.
A config object defines a single node in a WML file, with access to child nodes.
GLsizei const GLcharARB ** string
a base class for the different multiplayer base dialogs: game list, create game, wait game...
void run_lobby_loop(CVideo &video, mp::ui &ui)
void start_local_game(CVideo &video, const config &game_config, saved_game &state)
Starts a multiplayer game in single-user mode.