- make DHUDFont an object.

This commit is contained in:
Christoph Oelckers 2020-10-28 20:04:53 +01:00
parent 7de6528a1f
commit 7a482c6284
14 changed files with 349 additions and 87 deletions

View file

@ -289,7 +289,7 @@ DEFINE_ACTION_FUNCTION_NATIVE(DStatusBarCore, BeginHUD, BeginHUD)
DHUDFont* CreateHudFont(FFont* fnt, int spac, int mono, int sx, int sy)
{
return nullptr;// (Create<DHUDFont>(fnt, spac, EMonospacing(mono), sy, sy));
return Create<DHUDFont>(fnt, spac, EMonospacing(mono), sy, sy);
}
DEFINE_ACTION_FUNCTION_NATIVE(DHUDFont, Create, CreateHudFont)