mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
More class stubs
This commit is contained in:
31
Runtime/MP1/CMFGame.cpp
Normal file
31
Runtime/MP1/CMFGame.cpp
Normal file
@@ -0,0 +1,31 @@
|
||||
#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();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user