2017-02-12 03:17:18 +00:00
|
|
|
#ifndef __URDE_CMESSAGESCREEN_HPP__
|
|
|
|
#define __URDE_CMESSAGESCREEN_HPP__
|
|
|
|
|
2017-02-18 02:19:50 +00:00
|
|
|
#include "RetroTypes.hpp"
|
2017-05-31 21:26:50 +00:00
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "GuiSys/CStringTable.hpp"
|
|
|
|
#include "GuiSys/CGuiFrame.hpp"
|
2017-02-18 02:19:50 +00:00
|
|
|
|
2017-02-12 03:17:18 +00:00
|
|
|
namespace urde
|
|
|
|
{
|
2017-04-15 05:32:25 +00:00
|
|
|
class CFinalInput;
|
2017-05-31 21:26:50 +00:00
|
|
|
class CGuiWidget;
|
|
|
|
class CGuiTextPane;
|
|
|
|
class CGuiModel;
|
2017-04-15 05:32:25 +00:00
|
|
|
|
2017-02-12 03:17:18 +00:00
|
|
|
namespace MP1
|
|
|
|
{
|
|
|
|
|
|
|
|
class CMessageScreen
|
|
|
|
{
|
2017-05-31 21:26:50 +00:00
|
|
|
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;
|
2017-02-12 03:17:18 +00:00
|
|
|
public:
|
2017-08-13 05:26:14 +00:00
|
|
|
CMessageScreen(CAssetId msg, float time);
|
2017-04-15 05:32:25 +00:00
|
|
|
void ProcessControllerInput(const CFinalInput& input);
|
2017-05-18 19:27:21 +00:00
|
|
|
bool Update(float dt, float blurAmt);
|
2017-05-21 16:01:04 +00:00
|
|
|
void Draw() const;
|
2017-02-12 03:17:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __URDE_CMESSAGESCREEN_HPP__
|