2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-15 00:31:20 +00:00
metaforce/Runtime/GuiSys/CSplashScreen.hpp
Lioncash 36d04456dd General: Normalize RuntimeCommonB include paths
Finishes the normalizing of all of includes within the RuntimeCommonB target's headers.
2019-09-23 17:22:37 -04:00

31 lines
833 B
C++

#pragma once
#include "Runtime/CIOWin.hpp"
#include "Runtime/CToken.hpp"
#include "Runtime/Graphics/CTexture.hpp"
#include "Runtime/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