mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
- allow skipping in the end of game sequence.
This commit is contained in:
parent
ccfefaa9be
commit
fd1e63b996
1 changed files with 7 additions and 11 deletions
|
@ -1521,6 +1521,7 @@ void CreditsLevel(void)
|
||||||
gs.BorderNum = save;
|
gs.BorderNum = save;
|
||||||
twod->ClearScreen();
|
twod->ClearScreen();
|
||||||
videoNextPage();
|
videoNextPage();
|
||||||
|
inputState.ClearAllInput();
|
||||||
|
|
||||||
// Lo Wang feel like singing!
|
// Lo Wang feel like singing!
|
||||||
PlaySound(DIGI_JG95012, v3df_none, CHAN_VOICE);
|
PlaySound(DIGI_JG95012, v3df_none, CHAN_VOICE);
|
||||||
|
@ -1528,21 +1529,16 @@ void CreditsLevel(void)
|
||||||
{
|
{
|
||||||
DoUpdateSounds();
|
DoUpdateSounds();
|
||||||
handleevents();
|
handleevents();
|
||||||
|
if (inputState.CheckAllInput())
|
||||||
|
break;
|
||||||
|
videoNextPage();
|
||||||
}
|
}
|
||||||
|
StopSound();
|
||||||
|
|
||||||
// try 14 then 2 then quit
|
// try 14 then 2 then quit
|
||||||
if (!PlaySong(nullptr, ThemeSongs[5], ThemeTrack[5], true))
|
if (!PlaySong(nullptr, ThemeSongs[5], ThemeTrack[5], true))
|
||||||
{
|
{
|
||||||
if (!PlaySong(nullptr, nullptr, 2, true))
|
PlaySong(nullptr, nullptr, 2, true);
|
||||||
{
|
|
||||||
PlaySound(DIGI_NOLIKEMUSIC, v3df_none, CHAN_VOICE);
|
|
||||||
while (soundEngine->IsSourcePlayingSomething(SOURCE_None, nullptr, CHAN_VOICE))
|
|
||||||
{
|
|
||||||
DoUpdateSounds();
|
|
||||||
handleevents();
|
|
||||||
}
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ready2send = 0;
|
ready2send = 0;
|
||||||
|
@ -1577,7 +1573,7 @@ void CreditsLevel(void)
|
||||||
curpic = CREDITS1_PIC;
|
curpic = CREDITS1_PIC;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (inputState.GetKeyStatus(KEYSC_ESC))
|
if (inputState.CheckAllInput())
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue