2017-01-17 01:23:19 +00:00
|
|
|
#include "CStateSetterFlow.hpp"
|
2017-11-05 06:29:22 +00:00
|
|
|
#include "CArchitectureMessage.hpp"
|
|
|
|
#include "GameGlobalObjects.hpp"
|
2017-12-29 08:08:12 +00:00
|
|
|
namespace urde::MP1
|
2017-01-17 01:23:19 +00:00
|
|
|
{
|
|
|
|
|
|
|
|
CStateSetterFlow::CStateSetterFlow()
|
|
|
|
: CIOWin("")
|
|
|
|
{
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
CIOWin::EMessageReturn CStateSetterFlow::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue)
|
|
|
|
{
|
2017-11-05 06:29:22 +00:00
|
|
|
if (msg.GetType() == EArchMsgType::TimerTick)
|
|
|
|
{
|
|
|
|
//g_Main->sub80004590();
|
|
|
|
return EMessageReturn::RemoveIOWinAndExit;
|
|
|
|
}
|
|
|
|
return EMessageReturn::Exit;
|
2017-01-17 01:23:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|