2022-10-09 01:13:17 -04:00
|
|
|
#ifndef _CERROROUTPUTWINDOW
|
|
|
|
|
#define _CERROROUTPUTWINDOW
|
2022-10-01 02:19:09 -04:00
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
|
|
#include "MetroidPrime/CIOWin.hpp"
|
|
|
|
|
|
|
|
|
|
class CErrorOutputWindow : public CIOWin {
|
|
|
|
|
public:
|
2025-01-29 18:38:05 -07:00
|
|
|
enum EFlag {
|
|
|
|
|
kF_Zero,
|
|
|
|
|
kF_One,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
CErrorOutputWindow(EFlag);
|
2023-02-06 12:01:01 -05:00
|
|
|
~CErrorOutputWindow() override;
|
2022-11-24 02:41:55 +02:00
|
|
|
|
2023-02-06 12:01:01 -05:00
|
|
|
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
|
|
|
|
|
bool GetIsContinueDraw() const override;
|
|
|
|
|
void Draw() const override;
|
2022-11-24 02:41:55 +02:00
|
|
|
|
|
|
|
|
void UpdateWindow();
|
|
|
|
|
|
|
|
|
|
private:
|
2025-01-29 18:38:05 -07:00
|
|
|
enum EState {
|
|
|
|
|
kS_Zero,
|
|
|
|
|
kS_One,
|
|
|
|
|
kS_Two,
|
|
|
|
|
kS_Three,
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
EState x14_state;
|
2022-11-24 02:41:55 +02:00
|
|
|
bool x18_24_ : 1;
|
|
|
|
|
bool x18_25_ : 1;
|
|
|
|
|
bool x18_26_ : 1;
|
|
|
|
|
bool x18_27_ : 1;
|
|
|
|
|
bool x18_28_ : 1;
|
|
|
|
|
const wchar_t* x1c_msg;
|
2025-01-29 18:38:05 -07:00
|
|
|
|
|
|
|
|
void fn_802694C4(EState);
|
|
|
|
|
void fn_802695F8() const;
|
2022-10-01 02:19:09 -04:00
|
|
|
};
|
|
|
|
|
|
2022-10-09 01:13:17 -04:00
|
|
|
#endif // _CERROROUTPUTWINDOW
|