2015-08-22 01:58:41 +00:00
|
|
|
#include "CMFGame.hpp"
|
|
|
|
#include "CArchitectureQueue.hpp"
|
|
|
|
#include "GameGlobalObjects.hpp"
|
|
|
|
#include "CGameState.hpp"
|
|
|
|
|
|
|
|
namespace Retro
|
|
|
|
{
|
2015-08-27 00:23:46 +00:00
|
|
|
namespace MP1
|
|
|
|
{
|
2015-08-22 01:58:41 +00:00
|
|
|
|
2015-08-26 01:34:56 +00:00
|
|
|
CIOWin::EMessageReturn CMFGameLoader::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue)
|
2015-08-22 01:58:41 +00:00
|
|
|
{
|
|
|
|
switch (msg.GetType())
|
|
|
|
{
|
|
|
|
case MsgTimerTick:
|
|
|
|
{
|
|
|
|
const CArchMsgParmReal32& tick = MakeMsg::GetParmTimerTick(msg);
|
|
|
|
g_GameState->WorldTransitionManager();
|
|
|
|
}
|
|
|
|
default: break;
|
|
|
|
}
|
2015-08-26 01:34:56 +00:00
|
|
|
return MsgRetExit;
|
2015-08-22 01:58:41 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void CMFGameLoader::Draw() const
|
|
|
|
{
|
|
|
|
g_GameState->WorldTransitionManager().Draw();
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
2015-08-27 00:23:46 +00:00
|
|
|
}
|