- disconnected Shadow Warrior's menu so it can be replaced.

Unlike the other games this was a lot more invasive
This commit is contained in:
Christoph Oelckers 2019-12-02 21:05:19 +01:00
parent d55f55c04d
commit 702f91b6b5
12 changed files with 635 additions and 990 deletions

View file

@ -44,6 +44,7 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms
#include "weapon.h"
#include "fx_man.h"
#include "menu/menu.h"
BEGIN_SW_NS
@ -67,7 +68,6 @@ int InitFistAttack(PLAYERp pp);
//#define UK_VERSION TRUE
#define PANF_UZI_XFLIP (BIT(21))
extern SWBOOL UsingMenus;
#define XDIM 320
#define YDIM 200
@ -775,7 +775,7 @@ void PlayerUpdatePanelInfo(PLAYERp pp)
if (Prediction)
return;
if (UsingMenus)
if (M_Active())
return;
PlayerUpdateHealth(pp, 0);