2018-10-06 20:42:33 -07:00
|
|
|
#pragma once
|
2017-02-11 19:17:18 -08:00
|
|
|
|
2019-09-27 19:53:03 -07:00
|
|
|
#include "Runtime/CToken.hpp"
|
|
|
|
#include "Runtime/RetroTypes.hpp"
|
|
|
|
#include "Runtime/GuiSys/CGuiFrame.hpp"
|
|
|
|
#include "Runtime/GuiSys/CStringTable.hpp"
|
|
|
|
|
|
|
|
#include <zeus/CVector3f.hpp>
|
2017-02-17 18:19:50 -08:00
|
|
|
|
2021-04-10 01:42:06 -07:00
|
|
|
namespace metaforce {
|
2018-02-03 22:46:47 -08:00
|
|
|
struct CFinalInput;
|
2017-05-31 14:26:50 -07:00
|
|
|
class CGuiModel;
|
2019-09-27 19:53:03 -07:00
|
|
|
class CGuiTextPane;
|
|
|
|
class CGuiWidget;
|
2017-04-14 22:32:25 -07:00
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
namespace MP1 {
|
|
|
|
|
|
|
|
class CMessageScreen {
|
|
|
|
TLockedToken<CStringTable> x0_msg;
|
|
|
|
TLockedToken<CGuiFrame> xc_msgScreen;
|
|
|
|
CGuiFrame* x18_loadedMsgScreen = nullptr;
|
|
|
|
CGuiTextPane* x1c_textpane_message = nullptr;
|
|
|
|
CGuiWidget* x20_basewidget_top = nullptr;
|
|
|
|
CGuiWidget* x24_basewidget_center = nullptr;
|
|
|
|
CGuiWidget* x28_basewidget_bottom = nullptr;
|
|
|
|
CGuiModel* x2c_model_abutton = nullptr;
|
|
|
|
CGuiModel* x30_model_top = nullptr;
|
|
|
|
CGuiModel* x34_model_center = nullptr;
|
|
|
|
CGuiModel* x38_model_bottom = nullptr;
|
|
|
|
CGuiModel* x3c_model_bg = nullptr;
|
|
|
|
CGuiModel* x40_model_videoband = nullptr;
|
|
|
|
zeus::CVector3f x44_topPos;
|
|
|
|
zeus::CVector3f x50_bottomPos;
|
|
|
|
zeus::CVector3f x5c_videoBandPos;
|
|
|
|
float x68_videoBandOffset = 10.f;
|
|
|
|
u32 x6c_page = 0;
|
|
|
|
float x70_blurAmt = 0.f;
|
|
|
|
float x74_delayTime;
|
2020-04-21 00:22:41 -07:00
|
|
|
bool x78_24_exit : 1 = false;
|
2017-02-11 19:17:18 -08:00
|
|
|
|
|
|
|
public:
|
2020-03-30 20:52:22 -07:00
|
|
|
explicit CMessageScreen(CAssetId msg, float time);
|
2018-12-07 21:30:43 -08:00
|
|
|
void ProcessControllerInput(const CFinalInput& input);
|
|
|
|
bool Update(float dt, float blurAmt);
|
|
|
|
void Draw() const;
|
2017-02-11 19:17:18 -08:00
|
|
|
};
|
|
|
|
|
2018-12-07 21:30:43 -08:00
|
|
|
} // namespace MP1
|
2021-04-10 01:42:06 -07:00
|
|
|
} // namespace metaforce
|