2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 06:27:43 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -3,33 +3,25 @@
#include "CIOWin.hpp"
#include "CToken.hpp"
namespace urde
{
namespace urde {
class CTexture;
namespace MP1
{
class CSplashScreen : public CIOWin
{
namespace MP1 {
class CSplashScreen : public CIOWin {
public:
enum ESplashScreen
{
NintendoLogo,
RetroLogo,
DolbyLogo
};
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;
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;
CSplashScreen(ESplashScreen splash);
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
void Draw() const;
};
}
} // namespace MP1