mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-14 11:50:49 +00:00
- merge DukeDC's end of episode cutscene into BuildE3End.
This will make things a bit easier on the setup side because it eliminates the need for mission pack specific definitions.
This commit is contained in:
parent
21aa5c9234
commit
f077359196
1 changed files with 22 additions and 26 deletions
|
@ -97,6 +97,14 @@ class DukeCutscenes
|
|||
//---------------------------------------------------------------------------
|
||||
|
||||
static void BuildE3End(ScreenJobRunner runner)
|
||||
{
|
||||
if (gameinfo.gameType & GAMEFLAG_DUKEDC)
|
||||
{
|
||||
Array<int> soundinfo;
|
||||
soundinfo.Pushv(144, DukeSnd.ENDSEQVOL3SND3 + 1);
|
||||
runner.Append(MoviePlayerJob.CreateWithSoundinfo("radlogo.anm", soundinfo, 0, 10, 10, 10));
|
||||
}
|
||||
else
|
||||
{
|
||||
Array<int> soundinfo;
|
||||
soundinfo.Pushv(
|
||||
|
@ -113,18 +121,6 @@ class DukeCutscenes
|
|||
runner.Append(new("Episode3End").Init());
|
||||
if (!Raze.isPlutoPak()) runner.Append(ImageScreen.CreateNamed("DUKETEAM.ANM", ScreenJob.fadein | ScreenJob.fadeout | ScreenJob.stopsound, 0x7fffffff));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
//
|
||||
//
|
||||
//
|
||||
//---------------------------------------------------------------------------
|
||||
|
||||
static void BuildDCEnd(ScreenJobRunner runner)
|
||||
{
|
||||
Array<int> soundinfo;
|
||||
soundinfo.Pushv(144, DukeSnd.ENDSEQVOL3SND3 + 1);
|
||||
runner.Append(MoviePlayerJob.CreateWithSoundinfo("radlogo.anm", soundinfo, 0, 10, 10, 10));
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue