- added cutscene creation code

This commit is contained in:
Christoph Oelckers 2022-06-03 00:03:57 +02:00
commit 99d98cf79d
6 changed files with 106 additions and 7 deletions

View file

@ -1198,6 +1198,9 @@ void G_Ticker ()
gamestate = GS_CUTSCENE;
gameaction = ga_nothing;
break;
case ga_titleloop:
D_StartTitle();
break;
default:
@ -3077,7 +3080,7 @@ void G_StartSlideshow(FLevelLocals *Level, FName whichone)
{
auto SelectedSlideshow = whichone == NAME_None ? Level->info->slideshow : whichone;
auto slide = F_StartIntermission(SelectedSlideshow);
RunIntermission(slide, nullptr, [](bool)
RunIntermission(nullptr, nullptr, slide, nullptr, [](bool)
{
primaryLevel->SetMusic();
gamestate = GS_LEVEL;