Difference for 2d/font.c from version 1.6 to 1.7


version 1.6 version 1.7
Line 18
 
Line 18
  * Graphical routines for drawing fonts.   * Graphical routines for drawing fonts.
  *   *
  * $Log$   * $Log$
    * Revision 1.7  1999/10/12 05:21:10  donut
    * made colored messages work even with fonts that have chars in the 0-6 range
    *
  * Revision 1.6  1999/10/07 21:19:00  donut   * Revision 1.6  1999/10/07 21:19:00  donut
  * new ogl font handling, single texture for entire font   * new ogl font handling, single texture for entire font
  *   *
Line 415
 
Line 418
   
  letter = *text_ptr-FMINCHAR;   letter = *text_ptr-FMINCHAR;
   
  if (!INFONT(letter)) { //not in font, draw as space   if (!INFONT(letter) || *text_ptr<=0x06) { //not in font, draw as space
  CHECK_EMBEDDED_COLORS() else{   CHECK_EMBEDDED_COLORS() else{
  VideoOffset += spacing;   VideoOffset += spacing;
  text_ptr++;   text_ptr++;
Line 1115
 
Line 1118
   
  get_char_width(text_ptr[0],text_ptr[1],&width,&spacing);   get_char_width(text_ptr[0],text_ptr[1],&width,&spacing);
   
  if (!INFONT(letter)) { //not in font, draw as space   if (!INFONT(letter) || *text_ptr<=0x06) { //not in font, draw as space
  CHECK_EMBEDDED_COLORS() else{   CHECK_EMBEDDED_COLORS() else{
  xx += spacing;   xx += spacing;
  text_ptr++;   text_ptr++;

Legend:
line(s) removed in v.1.6 
line(s) changed
 line(s) added in v.1.7