From atlantik-devel Wed Sep 11 03:26:58 2002 From: kde () office ! kde ! org Date: Wed, 11 Sep 2002 03:26:58 +0000 To: atlantik-devel Subject: [atlantik-cvs] CVS: kdegames/atlantik/client atlantik.cpp,1.119,1.120 X-MARC-Message: https://marc.info/?l=atlantik-devel&m=103171488319815 Update of /home/kde/kdegames/atlantik/client In directory office:/tmp/cvs-serv8166/client Modified Files: atlantik.cpp Log Message: API: preliminary support for gameupdate status="end" Index: atlantik.cpp =================================================================== RCS file: /home/kde/kdegames/atlantik/client/atlantik.cpp,v retrieving revision 1.119 retrieving revision 1.120 diff -u -d -r1.119 -r1.120 --- atlantik.cpp 2002/09/11 01:40:59 1.119 +++ atlantik.cpp 2002/09/11 03:26:56 1.120 @@ -321,6 +321,14 @@ portfolioView->buildPortfolio(); } +void Atlantik::freezeBoard() +{ + if (!m_board) + showBoard(); + + // TODO: m_board->freeze(); +} + void Atlantik::slotNetworkConnected() { // We're connected, so let's make ourselves known. @@ -497,6 +505,7 @@ connect(m_atlantikNetwork, SIGNAL(gameConfig()), this, SLOT(showSelectConfiguration())); connect(m_atlantikNetwork, SIGNAL(gameInit()), this, SLOT(initBoard())); connect(m_atlantikNetwork, SIGNAL(gameRun()), this, SLOT(showBoard())); + connect(m_atlantikNetwork, SIGNAL(gameEnd()), this, SLOT(freezeBoard())); connect(m_atlantikNetwork, SIGNAL(newPlayer(Player *)), this, SLOT(newPlayer(Player *))); connect(m_atlantikNetwork, SIGNAL(newEstate(Estate *)), this, SLOT(newEstate(Estate *))); _______________________________________________ atlantik-cvs mailing list atlantik-cvs@mail.kde.org http://mail.kde.org/mailman/listinfo/atlantik-cvs