1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Implement title sequence playing

This commit is contained in:
Ted John
2021-01-28 00:50:30 +00:00
parent 78df831f29
commit 129d85fa57
3 changed files with 103 additions and 0 deletions

View File

@@ -298,6 +298,11 @@ bool TitleScreen::TryLoadSequence(bool loadPreview)
{
if (_loadedTitleSequenceId != _currentSequence || loadPreview)
{
if (_sequencePlayer == nullptr)
{
_sequencePlayer = GetContext()->GetUiContext()->GetTitleSequencePlayer();
}
size_t numSequences = TitleSequenceManager::GetCount();
if (numSequences > 0)
{