Changes in preparation for the integration of the network server. GUI does not directly know Game and Hand any more, only Session. WARNING: This version crashes due to initialization order problems.

This commit is contained in:
lotodore
2007-05-11 12:01:13 +00:00
parent a37fe9969e
commit 7c6337d810
20 changed files with 441 additions and 323 deletions
+4 -2
View File
@@ -87,8 +87,10 @@ int main( int argc, char **argv )
///////////////////////////////////////////////////
GuiInterface *myGuiInterface = new GuiWrapper();
Session theFirst(myGuiInterface);
myGuiInterface->setSession(&theFirst);
{
boost::shared_ptr<Session> session(new Session(myGuiInterface));
myGuiInterface->setSession(session);
}
int retVal = a.exec();