mirror of https://github.com/OpenRCT2/OpenRCT2.git
49 lines
1.1 KiB
C++
49 lines
1.1 KiB
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2024 OpenRCT2 developers
|
|
*
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
*
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
*****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
#include "../../common.h"
|
|
#include "../Scene.h"
|
|
|
|
struct DrawPixelInfo;
|
|
|
|
namespace OpenRCT2
|
|
{
|
|
enum class IntroState : uint8_t
|
|
{
|
|
None,
|
|
PublisherBegin,
|
|
PublisherScroll,
|
|
DeveloperBegin,
|
|
DeveloperScroll,
|
|
LogoFadeIn,
|
|
LogoWait,
|
|
LogoFadeOut,
|
|
Disclaimer1,
|
|
Disclaimer2,
|
|
Clear = 254,
|
|
Finish = 255,
|
|
};
|
|
|
|
class IntroScene final : public Scene
|
|
{
|
|
public:
|
|
using Scene::Scene;
|
|
|
|
void Load() override;
|
|
void Tick() override;
|
|
void Stop() override;
|
|
};
|
|
|
|
bool IntroIsPlaying();
|
|
void IntroUpdate();
|
|
void IntroDraw(DrawPixelInfo& dpi);
|
|
} // namespace OpenRCT2
|