mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-03-14 04:01:06 +00:00
commented my changes
This commit is contained in:
parent
6ab6dff31f
commit
4aaa58287e
1 changed files with 4 additions and 5 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue