remove dead Draw_TransPic prototype
draw.c:
	really don't draw spaces in Draw_AltString
This commit is contained in:
Bill Currie 2001-12-13 19:13:22 +00:00
parent f392c395df
commit b3843f7f5b
2 changed files with 1 additions and 2 deletions

View file

@ -39,7 +39,6 @@ void Draw_Character (int x, int y, int num);
void Draw_Pic (int x, int y, qpic_t *pic); void Draw_Pic (int x, int y, qpic_t *pic);
void Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height); void Draw_SubPic(int x, int y, qpic_t *pic, int srcx, int srcy, int width, int height);
void Draw_TextBox (int x, int y, int width, int lines, byte alpha); void Draw_TextBox (int x, int y, int width, int lines, byte alpha);
void Draw_TransPic (int x, int y, qpic_t *pic);
void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation); void Draw_TransPicTranslate (int x, int y, qpic_t *pic, byte *translation);
void Draw_ConsoleBackground (int lines); void Draw_ConsoleBackground (int lines);
void Draw_Crosshair (void); void Draw_Crosshair (void);

View file

@ -365,7 +365,7 @@ Draw_AltString (int x, int y, const char *str)
qfglBegin (GL_QUADS); qfglBegin (GL_QUADS);
while (*str) { while (*str) {
if ((num = *str++ | 0x80) != 32) // Don't render spaces if ((num = *str++ | 0x80) != (0x80 | 32)) // Don't render spaces
{ {
frow = (num >> 4) * CELL_SIZE; frow = (num >> 4) * CELL_SIZE;
fcol = (num & 15) * CELL_SIZE; fcol = (num & 15) * CELL_SIZE;