2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2017-02-12 03:17:18 +00:00
|
|
|
|
2019-09-28 02:53:03 +00: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-18 02:19:50 +00:00
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
namespace urde {
|
2018-02-04 06:46:47 +00:00
|
|
|
struct CFinalInput;
|
2017-05-31 21:26:50 +00:00
|
|
|
class CGuiModel;
|
2019-09-28 02:53:03 +00:00
|
|
|
class CGuiTextPane;
|
|
|
|
class CGuiWidget;
|
2017-04-15 05:32:25 +00:00
|
|
|
|
2018-12-08 05:30:43 +00: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 07:22:41 +00:00
|
|
|
bool x78_24_exit : 1 = false;
|
2017-02-12 03:17:18 +00:00
|
|
|
|
|
|
|
public:
|
2020-03-31 03:52:22 +00:00
|
|
|
explicit CMessageScreen(CAssetId msg, float time);
|
2018-12-08 05:30:43 +00:00
|
|
|
void ProcessControllerInput(const CFinalInput& input);
|
|
|
|
bool Update(float dt, float blurAmt);
|
|
|
|
void Draw() const;
|
2017-02-12 03:17:18 +00:00
|
|
|
};
|
|
|
|
|
2018-12-08 05:30:43 +00:00
|
|
|
} // namespace MP1
|
|
|
|
} // namespace urde
|