2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2015-08-18 05:54:43 +00:00
|
|
|
|
2016-09-13 05:36:21 +00:00
|
|
|
#include "CIOWin.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "Graphics/CTexture.hpp"
|
|
|
|
#include "Graphics/Shaders/CTexturedQuadFilter.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2015-08-18 05:54:43 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
class CSplashScreen : public CIOWin {
|
2016-09-13 05:36:21 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
enum class ESplashScreen { Nintendo, Retro, Dolby };
|
|
|
|
enum class EProgressivePhase { Before, During, After };
|
|
|
|
|
2016-09-13 05:36:21 +00:00
|
|
|
private:
|
2018-12-08 05:30:43 +00:00
|
|
|
ESplashScreen x14_which;
|
|
|
|
float x18_splashTimeout = 2.f;
|
|
|
|
// float x1c_progSelectionTimeout = 0.f;
|
|
|
|
// EProgressivePhase x20_progressivePhase = EProgressivePhase::Before;
|
|
|
|
// bool x24_progressiveSelection = true;
|
|
|
|
bool x25_textureLoaded = false;
|
|
|
|
CTexturedQuadFilterAlpha m_quad;
|
|
|
|
|
2016-09-13 05:36:21 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CSplashScreen(ESplashScreen);
|
2019-08-09 12:45:18 +00:00
|
|
|
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
|
|
|
|
void Draw() const override;
|
2015-08-18 05:54:43 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace urde
|