eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] Changes to eliot/wxwin/mainframe.cc


From: eliot-dev
Subject: [Eliot-dev] Changes to eliot/wxwin/mainframe.cc
Date: Sat, 05 Nov 2005 18:22:46 -0500

Index: eliot/wxwin/mainframe.cc
diff -u eliot/wxwin/mainframe.cc:1.13 eliot/wxwin/mainframe.cc:1.14
--- eliot/wxwin/mainframe.cc:1.13       Sat Nov  5 17:33:06 2005
+++ eliot/wxwin/mainframe.cc    Sat Nov  5 23:22:42 2005
@@ -363,7 +363,7 @@
     text = wxT("");
     if (m_game)
     {
-        text << wxT("coup:") << (m_game->getNRounds() + 1)
+        text << wxT("coup:") << (m_game->getNTurns() + 1)
             << wxT(" ")
             << wxT("points:") << m_game->getPlayer(0).getPoints();
     }
@@ -439,7 +439,7 @@
             return;
         }
     }
-    string r = m_game->getPlayedRack(m_game->getNRounds());
+    string r = m_game->getPlayedRack(m_game->getNTurns());
     rack->SetValue(wxU(r.c_str()));
     results->DeleteAllItems();
     UpdateStatusBar();
@@ -919,7 +919,7 @@
         ((Training*)m_game)->playResult(n);
     }
 
-    if (m_game->getNRounds() >= 0)
+    if (m_game->getNTurns() >= 0)
     {
         string r = m_game->getPlayerRack(0,true);
         rack->SetValue(wxU(r.c_str()));




reply via email to

[Prev in Thread] Current Thread [Next in Thread]