2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 07:51:20 +00:00
metaforce/Runtime/MP1/CMFGame.cpp
2015-08-26 14:23:46 -10:00

32 lines
594 B
C++

#include "CMFGame.hpp"
#include "CArchitectureQueue.hpp"
#include "GameGlobalObjects.hpp"
#include "CGameState.hpp"
namespace Retro
{
namespace MP1
{
CIOWin::EMessageReturn CMFGameLoader::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue)
{
switch (msg.GetType())
{
case MsgTimerTick:
{
const CArchMsgParmReal32& tick = MakeMsg::GetParmTimerTick(msg);
g_GameState->WorldTransitionManager();
}
default: break;
}
return MsgRetExit;
}
void CMFGameLoader::Draw() const
{
g_GameState->WorldTransitionManager().Draw();
}
}
}