minor bug fixes to Draw_nString changes and Draw_Character tidy up, ie: typos and miss understanding

This commit is contained in:
Chris Ison 2002-01-09 23:51:32 +00:00
parent 6073ff8d58
commit f01cc24267
2 changed files with 11 additions and 11 deletions

View file

@ -373,7 +373,7 @@ Con_DrawInput (void)
// draw it // draw it
y = con_vislines - 22; y = con_vislines - 22;
Draw_nString (3, y, text, con_linewidth); Draw_nString (8, y, text, con_linewidth);
} }
/* /*
@ -403,7 +403,7 @@ Con_DrawNotify (void)
clearnotify = 0; clearnotify = 0;
scr_copytop = 1; scr_copytop = 1;
Draw_nString (3, v, text, con_linewidth); Draw_nString (8, v, text, con_linewidth);
v += 8; v += 8;
} }
@ -424,7 +424,7 @@ Con_DrawNotify (void)
if (chat_bufferlen > (vid.width >> 3) - (skip + 1)) if (chat_bufferlen > (vid.width >> 3) - (skip + 1))
s += chat_bufferlen - ((vid.width >> 3) - (skip + 1)); s += chat_bufferlen - ((vid.width >> 3) - (skip + 1));
x = 0; x = 0;
Draw_String (skip >> 3, v, s); Draw_String (skip << 3, v, s);
Draw_Character ((strlen(s) + skip) << 3, v, Draw_Character ((strlen(s) + skip) << 3, v,
10 + ((int) (realtime * con_cursorspeed) & 1)); 10 + ((int) (realtime * con_cursorspeed) & 1));
v += 8; v += 8;
@ -478,7 +478,7 @@ Con_DrawConsole (int lines)
text = con->text + (row % con_totallines) * con_linewidth; text = con->text + (row % con_totallines) * con_linewidth;
Draw_nString (3, y, text, con_linewidth); Draw_nString (8, y, text, con_linewidth);
} }
// draw the input prompt, user text, and cursor if desired // draw the input prompt, user text, and cursor if desired
@ -527,7 +527,7 @@ Con_DrawDownload (int lines)
" %02d%%", cls.downloadpercent); " %02d%%", cls.downloadpercent);
// draw it // draw it
y = lines - 22 + 8; y = lines - 22 + 8;
Draw_nString (3, y, dlbar, strlen (dlbar)); Draw_nString (8, y, dlbar, strlen (dlbar));
} }
/* /*

View file

@ -419,7 +419,7 @@ Con_DrawInput (void)
// draw it // draw it
y = con_vislines - 22; y = con_vislines - 22;
Draw_nString (3, y, text, con_linewidth); Draw_nString (8, y, text, con_linewidth);
} }
/* /*
@ -449,7 +449,7 @@ Con_DrawNotify (void)
clearnotify = 0; clearnotify = 0;
scr_copytop = 1; scr_copytop = 1;
Draw_nString (3, v, text, con_linewidth); Draw_nString (8, v, text, con_linewidth);
v += 8; v += 8;
} }
@ -459,7 +459,7 @@ Con_DrawNotify (void)
if (chat_team) { if (chat_team) {
Draw_String (8, v, "say_team:"); Draw_String (8, v, "say_team:");
skip = 11; skip = 10;
} else { } else {
Draw_String (8, v, "say:"); Draw_String (8, v, "say:");
skip = 5; skip = 5;
@ -469,7 +469,7 @@ Con_DrawNotify (void)
if (chat_bufferlen > (vid.width >> 3) - (skip + 1)) if (chat_bufferlen > (vid.width >> 3) - (skip + 1))
s += chat_bufferlen - ((vid.width >> 3) - (skip + 1)); s += chat_bufferlen - ((vid.width >> 3) - (skip + 1));
x = 0; x = 0;
Draw_String (skip >> 3, v, s); Draw_String (skip << 3, v, s);
Draw_Character ((strlen(s) + skip) << 3, v, Draw_Character ((strlen(s) + skip) << 3, v,
10 + ((int) (realtime * con_cursorspeed) & 1)); 10 + ((int) (realtime * con_cursorspeed) & 1));
v += 8; v += 8;
@ -523,7 +523,7 @@ Con_DrawConsole (int lines)
text = con->text + (row % con_totallines) * con_linewidth; text = con->text + (row % con_totallines) * con_linewidth;
Draw_nString(3, y, text, con_linewidth); Draw_nString(8, y, text, con_linewidth);
} }
// draw the input prompt, user text, and cursor if desired // draw the input prompt, user text, and cursor if desired
@ -572,7 +572,7 @@ Con_DrawDownload (int lines)
" %02d%%", cls.downloadpercent); " %02d%%", cls.downloadpercent);
// draw it // draw it
y = lines - 22 + 8; y = lines - 22 + 8;
Draw_nString (3, y, dlbar, strlen (dlbar)); Draw_nString (8, y, dlbar, strlen (dlbar));
} }
/* /*