From a0c10df3872855b84b56337eac972e2706ef7840 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 21 Feb 2019 01:13:42 +0100 Subject: [PATCH] - made some adjustments so that the BigFont works as intended. The auto-calculated height of 24 is too tall, this requires a manual setting here. Also fix the space calculations for the "finished" graphic. --- wadsrc/static/zscript/statscreen/statscreen.txt | 6 ++++-- .../static/filter/game-doomchex/fonts/bigfont/font.inf | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/wadsrc/static/zscript/statscreen/statscreen.txt b/wadsrc/static/zscript/statscreen/statscreen.txt index 5fddf02c0..6a16508c3 100644 --- a/wadsrc/static/zscript/statscreen/statscreen.txt +++ b/wadsrc/static/zscript/statscreen/statscreen.txt @@ -46,7 +46,7 @@ class StatusScreen abstract play version("2.5") enum EValues { // GLOBAL LOCATIONS - TITLEY = 2, + TITLEY = 5, // SINGPLE-PLAYER STUFF SP_STATSX = 50, @@ -225,7 +225,9 @@ class StatusScreen abstract play version("2.5") y -= ((mapname.mFont.GetHeight() - finished.mFont.GetHeight()) * CleanYfac) / 4; // draw "Finished!" - if (y < (NG_STATSY - finished.mFont.GetHeight()*3/4) * CleanYfac) + + int statsy = multiplayer? NG_STATSY : SP_STATSY * CleanYFac; + if (y < (statsy - finished.mFont.GetHeight()*3/4) * CleanYfac) { // don't draw 'finished' if the level name is too tall y = DrawPatchText(y, finished, "$WI_FINISHED"); diff --git a/wadsrc_extra/static/filter/game-doomchex/fonts/bigfont/font.inf b/wadsrc_extra/static/filter/game-doomchex/fonts/bigfont/font.inf index 1794c6c03..f3a0b6186 100644 --- a/wadsrc_extra/static/filter/game-doomchex/fonts/bigfont/font.inf +++ b/wadsrc_extra/static/filter/game-doomchex/fonts/bigfont/font.inf @@ -1 +1,3 @@ Kerning -1 +FontHeight 16 +