metaforce/Runtime/MP1/CMFGame.hpp

65 lines
1.3 KiB
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CMFGAME_HPP__
#define __URDE_CMFGAME_HPP__
2015-08-27 00:23:46 +00:00
#include "CMFGameBase.hpp"
2016-03-04 23:04:53 +00:00
namespace urde
2015-08-27 00:23:46 +00:00
{
2016-08-15 20:58:07 +00:00
class CStateManager;
class CInGameGuiManager;
class CToken;
2015-08-27 00:23:46 +00:00
namespace MP1
{
class CMFGame : public CMFGameBase
{
std::shared_ptr<CStateManager> x14_stateManager;
std::shared_ptr<CInGameGuiManager> x18_guiManager;
u32 x1c_ = 0;
u32 x24_ = 0;
TUniqueId x28_ = kInvalidUniqueId;
union
{
struct
{
bool x2a_24_ : 1;
bool x2a_25_ : 1;
};
u8 _dummy = 0;
};
2015-08-27 00:23:46 +00:00
public:
CMFGame(const std::weak_ptr<CStateManager>& stateMgr, const std::weak_ptr<CInGameGuiManager>& guiMgr,
const CArchitectureQueue&);
2015-08-27 00:23:46 +00:00
CIOWin::EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
void Draw() const;
};
class CMFGameLoader : public CMFGameLoaderBase
{
2016-08-15 20:58:07 +00:00
std::shared_ptr<CStateManager> x14_stateMgr;
std::shared_ptr<CInGameGuiManager> x18_guiMgr;
std::vector<CToken> x1c_;
union
{
struct
{
bool x2c_24_ : 1;
bool x2c_25_ : 1;
};
u8 _dummy = 0;
};
2015-08-27 00:23:46 +00:00
public:
2016-08-15 20:58:07 +00:00
CMFGameLoader();
2015-08-27 00:23:46 +00:00
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
void Draw() const;
void Touch();
2015-08-27 00:23:46 +00:00
};
}
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CMFGAME_HPP__