2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 23:47:42 +00:00

Initial MP1 CSplashScreen

This commit is contained in:
2016-03-09 23:13:50 -08:00
parent 5054cd1d8a
commit 9726682939
2 changed files with 134 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
#ifndef __CSPLASHSCREEN_HPP__
#define __CSPLASHSCREEN_HPP__
#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;
};
}
#endif // __CSPLASHSCREEN_HPP__