2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-03-10 07:13:50 +00:00
|
|
|
|
|
|
|
#include "CIOWin.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2016-03-10 07:13:50 +00:00
|
|
|
class CTexture;
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace MP1 {
|
|
|
|
class CSplashScreen : public CIOWin {
|
2016-03-10 07:13:50 +00:00
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
enum ESplashScreen { NintendoLogo, RetroLogo, DolbyLogo };
|
|
|
|
|
2016-03-10 07:13:50 +00:00
|
|
|
private:
|
2018-12-08 05:30:43 +00:00
|
|
|
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;
|
2016-03-10 07:13:50 +00:00
|
|
|
|
|
|
|
public:
|
2018-12-08 05:30:43 +00:00
|
|
|
CSplashScreen(ESplashScreen splash);
|
|
|
|
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
|
|
|
|
void Draw() const;
|
2016-03-10 07:13:50 +00:00
|
|
|
};
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace MP1
|