| 1101 | } |
| 1102 | |
| 1103 | static void |
| 1104 | paint(PNHMapWindow data, int i, int j) |
| 1105 | { |
| 1106 | RECT rect; |
| 1107 | |
| 1108 | rect.left = i * data->xBackTile; |
| 1109 | rect.top = j * data->yBackTile; |
| 1110 | rect.right = rect.left + data->xBackTile; |
| 1111 | rect.bottom = rect.top + data->yBackTile; |
| 1112 | |
| 1113 | if (data->bAsciiMode || Is_rogue_level(&u.uz)) { |
| 1114 | paintGlyph(data, i, j, &rect); |
| 1115 | } else { |
| 1116 | paintTile(data, i, j, &rect); |
| 1117 | } |
| 1118 | |
| 1119 | data->locDirty[i][j] = FALSE; |
| 1120 | } |
| 1121 | |
| 1122 | |
| 1123 | /* on WM_PAINT */ |
no test coverage detected