| 534 | } |
| 535 | |
| 536 | void DrawHelpLine(int always_0, int help_line_nr, char *text, char color) |
| 537 | { |
| 538 | int sx, sy, width; |
| 539 | BYTE c; |
| 540 | |
| 541 | width = 0; |
| 542 | sx = always_0 + 96 + PANEL_LEFT; |
| 543 | sy = help_line_nr * 12 + 204; |
| 544 | while (*text) { |
| 545 | c = gbFontTransTbl[(BYTE)*text]; |
| 546 | text++; |
| 547 | c = fontframe[c]; |
| 548 | width += fontkern[c] + 1; |
| 549 | if (c) { |
| 550 | if (width <= 577) |
| 551 | PrintChar(sx, sy, c, color); |
| 552 | } |
| 553 | sx += fontkern[c] + 1; |
| 554 | } |
| 555 | } |
| 556 | |
| 557 | void DisplayHelp() |
| 558 | { |