metaforce/Runtime/GuiSys/CSplashScreen.hpp

44 lines
943 B
C++
Raw Normal View History

2016-03-10 03:47:37 +00:00
#ifndef __URDE_CSPLASHSCREEN_HPP__
#define __URDE_CSPLASHSCREEN_HPP__
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"
2016-03-04 23:04:53 +00:00
namespace urde
2015-08-18 05:54:43 +00:00
{
2016-09-13 05:36:21 +00:00
class CSplashScreen : public CIOWin
2015-08-18 05:54:43 +00:00
{
2016-09-13 05:36:21 +00:00
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;
2016-09-14 05:54:09 +00:00
CTexturedQuadFilterAlpha m_quad;
2016-09-13 05:36:21 +00:00
public:
CSplashScreen(ESplashScreen);
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
void Draw() const;
2015-08-18 05:54:43 +00:00
};
}
2016-03-10 03:47:37 +00:00
#endif // __URDE_CSPLASHSCREEN_HPP__