mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- always use the narrow status bar for overlay mode.
This commit is contained in:
parent
bd183ad682
commit
fc435565af
1 changed files with 4 additions and 3 deletions
|
@ -380,13 +380,14 @@ public:
|
|||
|
||||
void Statusbar(int snum)
|
||||
{
|
||||
int tile = hud_size < Hud_StbarOverlay ? TILE_BOTTOMSTATUSBAR : BOTTOMSTATUSBAR; // always use the narrow version for the overlay.
|
||||
auto p = &ps[snum];
|
||||
int h = tilesiz[TILE_BOTTOMSTATUSBAR].y;
|
||||
int h = tilesiz[tile].y;
|
||||
int top = 200 - h;
|
||||
int left = (320 - tilesiz[TILE_BOTTOMSTATUSBAR].x) / 2;
|
||||
int left = (320 - tilesiz[tile].x) / 2;
|
||||
BeginStatusBar(320, 200, h);
|
||||
DrawInventory(p, 160, 154, 0);
|
||||
DrawGraphic(tileGetTexture(TILE_BOTTOMSTATUSBAR), left, top, DI_ITEM_LEFT_TOP, 1, -1, -1, 1, 1);
|
||||
DrawGraphic(tileGetTexture(tile), left, top, DI_ITEM_LEFT_TOP, 1, -1, -1, 1, 1);
|
||||
|
||||
FString format;
|
||||
|
||||
|
|
Loading…
Reference in a new issue