[Top][All Lists]
[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: |
Fri, 04 Nov 2005 18:26:06 -0500 |
Index: eliot/utils/ncurses.cpp
diff -u eliot/utils/ncurses.cpp:1.13 eliot/utils/ncurses.cpp:1.14
--- eliot/utils/ncurses.cpp:1.13 Fri Nov 4 20:00:06 2005
+++ eliot/utils/ncurses.cpp Fri Nov 4 23:26:04 2005
@@ -139,8 +139,8 @@
for (int col = 1; col < 16; col++)
{
// Handle colors
- int wm = m_game->getBoardWordMultiplier(row, col);
- int lm = m_game->getBoardLetterMultiplier(row, col);
+ int wm = m_game->getBoard().getWordMultiplier(row, col);
+ int lm = m_game->getBoard().getLetterMultiplier(row, col);
if (wm == 3)
wattron(win, COLOR_PAIR(COLOR_RED));
else if (wm == 2)
@@ -156,7 +156,7 @@
mvwprintw(win, y + row + 1, x + 3 * col + 1, " ");
// Now add the letter
- char c = m_game->getBoardChar(row, col);
+ char c = m_game->getBoard().getChar(row, col);
if (c)
{
if (islower(c))