Information about the game is now shown in lobby, when selecting a game.
Some GUI modifications, GUI update is working properly now if the dialog is shown the second time (after clearing items). List of players for the game is still missing. With the new on-demand model for player id/player name, this is kind of hard to implement.
This commit is contained in:
@@ -275,3 +275,10 @@ bool Session::isNetworkServerRunning() const
|
||||
// TODO
|
||||
return myNetServer != NULL;
|
||||
}
|
||||
|
||||
GameInfo Session::getClientGameInfo(const string &game)
|
||||
{
|
||||
assert(myNetClient);
|
||||
return myNetClient->GetGameInfo(game);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user