OgreGFX::LobbyMgr Class Reference

#include <lobbyMgr.h>

Inheritance diagram for OgreGFX::LobbyMgr:

OgreGFX::GFXMgr OgreGFX::GFXMgr OgreGFX::GFXMgr

List of all members.

Public Member Functions

 LobbyMgr (FastEcslent::Engine *engine, GraphicsInteractionManager *gim, OIS::Mouse *m, OIS::Keyboard *k)
 ~LobbyMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void initialize ()
virtual void buttonHit (OgreBites::Button *button)
virtual void itemSelected (OgreBites::SelectMenu *menu)
virtual void labelHit (OgreBites::Label *label)
virtual void sliderMoved (OgreBites::Slider *slider)
virtual void checkBoxToggled (OgreBites::CheckBox *box)
virtual void okDialogClosed (const Ogre::DisplayString &message)
virtual void yesNoDialogClosed (const Ogre::DisplayString &question, bool yesHit)
void addRemoteServer (const std::string &gName, const std::string &ip, int port)
void addNode (const std::string &gName, const std::string &nodeip, int port, int side, int player, int slot, bool isHost)
void removeNodeFromSlot (const std::string &nodeip)
void handleJoinRequest (const std::string &clientName, const std::string &ip, int port)
void lobbyEnter (const std::string &serverip, int port, int side, int player)
void swapNodeSlot (int newslot, int oldslot, int newside, int newplayer)
void lobbyExit (const std::string &clientip, int port)
void startGame (const std::string &ip, int port)
std::pair< std::string, int > getLobbyHost ()
 LobbyMgr (FastEcslent::Engine *engine, GraphicsInteractionManager *gim, OIS::Mouse *m, OIS::Keyboard *k)
 ~LobbyMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void initialize ()
virtual void buttonHit (OgreBites::Button *button)
virtual void itemSelected (OgreBites::SelectMenu *menu)
virtual void labelHit (OgreBites::Label *label)
virtual void sliderMoved (OgreBites::Slider *slider)
virtual void checkBoxToggled (OgreBites::CheckBox *box)
virtual void okDialogClosed (const Ogre::DisplayString &message)
virtual void yesNoDialogClosed (const Ogre::DisplayString &question, bool yesHit)
void addRemoteServer (const std::string &gName, const std::string &ip, int port)
void addNode (const std::string &gName, const std::string &nodeip, int port, int side, int player, int slot, bool isHost)
void removeNodeFromSlot (const std::string &nodeip)
void handleJoinRequest (const std::string &clientName, const std::string &ip, int port)
void lobbyEnter (const std::string &serverip, int port, int side, int player)
void swapNodeSlot (int newslot, int oldslot, int newside, int newplayer)
void lobbyExit (const std::string &clientip, int port)
void startGame (const std::string &ip, int port)
std::pair< std::string, int > getLobbyHost ()
 LobbyMgr (FastEcslent::Engine *engine, GraphicsInteractionManager *gim, OIS::Mouse *m, OIS::Keyboard *k)
 ~LobbyMgr ()
