[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/history.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/history.cpp |
Date: |
Fri, 04 Nov 2005 15:00:40 -0500 |
Index: eliot/game/history.cpp
diff -u eliot/game/history.cpp:1.2 eliot/game/history.cpp:1.3
--- eliot/game/history.cpp:1.2 Sun Oct 23 14:53:43 2005
+++ eliot/game/history.cpp Fri Nov 4 20:00:06 2005
@@ -17,8 +17,6 @@
/* along with this program; if not, write to the Free Software */
/* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-/* $Id: history.cpp,v 1.2 2005/10/23 14:53:43 ipkiss Exp $ */
-
/**
* \file history.cpp
* \brief Game history system
@@ -92,7 +90,7 @@
Rack rack;
Turn * current_turn;
Turn * next_turn;
-
+
current_turn = history.back();
/* set the number and the round */
@@ -126,7 +124,7 @@
{
int idx = history.size();
ASSERT(0 < idx , "Wrong turn number");
-
+
if (idx > 1)
{
Turn *t = history.back();
@@ -145,7 +143,7 @@
}
-std::string
+std::string
History::toString() const
{
std::string rs = "";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] Changes to eliot/game/history.cpp,
eliot-dev <=