metaforce/Runtime/GuiSys/CSplashScreen.hpp

44 lines
938 B
C++

#ifndef __URDE_CSPLASHSCREEN_HPP__
#define __URDE_CSPLASHSCREEN_HPP__
#include "CIOWin.hpp"
#include "CToken.hpp"
#include "Graphics/CTexture.hpp"
#include "Graphics/Shaders/CTexturedQuadFilter.hpp"
namespace urde
{
class CSplashScreen : public CIOWin
{
public:
enum class ESplashScreen
{
Nintendo,
Retro,
Dolby
};
enum class EProgressivePhase
{
Before,
During,
After
};
private:
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;
CTexturedQuadFilter m_quad;
public:
CSplashScreen(ESplashScreen);
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
void Draw() const;
};
}
#endif // __URDE_CSPLASHSCREEN_HPP__