- use the new console font for the options menu to gain space and better character support.

So far this is just an experiment, this needs a bit of work to become viable.
This commit is contained in:
Christoph Oelckers 2019-03-17 14:40:06 +01:00
commit 2e260c6367
7 changed files with 36 additions and 30 deletions

View file

@ -551,9 +551,13 @@ void V_UpdateModeSize (int width, int height)
else if (w >= 1600 && w < 1920) factor = 3;
else factor = w / 640;
CleanXfac = CleanYfac = CleanXfac_1 = CleanYfac_1 = factor;
CleanWidth = CleanWidth_1 = width / CleanXfac_1;
CleanHeight = CleanHeight_1 = height / CleanYfac_1;
CleanXfac = CleanYfac = factor;
CleanWidth = width / CleanXfac;
CleanHeight = height / CleanYfac;
CleanYfac_1 = CleanXfac_1 = MAX(1, int (CleanXfac * 0.7));
CleanWidth_1 = width / CleanXfac_1;
CleanHeight_1 = height / CleanYfac_1;
DisplayWidth = width;
DisplayHeight = height;