commented my changes

This commit is contained in:
Joseph Carter 2000-05-14 21:11:24 +00:00
parent 6ab6dff31f
commit 4aaa58287e

View file

@ -57,9 +57,7 @@ qboolean is_server = false;
cvar_t sys_linerefresh = {"sys_linerefresh","0"};// set for entity display cvar_t sys_linerefresh = {"sys_linerefresh","0"};// set for entity display
// // The translation table between the graphical font and plain ASCII --KB
// Translation table for text consoles
//
char qfont_table[256] = char qfont_table[256] =
{ {
'\0', '#', '#', '#', '#', '.', '#', '#', '\0', '#', '#', '#', '#', '.', '#', '#',
@ -166,9 +164,10 @@ void Sys_Printf (char *fmt, ...)
if (strlen(text) > sizeof(text)) if (strlen(text) > sizeof(text))
Sys_Error("memory overwrite in Sys_Printf"); Sys_Error("memory overwrite in Sys_Printf");
if (nostdout) if (nostdout)
return; return;
// translate to ASCII instead of printing [xx] --KB
for (p = (unsigned char *)text; *p; p++) for (p = (unsigned char *)text; *p; p++)
putc(qfont_table[*p], stdout); putc(qfont_table[*p], stdout);
} }