- added Raze-style HUD scaling.
This commit is contained in:
parent
0ee1cc85ec
commit
efaaa3c118
5 changed files with 79 additions and 9 deletions
|
|
@ -120,6 +120,7 @@
|
|||
#include "doomfont.h"
|
||||
#include "screenjob.h"
|
||||
#include "startscreen.h"
|
||||
#include "shiftstate.h"
|
||||
|
||||
#ifdef __unix__
|
||||
#include "i_system.h" // for SHARE_DIR
|
||||
|
|
@ -2630,6 +2631,8 @@ bool System_WantLeftButton()
|
|||
|
||||
static bool System_DispatchEvent(event_t* ev)
|
||||
{
|
||||
shiftState.AddEvent(ev);
|
||||
|
||||
if (ev->type == EV_Mouse && menuactive == MENU_Off && ConsoleState != c_down && ConsoleState != c_falling && !primaryLevel->localEventManager->Responder(ev) && !paused)
|
||||
{
|
||||
if (buttonMap.ButtonDown(Button_Mlook) || freelook)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue