| 1274 | } |
| 1275 | |
| 1276 | void PrintGameStr(int x, int y, const char *str, int color) |
| 1277 | { |
| 1278 | BYTE c; |
| 1279 | int sx, sy; |
| 1280 | sx = x + SCREEN_X; |
| 1281 | sy = y + SCREEN_Y; |
| 1282 | while (*str) { |
| 1283 | c = gbFontTransTbl[(BYTE)*str++]; |
| 1284 | c = fontframe[c]; |
| 1285 | if (c) |
| 1286 | PrintChar(sx, sy, c, color); |
| 1287 | sx += fontkern[c] + 1; |
| 1288 | } |
| 1289 | } |
| 1290 | |
| 1291 | void DrawChr() |
| 1292 | { |
no test coverage detected