diff --git a/wadsrc/static/zscript/games/duke/ui/screens.zs b/wadsrc/static/zscript/games/duke/ui/screens.zs index 3f88ee1ec..680873f63 100644 --- a/wadsrc/static/zscript/games/duke/ui/screens.zs +++ b/wadsrc/static/zscript/games/duke/ui/screens.zs @@ -759,3 +759,29 @@ class DukeLevelSummaryScreen : SummaryScreenBase } +//--------------------------------------------------------------------------- +// +// +// +//--------------------------------------------------------------------------- + +class DukeLoadScreen : ScreenJob +{ + MapRecord rec; + + void Init(MapRecord maprec) + { + Super.Init(); + rec = maprec; + } + + override void Draw(double sr) + { + Screen.ClearScreen(); + Screen.DrawTexture(TexMan.CheckForTexture("LOADSCREEN"), false, 0, 0, DTA_FullscreenEx, FSMode_ScaleToFit43, DTA_LegacyRenderStyle, STYLE_Normal); + + Duke.BigText(160, 90, (rec.flags & MapRecord.USERMAP)? "$TXT_LOADUM" : "$TXT_LOADING"); + Duke.BigText(160, 114, rec.DisplayName()); + } +} +