mp::lobby Class Reference

#include <multiplayer_lobby.hpp>

Inheritance diagram for mp::lobby:

Inheritance graph
[legend]
Collaboration diagram for mp::lobby:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 lobby (game_display &d, const config &cfg, chat &c, config &gamelist)
virtual void process_event ()

Protected Member Functions

virtual void hide_children (bool hide=true)
virtual void layout_children (const SDL_Rect &rect)
virtual void process_network_data (const config &data, const network::connection sock)
virtual void gamelist_updated (bool silent=true)

Private Attributes

std::vector< bool > game_vacant_slots_
std::vector< bool > game_observers_
gui::button observe_game_
gui::button join_game_
gui::button create_game_
gui::button skip_replay_
gui::button game_preferences_
gui::button quit_game_
int last_selected_game_
lobby_sorter sorter_
gamebrowser games_menu_
std::map< std::string,
std::string > 
minimaps_

Classes

class  lobby_sorter


Detailed Description

Definition at line 104 of file multiplayer_lobby.hpp.


Constructor & Destructor Documentation

mp::lobby::lobby ( game_display d,
const config cfg,
chat c,
config gamelist 
)


Member Function Documentation

void mp::lobby::process_event (  )  [virtual]

void mp::lobby::hide_children ( bool  hide = true  )  [protected, virtual]

void mp::lobby::layout_children ( const SDL_Rect &  rect  )  [protected, virtual]

void mp::lobby::process_network_data ( const config data,
const network::connection  sock 
) [protected, virtual]

Reimplemented from mp::ui.

Definition at line 817 of file multiplayer_lobby.cpp.

References last_selected_game_, and mp::ui::process_network_data().

void mp::lobby::gamelist_updated ( bool  silent = true  )  [protected, virtual]


Member Data Documentation

std::vector<bool> mp::lobby::game_vacant_slots_ [private]

Definition at line 131 of file multiplayer_lobby.hpp.

std::vector<bool> mp::lobby::game_observers_ [private]

Definition at line 132 of file multiplayer_lobby.hpp.

Definition at line 136 of file multiplayer_lobby.hpp.

Referenced by hide_children(), layout_children(), and process_event().

Definition at line 137 of file multiplayer_lobby.hpp.

Referenced by hide_children(), layout_children(), lobby(), and process_event().

Definition at line 139 of file multiplayer_lobby.hpp.

Referenced by hide_children(), layout_children(), and process_event().

Definition at line 141 of file multiplayer_lobby.hpp.

Referenced by hide_children(), layout_children(), and process_event().

Definition at line 143 of file multiplayer_lobby.hpp.

Referenced by process_event(), and process_network_data().

Definition at line 145 of file multiplayer_lobby.hpp.

std::map<std::string,std::string> mp::lobby::minimaps_ [private]

Definition at line 148 of file multiplayer_lobby.hpp.


The documentation for this class was generated from the following files:

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs