mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
JFDuke3D port: Display DUKETEAM.ANM at the end of episode 3 under v1.3D.
Fix for end-of-game sequence with 1.3D data, by Turrican. git-svn-id: https://svn.eduke32.com/eduke32@2395 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
ef02682c94
commit
56b40e233e
1 changed files with 40 additions and 4 deletions
|
@ -11209,13 +11209,49 @@ void G_BonusScreen(int32_t bonusonly)
|
|||
MOUSE_ClearButton(LEFT_MOUSE);
|
||||
KB_FlushKeyBoardQueue();
|
||||
totalclock = 0;
|
||||
while (!KB_KeyWaiting() && totalclock < 120 && !MOUSE_GetButtons()&LEFT_MOUSE && !BUTTON(gamefunc_Fire) && !BUTTON(gamefunc_Open))
|
||||
if (PLUTOPAK)
|
||||
{
|
||||
handleevents();
|
||||
Net_GetPackets();
|
||||
}
|
||||
while (!KB_KeyWaiting() && totalclock < 120 && !MOUSE_GetButtons()&LEFT_MOUSE && !BUTTON(gamefunc_Fire) && !BUTTON(gamefunc_Open))
|
||||
{
|
||||
handleevents();
|
||||
Net_GetPackets();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while (!KB_KeyWaiting() && !MOUSE_GetButtons()&LEFT_MOUSE && !BUTTON(gamefunc_Fire) && !BUTTON(gamefunc_Open))
|
||||
{
|
||||
handleevents();
|
||||
Net_GetPackets();
|
||||
}
|
||||
}
|
||||
|
||||
ENDANM:
|
||||
|
||||
if (!PLUTOPAK)
|
||||
{
|
||||
FX_StopAllSounds();
|
||||
S_ClearSoundLocks();
|
||||
S_PlaySound(ENDSEQVOL3SND4);
|
||||
|
||||
clearview(0L);
|
||||
nextpage();
|
||||
|
||||
G_PlayAnim("DUKETEAM.ANM",4);
|
||||
|
||||
KB_FlushKeyBoardQueue();
|
||||
MOUSE_ClearButton(LEFT_MOUSE);
|
||||
while (!KB_KeyWaiting() && !MOUSE_GetButtons()&LEFT_MOUSE && !BUTTON(gamefunc_Fire) && !BUTTON(gamefunc_Open))
|
||||
{
|
||||
handleevents();
|
||||
Net_GetPackets();
|
||||
}
|
||||
|
||||
clearview(0L);
|
||||
nextpage();
|
||||
G_FadePalette(0,0,0,63);
|
||||
}
|
||||
|
||||
MOUSE_ClearButton(LEFT_MOUSE);
|
||||
FX_StopAllSounds();
|
||||
S_ClearSoundLocks();
|
||||
|
|
Loading…
Reference in a new issue