- ported E2ENDSCREEN

This commit is contained in:
Christoph Oelckers 2021-04-22 21:33:51 +02:00
parent 05fa21785d
commit 9c95f003f1
2 changed files with 19 additions and 1 deletions

View File

@ -251,3 +251,21 @@ class Episode1End1 : SkippableScreenJob
} }
} }
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
class E2EndScreen : ImageScreen
{
void Init()
{
Super.Init("E2ENDSCREEN", fadein | fadeout | stopsound, 0x7fffffff, 0);
}
override void Start()
{
Duke.PlaySound(DukeSnd.PIPEBOMB_EXPLODE, CHAN_AUTO, CHANF_UI);
}
}

View File

@ -81,7 +81,7 @@ class ImageScreen : SkippableScreenJob native
native bool cleared; native bool cleared;
native TextureID texid; native TextureID texid;
native void Init(TextureID tex, int fade = fadein | fadeout, int wait = 3000, int translation = 0); native void Init(String tex, int fade = fadein | fadeout, int wait = 3000, int translation = 0);
//override void OnTick(); //override void OnTick();
//override void Draw(double smooth); //override void Draw(double smooth);
} }