mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-13 19:40:43 +00:00
- added missing declarations for RR's intro movies.
This commit is contained in:
parent
eae97ded1b
commit
98bb8c516d
4 changed files with 34 additions and 14 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -274,22 +274,30 @@ class RRCutscenes
|
||||||
{
|
{
|
||||||
if (!userConfig.nologo)
|
if (!userConfig.nologo)
|
||||||
{
|
{
|
||||||
if (!Raze.isRRRA())
|
Array<int> soundinfo;
|
||||||
{
|
soundinfo.Pushv(1, RRSnd.URANUS + 1);
|
||||||
Array<int> soundinfo;
|
runner.Append(MoviePlayerJob.CreateWithSoundinfo("rr_intro.anm", soundinfo, 0, 9, 9, 9));
|
||||||
soundinfo.Pushv(1, RRSnd.URANUS + 1);
|
|
||||||
runner.Append(MoviePlayerJob.CreateWithSoundinfo("rr_intro.anm", soundinfo, 0, 9, 9, 9));
|
|
||||||
|
|
||||||
soundinfo.Pushv(1, RRSnd.REDNECK2 + 1);
|
soundinfo.Pushv(1, RRSnd.REDNECK2 + 1);
|
||||||
runner.Append(MoviePlayerJob.CreateWithSoundinfo("redneck.anm", soundinfo, 0, 9, 9, 9));
|
runner.Append(MoviePlayerJob.CreateWithSoundinfo("redneck.anm", soundinfo, 0, 9, 9, 9));
|
||||||
|
|
||||||
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
|
}
|
||||||
{
|
|
||||||
runner.Append(MoviePlayerJob.Create("redint.mve", 0));
|
|
||||||
}
|
//---------------------------------------------------------------------------
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//
|
||||||
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
static void BuildRAIntro(ScreenJobRunner runner)
|
||||||
|
{
|
||||||
|
if (!userConfig.nologo)
|
||||||
|
{
|
||||||
|
runner.Append(MoviePlayerJob.Create("redint.mve", 0));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue