mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
- Duke screens are complete.
This commit is contained in:
parent
c07fcbee08
commit
d5a8147f1b
1 changed files with 26 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue