Difference for main/hud.c from version 1.4 to 1.5


version 1.4 version 1.5
Line 19
 
Line 19
  * Routines for displaying HUD messages...   * Routines for displaying HUD messages...
  *    *
  * $Log$   * $Log$
    * Revision 1.5  1999/10/07 20:59:18  donut
    * support for variable game font sizes
    *
  * Revision 1.4  1999/08/31 22:18:21  donut   * Revision 1.4  1999/08/31 22:18:21  donut
  * cleaned up a few &HUD_messages[n][0] where HUD_messages[n] is much cleaner, also fixed a possible cause of message log going off the screen   * cleaned up a few &HUD_messages[n][0] where HUD_messages[n] is much cleaner, also fixed a possible cause of message log going off the screen
  *   *
Line 271
 
Line 274
   
  if (num > 0 ) {   if (num > 0 ) {
   
  gr_set_curfont( Gamefonts[GFONT_SMALL] );       gr_set_curfont( GAME_FONT );   
   // gr_set_curfont( Gamefonts[GFONT_SMALL] );   
  if (HUD_color == -1)   if (HUD_color == -1)
  HUD_color = BM_XRGB(0,28,0);   HUD_color = BM_XRGB(0,28,0);
   
Line 319
 
Line 323
  }   }
  }   }
   
  gr_set_curfont( GAME_FONT );      // gr_set_curfont( GAME_FONT );   
 }  }
 //end edit -MM  //end edit -MM
   
Line 431
 
Line 435
 void player_dead_message(void)  void player_dead_message(void)
 {  {
           if (Player_exploded) {            if (Player_exploded) {
  gr_set_curfont( Gamefonts[GFONT_SMALL] );  // gr_set_curfont( Gamefonts[GFONT_SMALL] );
    gr_set_curfont( GAME_FONT );   
  if (HUD_color == -1)   if (HUD_color == -1)
  HUD_color = BM_XRGB(0,28,0);   HUD_color = BM_XRGB(0,28,0);
  gr_set_fontcolor( HUD_color, -1);   gr_set_fontcolor( HUD_color, -1);
   
  gr_printf(0x8000, grd_curcanv->cv_bitmap.bm_h-8, TXT_PRESS_ANY_KEY);   gr_printf(0x8000, grd_curcanv->cv_bitmap.bm_h-(GAME_FONT->ft_h+3), TXT_PRESS_ANY_KEY);//was -8
  gr_set_curfont( GAME_FONT );      // gr_set_curfont( GAME_FONT );   
  }   }
   
 }  }

Legend:
line(s) removed in v.1.4 
line(s) changed
 line(s) added in v.1.5