metaforce/Runtime/MP1/CSplashScreen.hpp

28 lines
591 B
C++
Raw Normal View History

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