virtual bool frameRenderingQueued (const Ogre::FrameEvent &evt)
virtual bool frameStarted (const Ogre::FrameEvent &evt)
virtual bool frameEnded (const Ogre::FrameEvent &evt)
virtual bool keyPressed (const OIS::KeyEvent &arg)
virtual bool keyReleased (const OIS::KeyEvent &arg)
virtual bool mouseMoved (const OIS::MouseEvent &arg)
virtual bool mousePressed (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual bool mouseReleased (const OIS::MouseEvent &arg, OIS::MouseButtonID id)
virtual void initialize ()
virtual void buttonHit (OgreBites::Button *button)
virtual void itemSelected (OgreBites::SelectMenu *menu)
virtual void labelHit (OgreBites::Label *label)
virtual void sliderMoved (OgreBites::Slider *slider)
virtual void checkBoxToggled (OgreBites::CheckBox *box)
virtual void okDialogClosed (const Ogre::DisplayString &message)
virtual void yesNoDialogClosed (const Ogre::DisplayString &question, bool yesHit)
void addRemoteServer (const std::string &gName, const std::string &ip, int port)
void addNode (const std::string &gName, const std::string &nodeip, int port, int side, int player, int slot, bool isHost)
void removeNodeFromSlot (const std::string &nodeip)
void handleJoinRequest (const std::string &clientName, const std::string &ip, int port)
void lobbyEnter (const std::string &serverip, int port, int side, int player)
void swapNodeSlot (int newslot, int oldslot, int newside, int newplayer)
void lobbyExit (const std::string &clientip, int port)
void startGame (const std::string &ip, int port)
std::pair< std::string, int > getLobbyHost ()

Public Attributes

std::map< std::string,
LobbyNode * > 
nodeMap
std::map< std::string,
LobbyNode * > 
remoteServerMap
LobbyState state
std::map< std::string,
LobbyNode * > 
nodeMap
std::map< std::string,
LobbyNode * > 
remoteServerMap
std::map< std::string,
LobbyNode * > 
nodeMap
std::map< std::string,
LobbyNode * > 
remoteServerMap

Private Member Functions

void refreshServerAndSlots ()
void init ()
void initGUIGameMenu ()
void initGUILobby ()
void loadOptions ()
void setNoneTrayPosition ()
void clearPlayerLabel ()
void handleExitButton ()
int getEmptySlot ()
int getEmptySlot (int side)
std::string getLobbyString (const std::string &lobbyName, const std::string &ip, int port)
std::string getPlayerString (const std::string &playerName, const std::string &ip)
void loadGame ()
void joinGame ()
void configureGame ()
void switchState ()
void slotSwap (int slot1, int slot2)
void clearServerMap ()
void clearNodeMap ()
void refreshServerAndSlots ()
void init ()
void initGUIGameMenu ()
void initGUILobby ()
void loadOptions ()
void setNoneTrayPosition ()
void clearPlayerLabel ()
void handleExitButton ()
int getEmptySlot ()
int getEmptySlot (int side)
std::string getLobbyString (const std::string &lobbyName, const std::string &ip, int port)
std::string getPlayerString (const std::string &playerName, const std::string &ip)
void loadGame ()
void joinGame ()
void configureGame ()
void switchState ()
void slotSwap (int slot1, int slot2)
void clearServerMap ()
void clearNodeMap ()
void refreshServerAndSlots ()
void init ()
void initGUIGameMenu ()
void initGUILobby ()
void loadOptions ()
void setNoneTrayPosition ()
void clearPlayerLabel ()
void handleExitButton ()
int getEmptySlot ()
int getEmptySlot (int side)
std::string getLobbyString (const std::string &lobbyName, const std::string &ip, int port)
std::string getPlayerString (const std::string &playerName, const std::string &ip)
void loadGame ()
void joinGame ()
void configureGame ()
void switchState ()
void slotSwap (int slot1, int slot2)
void clearServerMap ()
void clearNodeMap ()

Private Attributes

FastEcslent::NetLobbynetLobby
FastEcslent::Engineengine
OgreBites::SdkTrayManager * mTrayMgr
OIS::Mouse * mouse
OIS::Keyboard * keyboard
std::map< int, std::string > slots
OgreBites::Label * lobbyLb
OgreBites::Separator * separatorTop
OgreBites::Label * playerLb [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerColor [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerSide [FastEcslent::MaxPlayers]
OgreBites::Button * lobbyStartBt
OgreBites::Button * lobbyExitBt
std::string exitQuestion
OgreBites::DecorWidget * logo
OgreBites::Separator * separatorCenter
OgreBites::CheckBox * soundCB
OgreBites::CheckBox * serverCB
OgreBites::Button * createBt
OgreBites::Button * exitBt
OgreBites::TextBox * networkTB
OgreBites::TextBox * messageTB
OgreBites::Button * sendBt
OgreBites::SelectMenu * remoteServerMenu
OgreBites::Button * joinBt
ptime startTime
long LOBBY_TOLERANCE
FastEcslent::NetLobbynetLobby
FastEcslent::Engineengine
OgreBites::SdkTrayManager * mTrayMgr
OIS::Mouse * mouse
OIS::Keyboard * keyboard
std::map< int, std::string > slots
OgreBites::Label * lobbyLb
OgreBites::Separator * separatorTop
OgreBites::Label * playerLb [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerColor [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerSide [FastEcslent::MaxPlayers]
OgreBites::Button * lobbyStartBt
OgreBites::Button * lobbyExitBt
OgreBites::DecorWidget * logo
OgreBites::Separator * separatorCenter
OgreBites::CheckBox * soundCB
OgreBites::CheckBox * serverCB
OgreBites::Button * createBt
OgreBites::Button * exitBt
OgreBites::TextBox * networkTB
OgreBites::TextBox * messageTB
OgreBites::Button * sendBt
OgreBites::SelectMenu * remoteServerMenu
OgreBites::Button * joinBt
FastEcslent::NetLobbynetLobby
FastEcslent::Engineengine
OgreBites::SdkTrayManager * mTrayMgr
OIS::Mouse * mouse
OIS::Keyboard * keyboard
std::map< int, std::string > slots
OgreBites::Label * lobbyLb
OgreBites::Separator * separatorTop
OgreBites::Label * playerLb [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerColor [FastEcslent::MaxPlayers]
OgreBites::SelectMenu * playerSide [FastEcslent::MaxPlayers]
OgreBites::Button * lobbyStartBt
OgreBites::Button * lobbyExitBt
OgreBites::DecorWidget * logo
OgreBites::Separator * separatorCenter
OgreBites::CheckBox * soundCB
OgreBites::CheckBox * serverCB
OgreBites::Button * createBt
OgreBites::Button * exitBt
OgreBites::TextBox * networkTB
OgreBites::TextBox * messageTB
OgreBites::Button * sendBt
OgreBites::SelectMenu * remoteServerMenu
OgreBites::Button * joinBt

Static Private Attributes

static const int LobbyTitleWidth = 400
static const int LobbySepWidth = 800
static const int LobbyPlayerWidth = 400
static const int LobbyPlayerColorWidth = 100
static const int LobbyPlayerSideWidth = 100
static const int LobbyBtnWidth = 150
static const int LobbyGapH = 10
static const int LobbyGapV = 50
static const int GameNemuWidth = 200


Detailed Description

class LobbyMgr Inherited from GFXMgr, FrameListener

Definition at line 60 of file lobbyMgr.h.


Constructor & Destructor Documentation

OgreGFX::LobbyMgr::LobbyMgr ( FastEcslent::Engine engine,
GraphicsInteractionManager gim,
OIS::Mouse *  m,
OIS::Keyboard *  k 
)

Definition at line 10 of file lobbyMgr.cpp.

References OgreGFX::GAMEMENU, getCurrentTime(), init(), keyboard, mouse, startTime, and state.

OgreGFX::LobbyMgr::~LobbyMgr (  ) 

Definition at line 531 of file lobbyMgr.cpp.

References mTrayMgr, and netLobby.

OgreGFX::LobbyMgr::LobbyMgr ( FastEcslent::Engine engine,
GraphicsInteractionManager gim,
OIS::Mouse *  m,
OIS::Keyboard *  k 
)

OgreGFX::LobbyMgr::~LobbyMgr (  ) 

OgreGFX::LobbyMgr::LobbyMgr ( FastEcslent::Engine engine,
GraphicsInteractionManager gim,
OIS::Mouse *  m,
OIS::Keyboard *  k 
)

OgreGFX::LobbyMgr::~LobbyMgr (  ) 


Member Function Documentation

bool OgreGFX::LobbyMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 33 of file lobbyMgr.cpp.

References refreshServerAndSlots().

bool OgreGFX::LobbyMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 21 of file lobbyMgr.cpp.

References engine, FastEcslent::GAME, FastEcslent::Engine::gameState, keyboard, loadGame(), and mouse.

bool OgreGFX::LobbyMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

Definition at line 38 of file lobbyMgr.cpp.

bool OgreGFX::LobbyMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

Key/Mouse handler

Definition at line 45 of file lobbyMgr.cpp.

bool OgreGFX::LobbyMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

Definition at line 48 of file lobbyMgr.cpp.

bool OgreGFX::LobbyMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

Definition at line 51 of file lobbyMgr.cpp.

References mTrayMgr.

bool OgreGFX::LobbyMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

Definition at line 55 of file lobbyMgr.cpp.

References mTrayMgr.

bool OgreGFX::LobbyMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

Definition at line 59 of file lobbyMgr.cpp.

References mTrayMgr.

void OgreGFX::LobbyMgr::initialize (  )  [virtual]

Reimplemented from OgreGFX::GFXMgr.

Definition at line 79 of file lobbyMgr.cpp.

void OgreGFX::LobbyMgr::buttonHit ( OgreBites::Button *  button  )  [virtual]

Definition at line 83 of file lobbyMgr.cpp.

References addNode(), clearPlayerLabel(), createBt, engine, exitBt, exitQuestion, getLobbyString(), handleExitButton(), joinBt, joinGame(), lobbyExitBt, lobbyLb, lobbyStartBt, mTrayMgr, FastEcslent::NetLobby::myIPAddress, netLobby, Options::networkPort, FastEcslent::Engine::options, FastEcslent::RED, remoteServerMenu, startGame(), and switchState().

void OgreGFX::LobbyMgr::itemSelected ( OgreBites::SelectMenu *  menu  )  [virtual]

Definition at line 113 of file lobbyMgr.cpp.

References FastEcslent::BLUE, engine, getEmptySlot(), getLobbyHost(), Options::isServer, FastEcslent::NetLobby::lobbySlotSwapReq(), netLobby, nodeMap, FastEcslent::Engine::options, FastEcslent::RED, slots, and slotSwap().

void OgreGFX::LobbyMgr::labelHit ( OgreBites::Label *  label  )  [virtual]

Definition at line 132 of file lobbyMgr.cpp.

void OgreGFX::LobbyMgr::sliderMoved ( OgreBites::Slider *  slider  )  [virtual]

Definition at line 135 of file lobbyMgr.cpp.

void OgreGFX::LobbyMgr::checkBoxToggled ( OgreBites::CheckBox *  box  )  [virtual]

Definition at line 138 of file lobbyMgr.cpp.

References createBt, engine, FastEcslent::Engine::gfx, Options::isServer, mTrayMgr, FastEcslent::Engine::options, remoteServerMenu, serverCB, and soundCB.

void OgreGFX::LobbyMgr::okDialogClosed ( const Ogre::DisplayString &  message  )  [virtual]

Definition at line 159 of file lobbyMgr.cpp.

void OgreGFX::LobbyMgr::yesNoDialogClosed ( const Ogre::DisplayString &  question,
bool  yesHit 
) [virtual]

Definition at line 161 of file lobbyMgr.cpp.

References exitQuestion.

void OgreGFX::LobbyMgr::addRemoteServer ( const std::string &  gName,
const std::string &  ip,
int  port 
)

Update servers who currently created a Lobby in the LAN.

Parameters:
gName,: Game name
ip,: server ip
port,: server port

Definition at line 266 of file lobbyMgr.cpp.

References getCurrentTime(), OgreGFX::LobbyNode::ip, OgreGFX::LobbyNode::name, OgreGFX::LobbyNode::port, remoteServerMap, startTime, and OgreGFX::LobbyNode::time.

void OgreGFX::LobbyMgr::addNode ( const std::string &  gName,
const std::string &  nodeip,
int  port,
int  side,
int  player,
int  slot,
bool  isHost 
)

Add a node to lobby 1. Update node information 2. Update slots

Parameters:
gName,: Game name
nodeip,: node ip address
port,: lobby port
side,: node side
player,: node player
slot,: node slot in the lobby
isHost,: is this node the host of lobby

Definition at line 276 of file lobbyMgr.cpp.

References getCurrentTime(), OgreGFX::LobbyNode::ip, OgreGFX::LobbyNode::isHost, OgreGFX::LobbyNode::name, nodeMap, OgreGFX::LobbyNode::player, OgreGFX::LobbyNode::port, removeNodeFromSlot(), OgreGFX::LobbyNode::side, OgreGFX::LobbyNode::slot, slots, startTime, and OgreGFX::LobbyNode::time.

Referenced by buttonHit().

void OgreGFX::LobbyMgr::removeNodeFromSlot ( const std::string &  nodeip  ) 

Slot changed from the server, remove the node information from the old slot

Parameters:
nodeip,: node ip to be removed from the slot.

Definition at line 300 of file lobbyMgr.cpp.

References nodeMap, OgreGFX::LobbyNode::slot, and slots.

Referenced by addNode().

void OgreGFX::LobbyMgr::handleJoinRequest ( const std::string &  clientName,
const std::string &  ip,
int  port 
)

Function as a SERVER - Accept the request from client of join the lobby. Assign side and player to the new node, and send confirmation to the client node.

Parameters:
clientName,: client name
ip,: client ip
port,: server port

Definition at line 308 of file lobbyMgr.cpp.

References FastEcslent::BLUE, getCurrentTime(), getEmptySlot(), OgreGFX::LobbyNode::ip, FastEcslent::MaxPlayers, OgreGFX::LobbyNode::name, netLobby, nodeMap, OgreGFX::LobbyNode::player, OgreGFX::LobbyNode::port, FastEcslent::RED, FastEcslent::NetLobby::sendLobbyClientResponse(), OgreGFX::LobbyNode::side, OgreGFX::LobbyNode::slot, slots, startTime, and OgreGFX::LobbyNode::time.

void OgreGFX::LobbyMgr::lobbyEnter ( const std::string &  serverip,
int  port,
int  side,
int  player 
)

Function as a CLIENT - Receive the response from the server, and enter the lobby

Parameters:
serverip,: ip address of the server lobby
port,: port of the server lobby
side,: side assigned by the server
player,: player assigned by the server

Definition at line 328 of file lobbyMgr.cpp.

References engine, getLobbyString(), lobbyLb, mTrayMgr, FastEcslent::Engine::options, Options::player, remoteServerMap, and Options::side.

void OgreGFX::LobbyMgr::swapNodeSlot ( int  newslot,
int  oldslot,
int  newside,
int  newplayer 
)

Function as a SERVER - Handle client swap slot request, swap 2 slots

Parameters:
newslot,: slot 1
oldslot,: slot 2
newside,: new side
newplayer,: new player

Definition at line 339 of file lobbyMgr.cpp.

References nodeMap, slots, and slotSwap().

void OgreGFX::LobbyMgr::lobbyExit ( const std::string &  clientip,
int  port 
)

Function as a CLIENT - Exit from a lobby

Definition at line 345 of file lobbyMgr.cpp.

References engine, handleExitButton(), Options::isServer, OgreGFX::LOBBY, FastEcslent::MaxPlayers, nodeMap, FastEcslent::Engine::options, slots, and state.

void OgreGFX::LobbyMgr::startGame ( const std::string &  ip,
int  port 
)

Set the game started flag to true.

Definition at line 361 of file lobbyMgr.cpp.

References engine, FastEcslent::GAME, FastEcslent::Engine::gameState, and getLobbyHost().

Referenced by buttonHit().

std::pair< std::string, int > OgreGFX::LobbyMgr::getLobbyHost (  ) 

Definition at line 368 of file lobbyMgr.cpp.

References OgreGFX::LobbyNode::ip, OgreGFX::LobbyNode::isHost, nodeMap, and OgreGFX::LobbyNode::port.

Referenced by handleExitButton(), itemSelected(), and startGame().

void OgreGFX::LobbyMgr::refreshServerAndSlots (  )  [private]

Definition at line 413 of file lobbyMgr.cpp.

References engine, OgreGFX::GAMEMENU, getCurrentTime(), getPlayerString(), Options::isServer, OgreGFX::LOBBY, LOBBY_TOLERANCE, FastEcslent::MaxPlayers, nodeMap, FastEcslent::Engine::options, playerLb, playerSide, FastEcslent::RED, remoteServerMap, remoteServerMenu, slots, startTime, state, and OgreGFX::LobbyNode::time.

Referenced by frameRenderingQueued().

void OgreGFX::LobbyMgr::init (  )  [private]

Definition at line 64 of file lobbyMgr.cpp.

References engine, exitQuestion, FastEcslent::Engine::gameState, initGUIGameMenu(), loadOptions(), FastEcslent::LOBBY, LOBBY_TOLERANCE, mTrayMgr, netLobby, and FastEcslent::NetLobby::run().

Referenced by LobbyMgr().

void OgreGFX::LobbyMgr::initGUIGameMenu (  )  [private]

Definition at line 192 of file lobbyMgr.cpp.

References createBt, exitBt, GameNemuWidth, OgreGFX::GFXMgr::gfx, initGUILobby(), joinBt, logo, mouse, mTrayMgr, OgreGFX::GraphicsInteractionManager::mWindow, remoteServerMenu, separatorCenter, serverCB, setNoneTrayPosition(), and soundCB.

Referenced by init().

void OgreGFX::LobbyMgr::initGUILobby (  )  [private]

Definition at line 220 of file lobbyMgr.cpp.

References int_to_string(), LobbyBtnWidth, lobbyExitBt, lobbyLb, LobbyPlayerSideWidth, LobbyPlayerWidth, LobbySepWidth, lobbyStartBt, LobbyTitleWidth, FastEcslent::MaxPlayers, mTrayMgr, playerLb, playerSide, and separatorTop.

Referenced by initGUIGameMenu().

void OgreGFX::LobbyMgr::loadOptions (  )  [private]

Definition at line 256 of file lobbyMgr.cpp.

References engine, Options::isServer, mTrayMgr, FastEcslent::Engine::options, and serverCB.

Referenced by init().

void OgreGFX::LobbyMgr::setNoneTrayPosition (  )  [private]

Definition at line 237 of file lobbyMgr.cpp.

References OgreGFX::GFXMgr::gfx, LobbyBtnWidth, lobbyExitBt, LobbyGapH, LobbyGapV, lobbyLb, LobbyPlayerSideWidth, LobbyPlayerWidth, LobbySepWidth, lobbyStartBt, LobbyTitleWidth, FastEcslent::MaxPlayers, OgreGFX::GraphicsInteractionManager::mWindow, playerLb, playerSide, and separatorTop.

Referenced by initGUIGameMenu().

void OgreGFX::LobbyMgr::clearPlayerLabel (  )  [private]

Definition at line 484 of file lobbyMgr.cpp.

References FastEcslent::MaxPlayers, and playerLb.

Referenced by buttonHit().

void OgreGFX::LobbyMgr::handleExitButton (  )  [private]

Definition at line 511 of file lobbyMgr.cpp.

References clearNodeMap(), clearServerMap(), engine, getLobbyHost(), Options::isServer, FastEcslent::NetLobby::lobbyExitGame(), lobbyStartBt, mTrayMgr, netLobby, FastEcslent::Engine::options, and switchState().

Referenced by buttonHit(), and lobbyExit().

int OgreGFX::LobbyMgr::getEmptySlot (  )  [private]

Definition at line 452 of file lobbyMgr.cpp.

References FastEcslent::MaxPlayers, and slots.

Referenced by handleJoinRequest(), and itemSelected().

int OgreGFX::LobbyMgr::getEmptySlot ( int  side  )  [private]

Definition at line 461 of file lobbyMgr.cpp.

References FastEcslent::MaxPlayers, and slots.

std::string OgreGFX::LobbyMgr::getLobbyString ( const std::string &  lobbyName,
const std::string &  ip,
int  port 
) [private]

Definition at line 381 of file lobbyMgr.cpp.

References int_to_string().

Referenced by buttonHit(), and lobbyEnter().

std::string OgreGFX::LobbyMgr::getPlayerString ( const std::string &  playerName,
const std::string &  ip 
) [private]

Definition at line 407 of file lobbyMgr.cpp.

Referenced by refreshServerAndSlots().

void OgreGFX::LobbyMgr::loadGame (  )  [private]

Definition at line 167 of file lobbyMgr.cpp.

References configureGame(), engine, OgreGFX::GFXMgr::gfx, Options::isServer, OgreGFX::GraphicsInteractionManager::loadGameGFX(), FastEcslent::NetLobby::lobbyStart(), OgreGFX::GraphicsInteractionManager::mRoot, mTrayMgr, netLobby, FastEcslent::Engine::options, and FastEcslent::NetLobby::quit.

Referenced by frameStarted().

void OgreGFX::LobbyMgr::joinGame (  )  [private]

Definition at line 184 of file lobbyMgr.cpp.

References FastEcslent::NetLobby::lobbyJoinGame(), lobbyStartBt, netLobby, remoteServerMap, and remoteServerMenu.

Referenced by buttonHit().

void OgreGFX::LobbyMgr::configureGame (  )  [private]

Definition at line 490 of file lobbyMgr.cpp.

References FastEcslent::BLUE, engine, FastEcslent::MaxPlayers, FastEcslent::Engine::options, Options::player, FastEcslent::RED, Options::side, and slots.

Referenced by loadGame().

void OgreGFX::LobbyMgr::switchState (  )  [private]

Definition at line 503 of file lobbyMgr.cpp.

References OgreGFX::GAMEMENU, OgreGFX::LOBBY, and state.

Referenced by buttonHit(), and handleExitButton().

void OgreGFX::LobbyMgr::slotSwap ( int  slot1,
int  slot2 
) [private]

Definition at line 470 of file lobbyMgr.cpp.

References nodeMap, and slots.

Referenced by itemSelected(), and swapNodeSlot().

void OgreGFX::LobbyMgr::clearServerMap (  )  [private]

Definition at line 387 of file lobbyMgr.cpp.

References remoteServerMap.

Referenced by handleExitButton().

void OgreGFX::LobbyMgr::clearNodeMap (  )  [private]

Definition at line 395 of file lobbyMgr.cpp.

References FastEcslent::MaxPlayers, nodeMap, and slots.

Referenced by handleExitButton().

virtual bool OgreGFX::LobbyMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

virtual bool OgreGFX::LobbyMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

virtual void OgreGFX::LobbyMgr::initialize (  )  [virtual]

Reimplemented from OgreGFX::GFXMgr.

virtual void OgreGFX::LobbyMgr::buttonHit ( OgreBites::Button *  button  )  [virtual]

virtual void OgreGFX::LobbyMgr::itemSelected ( OgreBites::SelectMenu *  menu  )  [virtual]

virtual void OgreGFX::LobbyMgr::labelHit ( OgreBites::Label *  label  )  [virtual]

virtual void OgreGFX::LobbyMgr::sliderMoved ( OgreBites::Slider *  slider  )  [virtual]

virtual void OgreGFX::LobbyMgr::checkBoxToggled ( OgreBites::CheckBox *  box  )  [virtual]

virtual void OgreGFX::LobbyMgr::okDialogClosed ( const Ogre::DisplayString &  message  )  [virtual]

virtual void OgreGFX::LobbyMgr::yesNoDialogClosed ( const Ogre::DisplayString &  question,
bool  yesHit 
) [virtual]

void OgreGFX::LobbyMgr::addRemoteServer ( const std::string &  gName,
const std::string &  ip,
int  port 
)

Update servers who currently created a Lobby in the LAN.

Parameters:
gName,: Game name
ip,: server ip
port,: server port

void OgreGFX::LobbyMgr::addNode ( const std::string &  gName,
const std::string &  nodeip,
int  port,
int  side,
int  player,
int  slot,
bool  isHost 
)

Add a node to lobby 1. Update node information 2. Update slots

Parameters:
gName,: Game name
nodeip,: node ip address
port,: lobby port
side,: node side
player,: node player
slot,: node slot in the lobby
isHost,: is this node the host of lobby

void OgreGFX::LobbyMgr::removeNodeFromSlot ( const std::string &  nodeip  ) 

Slot changed from the server, remove the node information from the old slot

Parameters:
nodeip,: node ip to be removed from the slot.

void OgreGFX::LobbyMgr::handleJoinRequest ( const std::string &  clientName,
const std::string &  ip,
int  port 
)

Function as a SERVER - Accept the request from client of join the lobby. Assign side and player to the new node, and send confirmation to the client node.

Parameters:
clientName,: client name
ip,: client ip
port,: server port

void OgreGFX::LobbyMgr::lobbyEnter ( const std::string &  serverip,
int  port,
int  side,
int  player 
)

Function as a CLIENT - Receive the response from the server, and enter the lobby

Parameters:
serverip,: ip address of the server lobby
port,: port of the server lobby
side,: side assigned by the server
player,: player assigned by the server

void OgreGFX::LobbyMgr::swapNodeSlot ( int  newslot,
int  oldslot,
int  newside,
int  newplayer 
)

Function as a SERVER - Handle client swap slot request, swap 2 slots

Parameters:
newslot,: slot 1
oldslot,: slot 2
newside,: new side
newplayer,: new player

void OgreGFX::LobbyMgr::lobbyExit ( const std::string &  clientip,
int  port 
)

Function as a CLIENT - Exit from a lobby

void OgreGFX::LobbyMgr::startGame ( const std::string &  ip,
int  port 
)

Set the game started flag to true.

std::pair<std::string, int> OgreGFX::LobbyMgr::getLobbyHost (  ) 

void OgreGFX::LobbyMgr::refreshServerAndSlots (  )  [private]

void OgreGFX::LobbyMgr::init (  )  [private]

void OgreGFX::LobbyMgr::initGUIGameMenu (  )  [private]

void OgreGFX::LobbyMgr::initGUILobby (  )  [private]

void OgreGFX::LobbyMgr::loadOptions (  )  [private]

void OgreGFX::LobbyMgr::setNoneTrayPosition (  )  [private]

void OgreGFX::LobbyMgr::clearPlayerLabel (  )  [private]

void OgreGFX::LobbyMgr::handleExitButton (  )  [private]

int OgreGFX::LobbyMgr::getEmptySlot (  )  [private]

int OgreGFX::LobbyMgr::getEmptySlot ( int  side  )  [private]

std::string OgreGFX::LobbyMgr::getLobbyString ( const std::string &  lobbyName,
const std::string &  ip,
int  port 
) [private]

std::string OgreGFX::LobbyMgr::getPlayerString ( const std::string &  playerName,
const std::string &  ip 
) [private]

void OgreGFX::LobbyMgr::loadGame (  )  [private]

void OgreGFX::LobbyMgr::joinGame (  )  [private]

void OgreGFX::LobbyMgr::configureGame (  )  [private]

void OgreGFX::LobbyMgr::switchState (  )  [private]

void OgreGFX::LobbyMgr::slotSwap ( int  slot1,
int  slot2 
) [private]

void OgreGFX::LobbyMgr::clearServerMap (  )  [private]

void OgreGFX::LobbyMgr::clearNodeMap (  )  [private]

virtual bool OgreGFX::LobbyMgr::frameRenderingQueued ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::frameStarted ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::frameEnded ( const Ogre::FrameEvent &  evt  )  [virtual]

virtual bool OgreGFX::LobbyMgr::keyPressed ( const OIS::KeyEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::keyReleased ( const OIS::KeyEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::mouseMoved ( const OIS::MouseEvent &  arg  )  [virtual]

virtual bool OgreGFX::LobbyMgr::mousePressed ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

virtual bool OgreGFX::LobbyMgr::mouseReleased ( const OIS::MouseEvent &  arg,
OIS::MouseButtonID  id 
) [virtual]

virtual void OgreGFX::LobbyMgr::initialize (  )  [virtual]

Reimplemented from OgreGFX::GFXMgr.

virtual void OgreGFX::LobbyMgr::buttonHit ( OgreBites::Button *  button  )  [virtual]

virtual void OgreGFX::LobbyMgr::itemSelected ( OgreBites::SelectMenu *  menu  )  [virtual]

virtual void OgreGFX::LobbyMgr::labelHit ( OgreBites::Label *  label  )  [virtual]

virtual void OgreGFX::LobbyMgr::sliderMoved ( OgreBites::Slider *  slider  )  [virtual]

virtual void OgreGFX::LobbyMgr::checkBoxToggled ( OgreBites::CheckBox *  box  )  [virtual]

virtual void OgreGFX::LobbyMgr::okDialogClosed ( const Ogre::DisplayString &  message  )  [virtual]

virtual void OgreGFX::LobbyMgr::yesNoDialogClosed ( const Ogre::DisplayString &  question,
bool  yesHit 
) [virtual]

void OgreGFX::LobbyMgr::addRemoteServer ( const std::string &  gName,
const std::string &  ip,
int  port 
)

Update servers who currently created a Lobby in the LAN.

Parameters:
gName,: Game name
ip,: server ip
port,: server port

void OgreGFX::LobbyMgr::addNode ( const std::string &  gName,
const std::string &  nodeip,
int  port,
int  side,
int  player,
int  slot,
bool  isHost 
)

Add a node to lobby 1. Update node information 2. Update slots

Parameters:
gName,: Game name
nodeip,: node ip address
port,: lobby port
side,: node side
player,: node player
slot,: node slot in the lobby
isHost,: is this node the host of lobby

void OgreGFX::LobbyMgr::removeNodeFromSlot ( const std::string &  nodeip  ) 

Slot changed from the server, remove the node information from the old slot

Parameters:
nodeip,: node ip to be removed from the slot.

void OgreGFX::LobbyMgr::handleJoinRequest ( const std::string &  clientName,
const std::string &  ip,
int  port 
)

Function as a SERVER - Accept the request from client of join the lobby. Assign side and player to the new node, and send confirmation to the client node.

Parameters:
clientName,: client name
ip,: client ip
port,: server port

void OgreGFX::LobbyMgr::lobbyEnter ( const std::string &  serverip,
int  port,
int  side,
int  player 
)

Function as a CLIENT - Receive the response from the server, and enter the lobby

Parameters:
serverip,: ip address of the server lobby
port,: port of the server lobby
side,: side assigned by the server
player,: player assigned by the server

void OgreGFX::LobbyMgr::swapNodeSlot ( int  newslot,
int  oldslot,
int  newside,
int  newplayer 
)

Function as a SERVER - Handle client swap slot request, swap 2 slots

Parameters:
newslot,: slot 1
oldslot,: slot 2
newside,: new side
newplayer,: new player

void OgreGFX::LobbyMgr::lobbyExit ( const std::string &  clientip,
int  port 
)

Function as a CLIENT - Exit from a lobby

void OgreGFX::LobbyMgr::startGame ( const std::string &  ip,
int  port 
)

Set the game started flag to true.

std::pair<std::string, int> OgreGFX::LobbyMgr::getLobbyHost (  ) 

void OgreGFX::LobbyMgr::refreshServerAndSlots (  )  [private]

void OgreGFX::LobbyMgr::init (  )  [private]

void OgreGFX::LobbyMgr::initGUIGameMenu (  )  [private]

void OgreGFX::LobbyMgr::initGUILobby (  )  [private]

void OgreGFX::LobbyMgr::loadOptions (  )  [private]

void OgreGFX::LobbyMgr::setNoneTrayPosition (  )  [private]

void OgreGFX::LobbyMgr::clearPlayerLabel (  )  [private]

void OgreGFX::LobbyMgr::handleExitButton (  )  [private]

int OgreGFX::LobbyMgr::getEmptySlot (  )  [private]

int OgreGFX::LobbyMgr::getEmptySlot ( int  side  )  [private]

std::string OgreGFX::LobbyMgr::getLobbyString ( const std::string &  lobbyName,
const std::string &  ip,
int  port 
) [private]

std::string OgreGFX::LobbyMgr::getPlayerString ( const std::string &  playerName,
const std::string &  ip 
) [private]

void OgreGFX::LobbyMgr::loadGame (  )  [private]

void OgreGFX::LobbyMgr::joinGame (  )  [private]

void OgreGFX::LobbyMgr::configureGame (  )  [private]

void OgreGFX::LobbyMgr::switchState (  )  [private]

void OgreGFX::LobbyMgr::slotSwap ( int  slot1,
int  slot2 
) [private]

void OgreGFX::LobbyMgr::clearServerMap (  )  [private]

void OgreGFX::LobbyMgr::clearNodeMap (  )  [private]


Member Data Documentation

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::nodeMap

Store all nodes which are inside the lobby.

Definition at line 161 of file lobbyMgr.h.

Referenced by addNode(), clearNodeMap(), getLobbyHost(), handleJoinRequest(), itemSelected(), lobbyExit(), refreshServerAndSlots(), removeNodeFromSlot(), slotSwap(), and swapNodeSlot().

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::remoteServerMap

Store all servers in the LAN.

Definition at line 166 of file lobbyMgr.h.

Referenced by addRemoteServer(), clearServerMap(), joinGame(), lobbyEnter(), and refreshServerAndSlots().

LobbyState OgreGFX::LobbyMgr::state

Definition at line 170 of file lobbyMgr.h.

Referenced by lobbyExit(), LobbyMgr(), refreshServerAndSlots(), and switchState().

FastEcslent::NetLobby* OgreGFX::LobbyMgr::netLobby [private]

Definition at line 173 of file lobbyMgr.h.

Referenced by buttonHit(), handleExitButton(), handleJoinRequest(), init(), itemSelected(), joinGame(), loadGame(), and ~LobbyMgr().

FastEcslent::Engine* OgreGFX::LobbyMgr::engine [private]

Definition at line 174 of file lobbyMgr.h.

Referenced by buttonHit(), checkBoxToggled(), configureGame(), frameStarted(), handleExitButton(), init(), itemSelected(), loadGame(), loadOptions(), lobbyEnter(), lobbyExit(), refreshServerAndSlots(), and startGame().

OgreBites::SdkTrayManager* OgreGFX::LobbyMgr::mTrayMgr [private]

Definition at line 175 of file lobbyMgr.h.

Referenced by buttonHit(), checkBoxToggled(), handleExitButton(), init(), initGUIGameMenu(), initGUILobby(), loadGame(), loadOptions(), lobbyEnter(), mouseMoved(), mousePressed(), mouseReleased(), and ~LobbyMgr().

OIS::Mouse* OgreGFX::LobbyMgr::mouse [private]

Definition at line 176 of file lobbyMgr.h.

Referenced by frameStarted(), initGUIGameMenu(), and LobbyMgr().

OIS::Keyboard* OgreGFX::LobbyMgr::keyboard [private]

Definition at line 177 of file lobbyMgr.h.

Referenced by frameStarted(), and LobbyMgr().

std::map<int, std::string> OgreGFX::LobbyMgr::slots [private]

Definition at line 179 of file lobbyMgr.h.

Referenced by addNode(), clearNodeMap(), configureGame(), getEmptySlot(), handleJoinRequest(), itemSelected(), lobbyExit(), refreshServerAndSlots(), removeNodeFromSlot(), slotSwap(), and swapNodeSlot().

OgreBites::Label* OgreGFX::LobbyMgr::lobbyLb [private]

Definition at line 182 of file lobbyMgr.h.

Referenced by buttonHit(), initGUILobby(), lobbyEnter(), and setNoneTrayPosition().

OgreBites::Separator* OgreGFX::LobbyMgr::separatorTop [private]

Definition at line 183 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

OgreBites::Label* OgreGFX::LobbyMgr::playerLb[FastEcslent::MaxPlayers] [private]

Definition at line 184 of file lobbyMgr.h.

Referenced by clearPlayerLabel(), initGUILobby(), refreshServerAndSlots(), and setNoneTrayPosition().

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerColor[FastEcslent::MaxPlayers] [private]

Definition at line 185 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerSide[FastEcslent::MaxPlayers] [private]

Definition at line 186 of file lobbyMgr.h.

Referenced by initGUILobby(), refreshServerAndSlots(), and setNoneTrayPosition().

OgreBites::Button* OgreGFX::LobbyMgr::lobbyStartBt [private]

Definition at line 187 of file lobbyMgr.h.

Referenced by buttonHit(), handleExitButton(), initGUILobby(), joinGame(), and setNoneTrayPosition().

OgreBites::Button* OgreGFX::LobbyMgr::lobbyExitBt [private]

Definition at line 188 of file lobbyMgr.h.

Referenced by buttonHit(), initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyTitleWidth = 400 [static, private]

Definition at line 190 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbySepWidth = 800 [static, private]

Definition at line 191 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyPlayerWidth = 400 [static, private]

Definition at line 192 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyPlayerColorWidth = 100 [static, private]

Definition at line 193 of file lobbyMgr.h.

static const int OgreGFX::LobbyMgr::LobbyPlayerSideWidth = 100 [static, private]

Definition at line 194 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyBtnWidth = 150 [static, private]

Definition at line 195 of file lobbyMgr.h.

Referenced by initGUILobby(), and setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyGapH = 10 [static, private]

Definition at line 196 of file lobbyMgr.h.

Referenced by setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::LobbyGapV = 50 [static, private]

Definition at line 197 of file lobbyMgr.h.

Referenced by setNoneTrayPosition().

static const int OgreGFX::LobbyMgr::GameNemuWidth = 200 [static, private]

Definition at line 199 of file lobbyMgr.h.

Referenced by initGUIGameMenu().

std::string OgreGFX::LobbyMgr::exitQuestion [private]

Definition at line 201 of file lobbyMgr.h.

Referenced by buttonHit(), init(), and yesNoDialogClosed().

OgreBites::DecorWidget* OgreGFX::LobbyMgr::logo [private]

Definition at line 204 of file lobbyMgr.h.

Referenced by initGUIGameMenu().

OgreBites::Separator* OgreGFX::LobbyMgr::separatorCenter [private]

Definition at line 205 of file lobbyMgr.h.

Referenced by initGUIGameMenu().

OgreBites::CheckBox* OgreGFX::LobbyMgr::soundCB [private]

Definition at line 206 of file lobbyMgr.h.

Referenced by checkBoxToggled(), and initGUIGameMenu().

OgreBites::CheckBox* OgreGFX::LobbyMgr::serverCB [private]

Definition at line 207 of file lobbyMgr.h.

Referenced by checkBoxToggled(), initGUIGameMenu(), and loadOptions().

OgreBites::Button* OgreGFX::LobbyMgr::createBt [private]

Definition at line 208 of file lobbyMgr.h.

Referenced by buttonHit(), checkBoxToggled(), and initGUIGameMenu().

OgreBites::Button* OgreGFX::LobbyMgr::exitBt [private]

Definition at line 209 of file lobbyMgr.h.

Referenced by buttonHit(), and initGUIGameMenu().

OgreBites::TextBox* OgreGFX::LobbyMgr::networkTB [private]

Definition at line 212 of file lobbyMgr.h.

OgreBites::TextBox* OgreGFX::LobbyMgr::messageTB [private]

Definition at line 215 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::sendBt [private]

Definition at line 216 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::remoteServerMenu [private]

Definition at line 219 of file lobbyMgr.h.

Referenced by buttonHit(), checkBoxToggled(), initGUIGameMenu(), joinGame(), and refreshServerAndSlots().

OgreBites::Button* OgreGFX::LobbyMgr::joinBt [private]

Definition at line 220 of file lobbyMgr.h.

Referenced by buttonHit(), and initGUIGameMenu().

ptime OgreGFX::LobbyMgr::startTime [private]

Definition at line 222 of file lobbyMgr.h.

Referenced by addNode(), addRemoteServer(), handleJoinRequest(), LobbyMgr(), and refreshServerAndSlots().

long OgreGFX::LobbyMgr::LOBBY_TOLERANCE [private]

Definition at line 224 of file lobbyMgr.h.

Referenced by init(), and refreshServerAndSlots().

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::nodeMap

Store all nodes which are inside the lobby.

Definition at line 161 of file lobbyMgr.h.

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::remoteServerMap

Store all servers in the LAN.

Definition at line 166 of file lobbyMgr.h.

FastEcslent::NetLobby* OgreGFX::LobbyMgr::netLobby [private]

Definition at line 173 of file lobbyMgr.h.

FastEcslent::Engine* OgreGFX::LobbyMgr::engine [private]

Definition at line 174 of file lobbyMgr.h.

OgreBites::SdkTrayManager* OgreGFX::LobbyMgr::mTrayMgr [private]

Definition at line 175 of file lobbyMgr.h.

OIS::Mouse* OgreGFX::LobbyMgr::mouse [private]

Definition at line 176 of file lobbyMgr.h.

OIS::Keyboard* OgreGFX::LobbyMgr::keyboard [private]

Definition at line 177 of file lobbyMgr.h.

std::map<int, std::string> OgreGFX::LobbyMgr::slots [private]

Definition at line 179 of file lobbyMgr.h.

OgreBites::Label* OgreGFX::LobbyMgr::lobbyLb [private]

Definition at line 182 of file lobbyMgr.h.

OgreBites::Separator* OgreGFX::LobbyMgr::separatorTop [private]

Definition at line 183 of file lobbyMgr.h.

OgreBites::Label* OgreGFX::LobbyMgr::playerLb[FastEcslent::MaxPlayers] [private]

Definition at line 184 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerColor[FastEcslent::MaxPlayers] [private]

Definition at line 185 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerSide[FastEcslent::MaxPlayers] [private]

Definition at line 186 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::lobbyStartBt [private]

Definition at line 187 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::lobbyExitBt [private]

Definition at line 188 of file lobbyMgr.h.

OgreBites::DecorWidget* OgreGFX::LobbyMgr::logo [private]

Definition at line 204 of file lobbyMgr.h.

OgreBites::Separator* OgreGFX::LobbyMgr::separatorCenter [private]

Definition at line 205 of file lobbyMgr.h.

OgreBites::CheckBox* OgreGFX::LobbyMgr::soundCB [private]

Definition at line 206 of file lobbyMgr.h.

OgreBites::CheckBox* OgreGFX::LobbyMgr::serverCB [private]

Definition at line 207 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::createBt [private]

Definition at line 208 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::exitBt [private]

Definition at line 209 of file lobbyMgr.h.

OgreBites::TextBox* OgreGFX::LobbyMgr::networkTB [private]

Definition at line 212 of file lobbyMgr.h.

OgreBites::TextBox* OgreGFX::LobbyMgr::messageTB [private]

Definition at line 215 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::sendBt [private]

Definition at line 216 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::remoteServerMenu [private]

Definition at line 219 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::joinBt [private]

Definition at line 220 of file lobbyMgr.h.

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::nodeMap

Store all nodes which are inside the lobby.

Definition at line 161 of file lobbyMgr.h.

std::map<std::string, LobbyNode*> OgreGFX::LobbyMgr::remoteServerMap

Store all servers in the LAN.

Definition at line 166 of file lobbyMgr.h.

FastEcslent::NetLobby* OgreGFX::LobbyMgr::netLobby [private]

Definition at line 173 of file lobbyMgr.h.

FastEcslent::Engine* OgreGFX::LobbyMgr::engine [private]

Definition at line 174 of file lobbyMgr.h.

OgreBites::SdkTrayManager* OgreGFX::LobbyMgr::mTrayMgr [private]

Definition at line 175 of file lobbyMgr.h.

OIS::Mouse* OgreGFX::LobbyMgr::mouse [private]

Definition at line 176 of file lobbyMgr.h.

OIS::Keyboard* OgreGFX::LobbyMgr::keyboard [private]

Definition at line 177 of file lobbyMgr.h.

std::map<int, std::string> OgreGFX::LobbyMgr::slots [private]

Definition at line 179 of file lobbyMgr.h.

OgreBites::Label* OgreGFX::LobbyMgr::lobbyLb [private]

Definition at line 182 of file lobbyMgr.h.

OgreBites::Separator* OgreGFX::LobbyMgr::separatorTop [private]

Definition at line 183 of file lobbyMgr.h.

OgreBites::Label* OgreGFX::LobbyMgr::playerLb[FastEcslent::MaxPlayers] [private]

Definition at line 184 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerColor[FastEcslent::MaxPlayers] [private]

Definition at line 185 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::playerSide[FastEcslent::MaxPlayers] [private]

Definition at line 186 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::lobbyStartBt [private]

Definition at line 187 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::lobbyExitBt [private]

Definition at line 188 of file lobbyMgr.h.

OgreBites::DecorWidget* OgreGFX::LobbyMgr::logo [private]

Definition at line 204 of file lobbyMgr.h.

OgreBites::Separator* OgreGFX::LobbyMgr::separatorCenter [private]

Definition at line 205 of file lobbyMgr.h.

OgreBites::CheckBox* OgreGFX::LobbyMgr::soundCB [private]

Definition at line 206 of file lobbyMgr.h.

OgreBites::CheckBox* OgreGFX::LobbyMgr::serverCB [private]

Definition at line 207 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::createBt [private]

Definition at line 208 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::exitBt [private]

Definition at line 209 of file lobbyMgr.h.

OgreBites::TextBox* OgreGFX::LobbyMgr::networkTB [private]

Definition at line 212 of file lobbyMgr.h.

OgreBites::TextBox* OgreGFX::LobbyMgr::messageTB [private]

Definition at line 215 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::sendBt [private]

Definition at line 216 of file lobbyMgr.h.

OgreBites::SelectMenu* OgreGFX::LobbyMgr::remoteServerMenu [private]

Definition at line 219 of file lobbyMgr.h.

OgreBites::Button* OgreGFX::LobbyMgr::joinBt [private]

Definition at line 220 of file lobbyMgr.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:22 2013 for FastECSLent by  doxygen 1.5.4