Match CConsoleOutputWindow, regswaps in constructor

Former-commit-id: 27bd20ff1d
This commit is contained in:
2022-10-08 23:55:24 -07:00
parent 2f62a31d18
commit ac0e3ef534
7 changed files with 117 additions and 20 deletions

View File

@@ -1,17 +1,29 @@
#ifndef _CCONSOLEOUTPUTWINDOW
#define _CCONSOLEOUTPUTWINDOW
#include "types.h"
#include "MetroidPrime/CIOWin.hpp"
#include "Kyoto/Text/CFont.hpp"
#include <rstl/vector.hpp>
class CConsoleOutputWindow : public CIOWin {
static CConsoleOutputWindow* mInstance;
public:
CConsoleOutputWindow(int, float, float);
~CConsoleOutputWindow() override;
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
void Draw() override;
void Update(float);
void Draw() const;
private:
CFont mFont;
float mUnk;
rstl::vector<rstl::string> mText;
rstl::vector<float> mUnkFloats;
int x40_;
int x44_;
int x48_;
};
#endif // _CCONSOLEOUTPUTWINDOW