mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
New code style refactor
This commit is contained in:
@@ -5,37 +5,26 @@
|
||||
#include "Graphics/CTexture.hpp"
|
||||
#include "Graphics/Shaders/CTexturedQuadFilter.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
namespace urde {
|
||||
|
||||
class CSplashScreen : public CIOWin
|
||||
{
|
||||
class CSplashScreen : public CIOWin {
|
||||
public:
|
||||
enum class ESplashScreen
|
||||
{
|
||||
Nintendo,
|
||||
Retro,
|
||||
Dolby
|
||||
};
|
||||
enum class EProgressivePhase
|
||||
{
|
||||
Before,
|
||||
During,
|
||||
After
|
||||
};
|
||||
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;
|
||||
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&);
|
||||
void Draw() const;
|
||||
CSplashScreen(ESplashScreen);
|
||||
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
|
||||
void Draw() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
} // namespace urde
|
||||
|
||||
Reference in New Issue
Block a user