2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2015-08-17 22:54:43 -07:00
|
|
|
|
2019-09-23 12:00:23 -07:00
|
|
|
#include "Runtime/CIOWin.hpp"
|
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/Graphics/CTexture.hpp"
|
2016-09-12 22:36:21 -07:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2015-08-17 22:54:43 -07:00
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
class CSplashScreen : public CIOWin {
|
2016-09-12 22:36:21 -07:00
|
|
|
public:
|
2018-12-07 21:30:43 -08:00
|
|
|
enum class ESplashScreen { Nintendo, Retro, Dolby };
|
|
|
|
enum class EProgressivePhase { Before, During, After };
|
|
|
|
|
2016-09-12 22:36:21 -07:00
|
|
|
private:
|
2018-12-07 21:30:43 -08:00
|
|
|
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;
|
2022-02-24 23:45:25 -08:00
|
|
|
TLockedToken<CTexture> x28_texture;
|
2018-12-07 21:30:43 -08:00
|
|
|
|
2016-09-12 22:36:21 -07:00
|
|
|
public:
|
2020-03-25 18:25:11 -07:00
|
|
|
explicit CSplashScreen(ESplashScreen);
|
2019-08-09 05:45:18 -07:00
|
|
|
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
|
2020-03-29 18:55:58 -07:00
|
|
|
void Draw() override;
|
2015-08-17 22:54:43 -07:00
|
|
|
};
|
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|