| 2032 | } |
| 2033 | |
| 2034 | char *control_print_talk_msg(char *msg, int *x, int y, int color) |
| 2035 | { |
| 2036 | BYTE c; |
| 2037 | int width; |
| 2038 | |
| 2039 | *x += 264; |
| 2040 | width = *x; |
| 2041 | while (*msg) { |
| 2042 | |
| 2043 | c = fontframe[gbFontTransTbl[(BYTE)*msg]]; |
| 2044 | width += fontkern[c] + 1; |
| 2045 | if (width > 514 + PANEL_LEFT) |
| 2046 | return msg; |
| 2047 | msg++; |
| 2048 | if (c) { |
| 2049 | PrintChar(*x, y + 22 + PANEL_Y, c, color); |
| 2050 | } |
| 2051 | *x += fontkern[c] + 1; |
| 2052 | } |
| 2053 | return NULL; |
| 2054 | } |
| 2055 | |
| 2056 | BOOL control_check_talk_btn() |
| 2057 | { |
no test coverage detected