- added missing declarations for RR's intro movies.

This commit is contained in:
Christoph Oelckers 2021-05-18 00:08:32 +02:00
parent eae97ded1b
commit 98bb8c516d
4 changed files with 34 additions and 14 deletions

View file

@ -111,6 +111,10 @@ map { 2, 8 }
cutscenes
{
intro
{
function = RRCutscenes.BuildIntro
}
loadscreen
{
function = DukeCutscenes.BuildLoading // identical with Duke's

View file

@ -102,6 +102,10 @@ map { 2, 7 }
cutscenes
{
intro
{
function = RRCutscenes.BuildRAIntro
}
loadscreen
{
function = DukeCutscenes.BuildLoading // identical with Duke's

View file

@ -96,6 +96,10 @@ map { 2, 7 }
cutscenes
{
intro
{
function = RRCutscenes.BuildIntro
}
loadscreen
{
function = DukeCutscenes.BuildLoading // identical with Duke's

View file

@ -274,22 +274,30 @@ class RRCutscenes
{
if (!userConfig.nologo)
{
if (!Raze.isRRRA())
{
Array<int> soundinfo;
soundinfo.Pushv(1, RRSnd.URANUS + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("rr_intro.anm", soundinfo, 0, 9, 9, 9));
Array<int> soundinfo;
soundinfo.Pushv(1, RRSnd.URANUS + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("rr_intro.anm", soundinfo, 0, 9, 9, 9));
soundinfo.Pushv(1, RRSnd.REDNECK2 + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("redneck.anm", soundinfo, 0, 9, 9, 9));
soundinfo.Pushv(1, RRSnd.REDNECK2 + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("redneck.anm", soundinfo, 0, 9, 9, 9));
soundinfo.Pushv(1, RRSnd.XATRIX + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("xatlogo.anm", soundinfo, 0, 9, 9, 9));
}
else
{
runner.Append(MoviePlayerJob.Create("redint.mve", 0));
}
soundinfo.Pushv(1, RRSnd.XATRIX + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("xatlogo.anm", soundinfo, 0, 9, 9, 9));
}
}
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
static void BuildRAIntro(ScreenJobRunner runner)
{
if (!userConfig.nologo)
{
runner.Append(MoviePlayerJob.Create("redint.mve", 0));
}
}