===========================================================================
| 751 | |
| 752 | //=========================================================================== |
| 753 | void DebuggerPrint ( int x, int y, const char *pText ) |
| 754 | { |
| 755 | const int nLeft = x; |
| 756 | |
| 757 | char c; |
| 758 | const char *p = pText; |
| 759 | |
| 760 | while ((c = *p)) |
| 761 | { |
| 762 | if (c == '\n') |
| 763 | { |
| 764 | x = nLeft; |
| 765 | y += CONSOLE_FONT_HEIGHT; |
| 766 | p++; |
| 767 | continue; |
| 768 | } |
| 769 | c &= 0x7F; |
| 770 | PrintGlyph( x, y, c ); |
| 771 | x += CONSOLE_FONT_WIDTH; |
| 772 | p++; |
| 773 | } |
| 774 | } |
| 775 | |
| 776 | //=========================================================================== |
| 777 | void DebuggerPrintColor( int x, int y, const conchar_t * pText ) |
no test coverage detected