version 1.4 | | version 1.5 |
---|
| | |
* 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 |
* | | * |
| | |
| | |
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); |
| | |
| | |
} | | } |
} | | } |
| | |
gr_set_curfont( GAME_FONT ); | | // gr_set_curfont( GAME_FONT ); |
} | | } |
//end edit -MM | | //end edit -MM |
| | |
| | |
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 ); |
} | | } |
| | |
} | | } |