From a5d68d46f06274d5c71fdfd2d9b601e2bf133955 Mon Sep 17 00:00:00 2001 From: helixhorned Date: Thu, 16 Aug 2012 21:48:58 +0000 Subject: [PATCH] Redraw background when ud.screen_size >= 8, unconditional on ud.statusbarscale. Classic HUD now has correct aspect in widescreen modes, so with the full status bar, there may be patches of free room left to the left and right. git-svn-id: https://svn.eduke32.com/eduke32@2914 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/eduke32/source/game.c | 2 +- polymer/eduke32/source/player.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/polymer/eduke32/source/game.c b/polymer/eduke32/source/game.c index 1aed2be93..4ad3eeba7 100644 --- a/polymer/eduke32/source/game.c +++ b/polymer/eduke32/source/game.c @@ -3354,7 +3354,7 @@ void G_DrawRooms(int32_t snum, int32_t smoothratio) if (pub > 0 || getrendermode() >= 3) // JBF 20040101: redraw background always { - if (getrendermode() >= 3 || ud.screen_size > 8 || (ud.screen_size == 8 && ud.statusbarscale<100)) + if (ud.screen_size >= 8) G_DrawBackground(); pub = 0; } diff --git a/polymer/eduke32/source/player.h b/polymer/eduke32/source/player.h index b0161cbe1..24bf2fdfa 100644 --- a/polymer/eduke32/source/player.h +++ b/polymer/eduke32/source/player.h @@ -55,17 +55,17 @@ enum dukeinv_t { }; enum dukeweapon_t { - KNEE_WEAPON, + KNEE_WEAPON, // 0 PISTOL_WEAPON, SHOTGUN_WEAPON, CHAINGUN_WEAPON, RPG_WEAPON, - HANDBOMB_WEAPON, + HANDBOMB_WEAPON, // 5 SHRINKER_WEAPON, DEVISTATOR_WEAPON, TRIPBOMB_WEAPON, FREEZE_WEAPON, - HANDREMOTE_WEAPON, + HANDREMOTE_WEAPON, // 10 GROW_WEAPON, MAX_WEAPONS };