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:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user