create ChaChaFont interface (to handle unscalled)

This commit is contained in:
cclecle
2025-08-26 13:43:09 +02:00
parent e509b61ad5
commit 73df32bf27
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
class IChaChaFontInfo expands FontInfo;
function GlobalForceScalingState(bool bState);
function Font GetHugeUnscaledFont(float Width);
function Font GetBigUnscaledFont(float Width);
function Font GetMediumUnscaledFont(float Width);
function Font GetSmallUnscaledFont(float Width);
function Font GetSmallestUnscaledFont(float Width);
function Font GetAReallySmallUnscaledFont(float Width);
function Font GetACompletelyUnreadableUnscaledFont(float Width);
function Font GetUnscaledFontIndex(int i, float Width);

View File

@@ -2,7 +2,7 @@ class IChaChaFonts expands Actor
abstract; abstract;
simulated function FontInfo Get(String requestedFont); simulated function IChaChaFontInfo Get(String requestedFont);
static function IChaChaFonts GetInstance(LevelInfo _Level, String ID) static function IChaChaFonts GetInstance(LevelInfo _Level, String ID)
{ {