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
|
|
|
|
{
|
2016-09-15 07:26:35 +00:00
|
|
|
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:
|
2016-09-15 07:26:35 +00:00
|
|
|
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
|
|
|
|
{
|
2016-10-09 07:45:04 +00:00
|
|
|
bool x2c_24_initialized : 1;
|
2016-08-15 20:58:07 +00:00
|
|
|
bool x2c_25_ : 1;
|
|
|
|
};
|
|
|
|
u8 _dummy = 0;
|
|
|
|
};
|
|
|
|
|
2016-10-09 07:45:04 +00:00
|
|
|
void MakeLoadDependencyList();
|
|
|
|
|
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;
|
2016-09-25 16:45:22 +00:00
|
|
|
void Touch();
|
2015-08-27 00:23:46 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-13 06:07:23 +00:00
|
|
|
#endif // __URDE_CMFGAME_HPP__
|