- 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 cutscenes
{ {
intro
{
function = RRCutscenes.BuildIntro
}
loadscreen loadscreen
{ {
function = DukeCutscenes.BuildLoading // identical with Duke's function = DukeCutscenes.BuildLoading // identical with Duke's

View file

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

View file

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

View file

@ -273,8 +273,6 @@ class RRCutscenes
static void BuildIntro(ScreenJobRunner runner) static void BuildIntro(ScreenJobRunner runner)
{ {
if (!userConfig.nologo) if (!userConfig.nologo)
{
if (!Raze.isRRRA())
{ {
Array<int> soundinfo; Array<int> soundinfo;
soundinfo.Pushv(1, RRSnd.URANUS + 1); soundinfo.Pushv(1, RRSnd.URANUS + 1);
@ -286,12 +284,22 @@ class RRCutscenes
soundinfo.Pushv(1, RRSnd.XATRIX + 1); soundinfo.Pushv(1, RRSnd.XATRIX + 1);
runner.Append(MoviePlayerJob.CreateWithSoundinfo("xatlogo.anm", soundinfo, 0, 9, 9, 9)); runner.Append(MoviePlayerJob.CreateWithSoundinfo("xatlogo.anm", soundinfo, 0, 9, 9, 9));
} }
else }
//---------------------------------------------------------------------------
//
//
//
//---------------------------------------------------------------------------
static void BuildRAIntro(ScreenJobRunner runner)
{
if (!userConfig.nologo)
{ {
runner.Append(MoviePlayerJob.Create("redint.mve", 0)); runner.Append(MoviePlayerJob.Create("redint.mve", 0));
} }
} }
}
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------