diff --git a/wadsrc/static/zscript/ui/statscreen/statscreen.zs b/wadsrc/static/zscript/ui/statscreen/statscreen.zs index d118111be..7ee6e9eb7 100644 --- a/wadsrc/static/zscript/ui/statscreen/statscreen.zs +++ b/wadsrc/static/zscript/ui/statscreen/statscreen.zs @@ -135,6 +135,22 @@ class StatusScreen abstract play version("2.5") int scaleFactorX, scaleFactorY; + //==================================================================== + // + // Set fixed size mode. + // + //==================================================================== + + void SetSize(int width, int height, int wrapw = -1, int scalemode = FSMode_ScaleToFit43) + { + cwidth = width; + cheight = height; + scalemode = FSMode_ScaleToFit43; + scalefactorx = 1; + scalefactory = 1; + wrapwidth = wrapw == -1 ? width : wrapw;; + } + //==================================================================== // // Draws a single character with a shadow