diff --git a/src/openrct2/scenes/intro/IntroScene.cpp b/src/openrct2/scenes/intro/IntroScene.cpp index b8d66f481c..6970d5feb8 100644 --- a/src/openrct2/scenes/intro/IntroScene.cpp +++ b/src/openrct2/scenes/intro/IntroScene.cpp @@ -89,28 +89,11 @@ namespace OpenRCT2 return _introState != IntroState::None; } - IntroScene::IntroScene(IContext& context) - : Scene(context) - , _impl(std::make_shared()) - { - introSceneImplementation = _impl; - } - - void IntroScene::Load() - { - _impl->Load(); - } - void IntroSceneImpl::Load() { _introState = IntroState::PublisherBegin; } - void IntroScene::Stop() - { - _impl->Stop(); - } - void IntroSceneImpl::Stop() { _introState = IntroState::None; @@ -118,12 +101,6 @@ namespace OpenRCT2 } // rct2: 0x0068E966 - void IntroScene::Tick() - { - auto& sceneContext = GetContext(); - _impl->Tick(sceneContext); - } - void IntroSceneImpl::Tick(IContext& sceneContext) { ScreenIntroProcessMouseInput(); @@ -390,4 +367,27 @@ namespace OpenRCT2 GfxDrawSprite(rt, ImageId(SPR_INTRO_LOGO_11), { imageX + 220, 240 }); GfxDrawSprite(rt, ImageId(SPR_INTRO_LOGO_21), { imageX + 440, 240 }); } + + IntroScene::IntroScene(IContext& context) + : Scene(context) + , _impl(std::make_shared()) + { + introSceneImplementation = _impl; + } + + void IntroScene::Load() + { + _impl->Load(); + } + + void IntroScene::Stop() + { + _impl->Stop(); + } + + void IntroScene::Tick() + { + auto& sceneContext = GetContext(); + _impl->Tick(sceneContext); + } } // namespace OpenRCT2