metaforce/Runtime/MP1/CSamusHud.hpp

45 lines
977 B
C++
Raw Normal View History

2017-02-12 03:17:18 +00:00
#ifndef __URDE_CSAMUSHUD_HPP__
#define __URDE_CSAMUSHUD_HPP__
2017-02-18 02:19:50 +00:00
#include "CInGameGuiManager.hpp"
2017-02-12 03:17:18 +00:00
namespace urde
{
class CGuiFrame;
class CStateManager;
2017-03-24 05:30:16 +00:00
struct SHudMemoInfo
{
float x0_;
bool x4_;
bool x5_;
bool x6_;
};
2017-02-12 03:17:18 +00:00
namespace MP1
{
class CSamusHud
{
friend class CInGameGuiManager;
CGuiFrame* x274_loadedBaseHud = nullptr;
2017-03-24 05:30:16 +00:00
static CSamusHud* g_SamusHud;
2017-02-12 03:17:18 +00:00
public:
CSamusHud(CStateManager& stateMgr);
bool CheckLoadComplete(CStateManager& stateMgr);
2017-02-18 02:19:50 +00:00
void OnNewInGameGuiState(EInGameGuiState state, CStateManager& stateMgr);
2017-02-12 03:17:18 +00:00
void Touch();
2017-03-24 05:30:16 +00:00
static void DisplayHudMemo(const std::u16string& text, const SHudMemoInfo& info);
static void DeferHintMemo(ResId strg, u32 timePeriods, const SHudMemoInfo& info)
{
if (g_SamusHud)
g_SamusHud->_DeferHintMemo(strg, timePeriods, info);
}
void _DeferHintMemo(ResId strg, u32 timePeriods, const SHudMemoInfo& info);
2017-02-12 03:17:18 +00:00
};
}
}
#endif // __URDE_CSAMUSHUD_HPP__