2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Major scoped-enum refactor

This commit is contained in:
Jack Andersen
2015-11-20 15:16:07 -10:00
parent 4c09ded013
commit e423db32ee
83 changed files with 958 additions and 904 deletions

View File

@@ -8,19 +8,19 @@ CIOWin::EMessageReturn CMainFlowBase::OnMessage(const CArchitectureMessage& msg,
{
switch (msg.GetType())
{
case MsgTimerTick:
case EArchMsgType::TimerTick:
AdvanceGameState(queue);
break;
case MsgSetGameState:
case EArchMsgType::SetGameState:
{
const CArchMsgParmInt32& state = MakeMsg::GetParmNewGameflowState(msg);
x14_gameState = EClientFlowStates(state.x4_parm);
SetGameState(x14_gameState, queue);
return MsgRetExit;
return EMessageReturn::Exit;
}
default: break;
}
return MsgRetNormal;
return EMessageReturn::Normal;
}
}