vegastrike  0.5.1.r1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GameMenu Class Reference

#include <gamemenu.h>

Inheritance diagram for GameMenu:

Public Member Functions

virtual void init (void)
 
virtual void run (void)
 
 GameMenu (bool firsttime)
 
virtual ~GameMenu (void)
 

Static Public Member Functions

static void createNetworkControls (GroupControl *serverConnGroup, std::vector< unsigned int > *keyboard_input_queue)
 
static void readJoinGameControls (Window *window, string &user, string &pass)
 

Protected Member Functions

bool processSinglePlayerButton (const EventCommandId &command, Control *control)
 
bool processMultiPlayerHostButton (const EventCommandId &command, Control *control)
 
bool processMultiPlayerAcctButton (const EventCommandId &command, Control *control)
 
bool processMultiPlayerButton (const EventCommandId &command, Control *control)
 
bool processExitGameButton (const EventCommandId &command, Control *control)
 
bool processJoinGameButton (const EventCommandId &command, Control *control)
 
bool processMainMenuButton (const EventCommandId &command, Control *control)
 
void createControls ()
 

Protected Attributes

bool m_firstTime
 

Friends

class WctlBase< GameMenu >
 

Detailed Description

Definition at line 7 of file gamemenu.h.

Constructor & Destructor Documentation

GameMenu::GameMenu ( bool  firsttime)

Definition at line 36 of file gamemenu.cpp.

GameMenu::~GameMenu ( void  )
virtual

Definition at line 40 of file gamemenu.cpp.

Member Function Documentation

void GameMenu::createControls ( )
protected

Definition at line 277 of file gamemenu.cpp.

void GameMenu::createNetworkControls ( GroupControl *  serverConnGroup,
std::vector< unsigned int > *  keyboard_input_queue 
)
static

Definition at line 72 of file gamemenu.cpp.

void GameMenu::init ( void  )
virtual

Definition at line 265 of file gamemenu.cpp.

bool GameMenu::processExitGameButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 448 of file gamemenu.cpp.

bool GameMenu::processJoinGameButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 691 of file gamemenu.cpp.

bool GameMenu::processMainMenuButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 441 of file gamemenu.cpp.

bool GameMenu::processMultiPlayerAcctButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 425 of file gamemenu.cpp.

bool GameMenu::processMultiPlayerButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 434 of file gamemenu.cpp.

bool GameMenu::processMultiPlayerHostButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 416 of file gamemenu.cpp.

bool GameMenu::processSinglePlayerButton ( const EventCommandId &  command,
Control *  control 
)
protected

Definition at line 402 of file gamemenu.cpp.

void GameMenu::readJoinGameControls ( Window *  window,
string &  user,
string &  pass 
)
static

Definition at line 563 of file gamemenu.cpp.

void GameMenu::run ( void  )
virtual

Definition at line 42 of file gamemenu.cpp.

Friends And Related Function Documentation

friend class WctlBase< GameMenu >
friend

Definition at line 9 of file gamemenu.h.

Member Data Documentation

bool GameMenu::m_firstTime
protected

Definition at line 18 of file gamemenu.h.


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