mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 21:07:42 +00:00
CSplashScreen integration
This commit is contained in:
43
Runtime/GuiSys/CErrorOutputWindow.hpp
Normal file
43
Runtime/GuiSys/CErrorOutputWindow.hpp
Normal file
@@ -0,0 +1,43 @@
|
||||
#ifndef __URDE_CERROROUTPUTWINDOW_HPP__
|
||||
#define __URDE_CERROROUTPUTWINDOW_HPP__
|
||||
|
||||
#include "CIOWin.hpp"
|
||||
#include "RetroTypes.hpp"
|
||||
|
||||
namespace urde
|
||||
{
|
||||
|
||||
class CErrorOutputWindow : public CIOWin
|
||||
{
|
||||
public:
|
||||
enum class State
|
||||
{
|
||||
Zero,
|
||||
One,
|
||||
Two
|
||||
};
|
||||
private:
|
||||
State x14_state = State::Zero;
|
||||
union
|
||||
{
|
||||
struct
|
||||
{
|
||||
bool x18_24_;
|
||||
bool x18_25_;
|
||||
bool x18_26_;
|
||||
bool x18_27_;
|
||||
bool x18_28_;
|
||||
};
|
||||
u16 dummy = 0;
|
||||
};
|
||||
const wchar_t* x1c_msg;
|
||||
public:
|
||||
CErrorOutputWindow(bool);
|
||||
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&);
|
||||
bool GetIsContinueDraw() const { return int(x14_state) < 2; }
|
||||
void Draw() const;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif // __URDE_CERROROUTPUTWINDOW_HPP__
|
||||
Reference in New Issue
Block a user