mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
- stat display fine tuning.
This commit is contained in:
parent
fef7608705
commit
25ade79b90
2 changed files with 3 additions and 3 deletions
|
@ -221,7 +221,7 @@ private:
|
|||
FLevelStats stats{};
|
||||
|
||||
stats.fontscale = 1.;
|
||||
stats.spacing = SmallFont->GetHeight() + 2;
|
||||
stats.spacing = SmallFont->GetHeight() + 1;
|
||||
stats.screenbottomspace = bottomy;
|
||||
stats.font = SmallFont;
|
||||
stats.letterColor = CR_DARKRED;
|
||||
|
@ -633,7 +633,7 @@ private:
|
|||
}
|
||||
drawInventory(pPlayer, 166, 200 - tilesiz[2200].y);
|
||||
// Depending on the scale we can lower the stats display. This needs some tweaking but this catches the important default case already.
|
||||
PrintLevelStats(pPlayer, (hud_statscale <= 0.501f || hud_scale < 70) && double(xdim)/ydim > 1.6? 28 : 56);
|
||||
PrintLevelStats(pPlayer, (hud_statscale <= 0.501f || hud_scale < 0.7) && double(xdim)/ydim > 1.6? 28 : 56);
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -222,7 +222,7 @@ void DDukeCommonStatusBar::PrintLevelStats(int bottomy)
|
|||
{
|
||||
// The stock font of these games is totally unusable for this.
|
||||
stats.font = ConFont;
|
||||
stats.spacing = ConFont->GetHeight() + 2;
|
||||
stats.spacing = ConFont->GetHeight() + 1;
|
||||
stats.letterColor = CR_ORANGE;
|
||||
stats.standardColor = CR_YELLOW;
|
||||
stats.completeColor = CR_FIRE;
|
||||
|
|
Loading…
Reference in a new issue