next steps startwindow-integration --> UNSTABLE

This commit is contained in:
doitux
2008-09-09 22:21:41 +00:00
parent 0a473245ee
commit f5ea154b09
5 changed files with 63 additions and 49 deletions
@@ -218,6 +218,7 @@ void startWindowImpl::joinGameLobby() {
}
else
{
this->hide();
showLobbyDialog();
}
}
@@ -351,11 +352,15 @@ void startWindowImpl::showClientDialog()
{
if (mySession->getGameType() == Session::GAME_TYPE_NETWORK)
{
if (myGuiInterface->getMyW()->isVisible())
myGuiInterface->getMyW()->hide();
if (!myStartNetworkGameDialog->isVisible())
showNetworkStartDialog();
}
else if (mySession->getGameType() == Session::GAME_TYPE_INTERNET)
{
if (myGuiInterface->getMyW()->isVisible())
myGuiInterface->getMyW()->hide();
if (!myGameLobbyDialog->isVisible())
showLobbyDialog();
}