StartMultiplayerGame Class Reference

Inheritance diagram for StartMultiplayerGame:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 StartMultiplayerGame (PG_MessageObject *c)
 ~StartMultiplayerGame ()
bool getSuccess ()

Protected Member Functions

void userHandler (const ASCString &label, PropertyReadingContainer &pc, PG_Widget *parent, WidgetParameters widgetParams)
bool start ()
bool Apply ()
bool eventKeyDown (const SDL_KeyboardEvent *key)

Detailed Description

Definition at line 69 of file newgame.cpp.


Constructor & Destructor Documentation

StartMultiplayerGame::StartMultiplayerGame ( PG_MessageObject *  c  ) 

Definition at line 221 of file newgame.cpp.

References s1, ASCGUI_Window::setup(), and start().

StartMultiplayerGame::~StartMultiplayerGame (  ) 

Definition at line 277 of file newgame.cpp.


Member Function Documentation

void StartMultiplayerGame::userHandler ( const ASCString label,
PropertyReadingContainer pc,
PG_Widget *  parent,
WidgetParameters  widgetParams 
) [protected]

Definition at line 692 of file newgame.cpp.

References FileSelectionItemFactory::filenameMarked, FileSelectionItemFactory::filenameSelectedKeyb, FileSelectionItemFactory::filenameSelectedMouse, and mapextension.

bool StartMultiplayerGame::start (  )  [protected]

Definition at line 868 of file newgame.cpp.

References actmap, Apply(), computeview(), displaymap(), getDefaultMapDisplay(), hookGuiToMap(), CGameOptions::Instance(), tmaploaders::loadmap(), mapLoadingExceptionChecker(), next_turn(), GameMap::replayinfo, sendGameParameterAsMail(), GameMap::supervisorpasswordcrc, and updateFieldInfo.

Referenced by StartMultiplayerGame().

bool StartMultiplayerGame::Apply (  )  [protected]

Definition at line 348 of file newgame.cpp.

References GameParameterEditorWidget::Apply(), AllianceSetupWidget::Apply(), EmailSetupWidget::Apply(), PlayerSetupWidget::Apply(), GameMap::Campaign::avail, GameMap::campaign, errorMessage(), exist(), Campaign::file, tfindfile::getFoundFileNum(), tfindfile::getnextname(), tmaploaders::loadmap(), mapLoadingExceptionChecker(), tfindfile::FileInfo::name, s1, s2, selectFile(), Password::setEncoded(), PBEMServer::setServerAddress(), Password::setUnencoded(), GameParameterEditorWidget::Valid(), PlayerSetupWidget::Valid(), and warningMessage().

Referenced by start().

bool StartMultiplayerGame::eventKeyDown ( const SDL_KeyboardEvent *  key  )  [inline, protected]

Definition at line 189 of file newgame.cpp.

bool StartMultiplayerGame::getSuccess (  )  [inline]

Definition at line 202 of file newgame.cpp.

Referenced by startMultiplayerGame().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:35 2012 for Advanced Strategic Command by  doxygen 1.5.1