metaforce/Runtime/MP1/CSplashScreen.hpp

36 lines
625 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2016-03-10 07:13:50 +00:00
#include "CIOWin.hpp"
#include "CToken.hpp"
namespace urde
{
class CTexture;
namespace MP1
{
class CSplashScreen : public CIOWin
{
public:
enum ESplashScreen
{
NintendoLogo,
RetroLogo,
DolbyLogo
};
private:
ESplashScreen x14_splashScreen;
float x18_ = 2.0;
float x1c_ = 0.0;
u32 x20_phase = 0;
bool x24_progressiveEnabled = true;
bool x25_ = false;
TLockedToken<CTexture> x28_texture;
public:
CSplashScreen(ESplashScreen splash);
EMessageReturn OnMessage(const CArchitectureMessage &, CArchitectureQueue &);
void Draw() const;
};
}