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) |
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)) |