2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-13 15:11:22 +00:00
metaforce/Runtime/GuiSys/CSplashScreen.hpp
Lioncash 2059535b55 RuntimeCommonB: Use the override specifier where applicable
Applies the override keyword where applicable to indicate visually where
member function overriding is occurring. This only targets
the RuntimeCommonB target as a starting point, which resolves around
900+ cases where the keyword could be used.
2019-08-09 09:13:26 -04:00

31 lines
801 B
C++

#pragma once
#include "CIOWin.hpp"
#include "CToken.hpp"
#include "Graphics/CTexture.hpp"
#include "Graphics/Shaders/CTexturedQuadFilter.hpp"
namespace urde {
class CSplashScreen : public CIOWin {
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;
CTexturedQuadFilterAlpha m_quad;
public:
CSplashScreen(ESplashScreen);
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
void Draw() const override;
};
} // namespace urde