/[eliot]/eliot/utils/ncurses.cpp
ViewVC logotype

Diff of /eliot/utils/ncurses.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.13 by ipkiss, Fri Nov 4 20:00:06 2005 UTC revision 1.14 by ipkiss, Fri Nov 4 23:26:04 2005 UTC
# Line 139  void CursesIntf::drawBoard(WINDOW *win, Line 139  void CursesIntf::drawBoard(WINDOW *win,
139          for (int col = 1; col < 16; col++)          for (int col = 1; col < 16; col++)
140          {          {
141              // Handle colors              // Handle colors
142              int wm = m_game->getBoardWordMultiplier(row, col);              int wm = m_game->getBoard().getWordMultiplier(row, col);
143              int lm = m_game->getBoardLetterMultiplier(row, col);              int lm = m_game->getBoard().getLetterMultiplier(row, col);
144              if (wm == 3)              if (wm == 3)
145                  wattron(win, COLOR_PAIR(COLOR_RED));                  wattron(win, COLOR_PAIR(COLOR_RED));
146              else if (wm == 2)              else if (wm == 2)
# Line 156  void CursesIntf::drawBoard(WINDOW *win, Line 156  void CursesIntf::drawBoard(WINDOW *win,
156              mvwprintw(win, y + row + 1, x + 3 * col + 1, "   ");              mvwprintw(win, y + row + 1, x + 3 * col + 1, "   ");
157    
158              // Now add the letter              // Now add the letter
159              char c = m_game->getBoardChar(row, col);              char c = m_game->getBoard().getChar(row, col);
160              if (c)              if (c)
161              {              {
162                  if (islower(c))                  if (islower(c))

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26