mirror of https://github.com/AxioDL/metaforce.git
53 lines
1.3 KiB
C++
53 lines
1.3 KiB
C++
#ifndef __URDE_CMESSAGESCREEN_HPP__
|
|
#define __URDE_CMESSAGESCREEN_HPP__
|
|
|
|
#include "RetroTypes.hpp"
|
|
#include "CToken.hpp"
|
|
#include "GuiSys/CStringTable.hpp"
|
|
#include "GuiSys/CGuiFrame.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
struct CFinalInput;
|
|
class CGuiWidget;
|
|
class CGuiTextPane;
|
|
class CGuiModel;
|
|
|
|
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;
|
|
bool x78_24_exit : 1;
|
|
public:
|
|
CMessageScreen(CAssetId msg, float time);
|
|
void ProcessControllerInput(const CFinalInput& input);
|
|
bool Update(float dt, float blurAmt);
|
|
void Draw() const;
|
|
};
|
|
|
|
}
|
|
}
|
|
|
|
#endif // __URDE_CMESSAGESCREEN_HPP__
|