[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/game duplicate.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] eliot/game duplicate.cpp |
Date: |
Mon, 26 Dec 2005 22:54:02 +0000 |
CVSROOT: /cvsroot/eliot
Module name: eliot
Branch:
Changes by: Antoine Fraboulet <address@hidden> 05/12/26 22:54:02
Modified files:
game : duplicate.cpp
Log message:
- use of History class
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/game/duplicate.cpp.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
Patches:
Index: eliot/game/duplicate.cpp
diff -u eliot/game/duplicate.cpp:1.13 eliot/game/duplicate.cpp:1.14
--- eliot/game/duplicate.cpp:1.13 Sun Nov 6 01:05:06 2005
+++ eliot/game/duplicate.cpp Mon Dec 26 22:54:02 2005
@@ -77,7 +77,7 @@
ASSERT(!m_players[n]->isHuman(), "AI requested for a human player");
AIPlayer *player = static_cast<AIPlayer*>(m_players[n]);
- player->compute(*m_dic, m_board, getNTurns());
+ player->compute(*m_dic, m_board, m_history.getSize());
if (player->changesLetters())
{
@@ -182,7 +182,7 @@
/* Update the rack and the score of the current player */
player->addPoints(iRound.getPoints());
- player->endTurn(iRound, getNTurns());
+ player->endTurn(iRound, m_history.getSize());
m_hasPlayed[n] = true;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] eliot/game duplicate.cpp,
eliot-dev <=