Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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)
 Overridable Eventhandler for a SDL_KeyboardEvent message.

Constructor & Destructor Documentation

StartMultiplayerGame::StartMultiplayerGame PG_MessageObject c  ) 
 

Definition at line 217 of file newgame.cpp.

References PG_Widget::FindChild(), PG_Rect::next(), PG_Widget::QuitModal(), s1, PG_LineEdit::SetPassHidden(), PG_RadioButton::SetPressed(), PG_CheckButton::SetUnpressed(), ASCGUI_Window::setup(), PG_RadioButton::sigClick, PG_Button::sigClick, PG_Window::sigClose, and start().

StartMultiplayerGame::~StartMultiplayerGame  ) 
 

Definition at line 273 of file newgame.cpp.


Member Function Documentation

bool StartMultiplayerGame::Apply  )  [protected]
 

Definition at line 344 of file newgame.cpp.

References GameParameterEditorWidget::Apply(), AllianceSetupWidget::Apply(), EmailSetupWidget::Apply(), PlayerSetupWidget::Apply(), GameMap::Campaign::avail, GameMap::campaign, errorMessage(), exist(), Campaign::file, PG_Widget::FindChild(), tfindfile::getFoundFileNum(), tfindfile::getnextname(), PG_RadioButton::GetPressed(), PG_Widget::GetText(), tmaploaders::loadmap(), mapLoadingExceptionChecker(), tfindfile::FileInfo::name, s1, s2, selectFile(), Password::setEncoded(), Password::setUnencoded(), GameParameterEditorWidget::Valid(), PlayerSetupWidget::Valid(), and warning().

Referenced by start().

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

Overridable Eventhandler for a SDL_KeyboardEvent message.

This handler is called when a key changed it's state from unpressed to pressed. The default implementation returns 'false' which indicates that this message is not processed by this object.

Parameters:
key SDL_KeyboardEvent message
Returns:
Notifies the message pump if this message is processed by this object or it should be routed to the next message receiver.

Reimplemented from PG_MessageObject.

Definition at line 185 of file newgame.cpp.

References PG_Widget::QuitModal().

bool StartMultiplayerGame::getSuccess  )  [inline]
 

Definition at line 198 of file newgame.cpp.

Referenced by startMultiplayerGame().

bool StartMultiplayerGame::start  )  [protected]
 

Definition at line 857 of file newgame.cpp.

References actmap, Apply(), computeview(), displaymap(), PG_Widget::Hide(), hookGuiToMap(), tmaploaders::loadmap(), mapLoadingExceptionChecker(), moveparams, tmoveparams::movestatus, next_turn(), PG_Widget::QuitModal(), sendGameParameterAsMail(), and updateFieldInfo.

Referenced by StartMultiplayerGame().

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

Reimplemented from ASCGUI_Window.

Definition at line 681 of file newgame.cpp.

References FileSelectionItemFactory::filenameMarked, FileSelectionItemFactory::filenameSelectedKeyb, FileSelectionItemFactory::filenameSelectedMouse, mapextension, and PG_Rect::PG_Rect().


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:21:05 2008 for Advanced Strategic Command by  doxygen 1.4.2