17 #ifndef MULTIPLAYER_CONNECT_H_INCLUDED
18 #define MULTIPLAYER_CONNECT_H_INCLUDED
25 #include "widgets/slider.hpp"
36 const std::vector<ng::controller_option>& controller_options);
146 : launch(false), quit(false)
gui::slider slider_income_
gui::label leader_gender_title_label_
ng::side_engine_ptr engine_
ng::side_engine_ptr engine()
gui::combo combo_ai_algorithm_
void process_event_impl(const process_event_data &)
gui::label label_leader_name_
GLint GLenum GLsizei GLint GLsizei const GLvoid * data
gui::label type_title_label_
void update_faction_combo()
bool plugin_event_helper(const process_event_data &)
connect(CVideo &v, twesnothd_connection *wesnothd_connection, const std::string &game_name, const config &game_config, chat &c, config &gamelist, ng::connect_engine &engine)
std::vector< side > side_list
gui::combo_drag_ptr combo_controller_
void add_widgets_to_scrollpane(gui::scrollpane &pane, int pos)
GLdouble GLdouble GLdouble GLdouble q
This module controls the multiplayer lobby.
A small explanation about what's going on here: Each action has access to two game_info objects First...
gui::scrollpane scroll_pane_
A class that represents a TCP/IP connection to the wesnothd server.
const mp_game_settings & params() const
virtual void process_event()
GLboolean GLboolean GLboolean GLboolean a
gui::combo combo_faction_
ng::connect_engine & engine_
void start_game_commandline(const commandline_options &cmdline_opts)
gui::label label_original_controller_
gui::label label_player_number_
void start_game_commandline(const commandline_options &cmdline_opts)
gui::label waiting_label_
bool force_lock_settings() const
gui::label gold_title_label_
bool force_lock_settings() const
gui::drop_group_manager_ptr combo_control_group_
Game configuration data as global variables.
config & gamelist()
Returns the current gamelist.
virtual void process_network_data(const config &data)
Processes any pending network data.
process_event_data(bool l, bool q)
std::vector< std::string > controller_options_names(const std::vector< ng::controller_option > &controller_options)
std::vector< ai::description * > ai_algorithms_
virtual void layout_children(const SDL_Rect &rect)
Lays the children out.
gui::label team_color_title_label_
gui::label income_title_label_
virtual void hide_children(bool hide=true)
Hides or shows all gui::widget children of this widget.
void update_controller_ui()
const ng::side_engine_ptr engine() const
this class memorizes a chat session.
void update_playerlist_state(bool silent=true)
A config object defines a single node in a WML file, with access to child nodes.
gui::label faction_name_title_label_
GLsizei const GLcharARB ** string
void operator=(const connect &)
a base class for the different multiplayer base dialogs: game list, create game, wait game...
side(connect &parent, ng::side_engine_ptr engine)
const mp_game_settings & params()