Move all IntroScene implementations to the end

This commit is contained in:
Hielke Morsink committed 2026-02-19 14:07:31 +01:00
1 parent 93ccb908b5
commit 24ee46680c
1 file changed
+23 -23
+23 -23
View File
@@ -89,28 +89,11 @@ namespace OpenRCT2
return _introState != IntroState::None;
}
IntroScene::IntroScene(IContext& context)
: Scene(context)
, _impl(std::make_shared<IntroSceneImpl>())
{
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<IntroSceneImpl>())
{
introSceneImplementation = _impl;
}
void IntroScene::Load()
{
_impl->Load();
}
void IntroScene::Stop()
{
_impl->Stop();
}
void IntroScene::Tick()
{
auto& sceneContext = GetContext();
_impl->Tick(sceneContext);
}
} // namespace OpenRCT2