mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
check for Crispy HUD being actually drawn
This commit is contained in:
parent
b05273d319
commit
083825d282
@ -62,7 +62,7 @@ void HUlib_reset_align_offsets (void)
|
|||||||
int bottom = SCREENHEIGHT - 1;
|
int bottom = SCREENHEIGHT - 1;
|
||||||
|
|
||||||
if (scaledviewheight < SCREENHEIGHT ||
|
if (scaledviewheight < SCREENHEIGHT ||
|
||||||
(hud_displayed && crispy_hud && hud_active > 0) ||
|
draw_crispy_hud ||
|
||||||
automap_on)
|
automap_on)
|
||||||
{
|
{
|
||||||
bottom -= 32; // ST_HEIGHT
|
bottom -= 32; // ST_HEIGHT
|
||||||
|
@ -51,7 +51,7 @@ int hud_draw_bargraphs;
|
|||||||
int hud_threelined_widgets;
|
int hud_threelined_widgets;
|
||||||
|
|
||||||
int crispy_hud; // Crispy HUD
|
int crispy_hud; // Crispy HUD
|
||||||
static boolean draw_crispy_hud;
|
boolean draw_crispy_hud;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Locally used constants, shortcuts.
|
// Locally used constants, shortcuts.
|
||||||
|
@ -74,6 +74,7 @@ extern boolean message_colorized; // colorize player messages
|
|||||||
extern int playback_tic, playback_totaltics;
|
extern int playback_tic, playback_totaltics;
|
||||||
|
|
||||||
extern int crispy_hud;
|
extern int crispy_hud;
|
||||||
|
extern boolean draw_crispy_hud;
|
||||||
|
|
||||||
extern int hud_crosshair;
|
extern int hud_crosshair;
|
||||||
extern boolean hud_crosshair_health;
|
extern boolean hud_crosshair_health;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user