mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
parent
a2e3bb5725
commit
04ec21d6b6
2 changed files with 9 additions and 4 deletions
|
@ -676,7 +676,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
#define kTile654 654
|
#define kTile654 654
|
||||||
#define kTile655 655
|
#define kTile655 655
|
||||||
#define kTile656 656
|
#define kTile656 656
|
||||||
#define kTile657 657
|
#define kTileStatusBar 657
|
||||||
#define kTile658 658
|
#define kTile658 658
|
||||||
#define kTile659 659
|
#define kTile659 659
|
||||||
#define kTile660 660
|
#define kTile660 660
|
||||||
|
|
|
@ -545,8 +545,13 @@ private:
|
||||||
|
|
||||||
int flags = DI_ITEM_RELCENTER;
|
int flags = DI_ITEM_RELCENTER;
|
||||||
|
|
||||||
int x = ChunkXpos[nFrameBase];
|
double x = ChunkXpos[nFrameBase];
|
||||||
int y = ChunkYpos[nFrameBase] + ebx;
|
double y = ChunkYpos[nFrameBase] + ebx;
|
||||||
|
|
||||||
|
if (x > 0)
|
||||||
|
{
|
||||||
|
if (xoffset == 0) { x += 0.5; y += 0.5; }
|
||||||
|
}
|
||||||
|
|
||||||
if (hud_size <= Hud_StbarOverlay)
|
if (hud_size <= Hud_StbarOverlay)
|
||||||
{
|
{
|
||||||
|
@ -710,7 +715,7 @@ private:
|
||||||
{
|
{
|
||||||
// draw the main bar itself
|
// draw the main bar itself
|
||||||
BeginStatusBar(320, 200, 40);
|
BeginStatusBar(320, 200, 40);
|
||||||
DrawStatusSequence(nStatusSeqOffset, 0, 0);
|
DrawGraphic(tileGetTexture(kTileStatusBar), 160, 200, DI_ITEM_CENTER_BOTTOM, 1, -1, -1, 1, 1);
|
||||||
}
|
}
|
||||||
else if (hud_size == Hud_Mini)
|
else if (hud_size == Hud_Mini)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue