2022-10-19 23:08:22 +00:00
|
|
|
#ifndef _CSCRIPTHUDMEMO
|
|
|
|
#define _CSCRIPTHUDMEMO
|
|
|
|
|
|
|
|
#include "MetroidPrime/CEntity.hpp"
|
|
|
|
|
|
|
|
#include "MetroidPrime/HUD/CHUDMemoParms.hpp"
|
|
|
|
|
|
|
|
#include "rstl/optional_object.hpp"
|
|
|
|
|
|
|
|
class CStringTable;
|
|
|
|
class CScriptHUDMemo : public CEntity {
|
|
|
|
public:
|
|
|
|
enum EDisplayType {
|
|
|
|
kDT_StatusMessage,
|
|
|
|
kDT_MessageBox,
|
|
|
|
};
|
|
|
|
|
|
|
|
private:
|
|
|
|
CHUDMemoParms x34_parms;
|
|
|
|
EDisplayType x3c_dispType;
|
|
|
|
CAssetId x40_stringTableId;
|
|
|
|
rstl::optional_object< TLockedToken< CStringTable > > x44_stringTable;
|
|
|
|
|
|
|
|
public:
|
|
|
|
CScriptHUDMemo(TUniqueId, const rstl::string&, const CEntityInfo&, const CHUDMemoParms&,
|
|
|
|
CScriptHUDMemo::EDisplayType, CAssetId, bool);
|
|
|
|
~CScriptHUDMemo();
|
|
|
|
|
2023-02-06 17:01:01 +00:00
|
|
|
void AcceptScriptMsg(EScriptObjectMessage, TUniqueId, CStateManager&) override;
|
|
|
|
void Accept(IVisitor& visitor) override;
|
2022-10-19 23:08:22 +00:00
|
|
|
};
|
|
|
|
CHECK_SIZEOF(CScriptHUDMemo, 0x54)
|
|
|
|
|
|
|
|
#endif // _CSCRIPTHUDMEMO
|