mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-29 23:42:08 +00:00
- display the status bar.
It's totally broken, but at least a start.
This commit is contained in:
parent
d35092698d
commit
bd1c37960f
2 changed files with 12 additions and 2 deletions
|
@ -3,6 +3,8 @@
|
|||
#include "v_font.h"
|
||||
#include "v_draw.h"
|
||||
#include "gamehud.h"
|
||||
#include "statusbar.h"
|
||||
#include "mapinfo.h"
|
||||
|
||||
BEGIN_WH_NS
|
||||
|
||||
|
@ -428,7 +430,15 @@ void DrawHud(double const dasmoothratio) {
|
|||
if (scarytime >= 0)
|
||||
drawscary();
|
||||
|
||||
//drawInterface(player[pyrn]);
|
||||
SummaryInfo info{};
|
||||
info.kills = kills;
|
||||
info.maxkills = killcnt;
|
||||
info.secrets = treasuresfound;
|
||||
info.maxsecrets = treasurescnt;
|
||||
info.supersecrets = 0;
|
||||
info.time = Scale(PlayClock, 1000, 120);
|
||||
|
||||
UpdateStatusBar(&info);
|
||||
}
|
||||
|
||||
END_WH_NS
|
||||
|
|
|
@ -425,7 +425,7 @@ class WHStatusBar : RazeStatusBar
|
|||
}
|
||||
|
||||
int amposx = 10;
|
||||
int amposy = 40;//Raze.GetMessageBottomY();
|
||||
int amposy = Raze.GetMessageBottomY();
|
||||
|
||||
if(plr.treasure[Witchaven.TONYXRING] != 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue