mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
parent
1a25504d02
commit
b4df1fd662
2 changed files with 7 additions and 5 deletions
|
@ -147,7 +147,7 @@ void InitSpiritHead()
|
||||||
nTrack = 7;
|
nTrack = 7;
|
||||||
}
|
}
|
||||||
|
|
||||||
bSubTitles = playCDtrack(nTrack, false) == 0;
|
playCDtrack(nTrack, false);
|
||||||
|
|
||||||
StartSwirlies();
|
StartSwirlies();
|
||||||
|
|
||||||
|
|
|
@ -434,22 +434,24 @@ void DrawView(double smoothRatio, bool sceneonly)
|
||||||
{
|
{
|
||||||
subtitleOverlay.Start(gameclock);
|
subtitleOverlay.Start(gameclock);
|
||||||
if (currentLevel->levelNumber == 1)
|
if (currentLevel->levelNumber == 1)
|
||||||
subtitleOverlay.ReadyCinemaText(1);
|
subtitleOverlay.ReadyCinemaText(0);
|
||||||
else
|
else
|
||||||
subtitleOverlay.ReadyCinemaText(5);
|
subtitleOverlay.ReadyCinemaText(4);
|
||||||
}
|
}
|
||||||
|
inputState.ClearAllInput();
|
||||||
}
|
}
|
||||||
else if (nHeadStage == 6)
|
else if (nHeadStage == 5)
|
||||||
{
|
{
|
||||||
if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(gameclock)) || inputState.CheckAllInput())
|
if ((bSubTitles && !subtitleOverlay.AdvanceCinemaText(gameclock)) || inputState.CheckAllInput())
|
||||||
{
|
{
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
EndLevel = 2;
|
EndLevel = 2;
|
||||||
|
|
||||||
if (CDplaying()) {
|
if (CDplaying()) {
|
||||||
fadecdaudio();
|
fadecdaudio();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else subtitleOverlay.DisplayText();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue