mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-18 06:51:47 +00:00
rename qfont_table to sys_char_map and make it global (and constant)
This commit is contained in:
parent
001f178e86
commit
9aeef3f3d6
2 changed files with 4 additions and 2 deletions
|
@ -35,6 +35,8 @@
|
|||
|
||||
extern struct cvar_s *sys_nostdout;
|
||||
|
||||
extern const char sys_char_map[256];
|
||||
|
||||
int Sys_FileTime (const char *path);
|
||||
void Sys_mkdir (const char *path);
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ cvar_t *sys_nostdout;
|
|||
static sys_printf_t sys_printf_function = Sys_StdPrintf;
|
||||
|
||||
/* The translation table between the graphical font and plain ASCII --KB */
|
||||
static char qfont_table[256] = {
|
||||
const char sys_char_map[256] = {
|
||||
'\0', '#', '#', '#', '#', '.', '#', '#',
|
||||
'#', 9, 10, '#', ' ', 13, '.', '.',
|
||||
'[', ']', '0', '1', '2', '3', '4', '5',
|
||||
|
@ -173,7 +173,7 @@ Sys_StdPrintf (const char *fmt, va_list args)
|
|||
|
||||
/* translate to ASCII instead of printing [xx] --KB */
|
||||
for (p = (unsigned char *) msg; *p; p++)
|
||||
putc (qfont_table[*p], stdout);
|
||||
putc (sys_char_map[*p], stdout);
|
||||
|
||||
fflush (stdout);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue