eliot-dev
[Top][All Lists]
Advanced

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

[Eliot-dev] Changes to eliot/utils/ncurses.cpp


From: eliot-dev
Subject: [Eliot-dev] Changes to eliot/utils/ncurses.cpp
Date: Sat, 05 Nov 2005 10:49:02 -0500

Index: eliot/utils/ncurses.cpp
diff -u eliot/utils/ncurses.cpp:1.14 eliot/utils/ncurses.cpp:1.15
--- eliot/utils/ncurses.cpp:1.14        Fri Nov  4 23:26:04 2005
+++ eliot/utils/ncurses.cpp     Sat Nov  5 15:48:59 2005
@@ -35,6 +35,7 @@
 #include "training.h"
 #include "duplicate.h"
 #include "freegame.h"
+#include "player.h"
 
 using namespace std;
 
@@ -185,7 +186,7 @@
         if (m_game->getMode() != Game::kTRAINING && i == m_game->currPlayer())
             attron(A_BOLD);
         mvwprintw(win, y + i + 1, x + 2,
-                  _("Player %d: %d"), i, m_game->getPlayerPoints(i));
+                  _("Player %d: %d"), i, m_game->getPlayer(i).getPoints());
         if (m_game->getMode() != Game::kTRAINING && i == m_game->currPlayer())
             attroff(A_BOLD);
     }




reply via email to

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