mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-17 04:50:49 +00:00
- scaling consistency changes from uplifting Redneck Rampage HUDs.
This commit is contained in:
parent
d72e69ac55
commit
9c1faaa3ac
1 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ public:
|
||||||
|
|
||||||
void FullscreenHUD1(struct player_struct* p, int snum)
|
void FullscreenHUD1(struct player_struct* p, int snum)
|
||||||
{
|
{
|
||||||
float imgScale = 14.f;
|
double imgScale = (scale * numberFont.mFont->GetHeight()) * 0.7;
|
||||||
|
|
||||||
//
|
//
|
||||||
// Health
|
// Health
|
||||||
|
@ -168,7 +168,7 @@ public:
|
||||||
if (strlen > 1)
|
if (strlen > 1)
|
||||||
{
|
{
|
||||||
auto scaler = strlen - 1;
|
auto scaler = strlen - 1;
|
||||||
imgX += ((imgX / 2.) * scaler) + ((imgX / 10.) * scaler);
|
imgX += ((imgX / 2.) * scaler) + ((imgX / (10. * scale)) * scaler);
|
||||||
}
|
}
|
||||||
DrawGraphic(imgWeap, -imgX, -1.5, DI_ITEM_RIGHT_BOTTOM, 1, -1, -1, weapScale, weapScale);
|
DrawGraphic(imgWeap, -imgX, -1.5, DI_ITEM_RIGHT_BOTTOM, 1, -1, -1, weapScale, weapScale);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue