2015-08-18 05:54:43 +00:00
|
|
|
#ifndef __RETRO_CMAINFLOW_HPP__
|
|
|
|
#define __RETRO_CMAINFLOW_HPP__
|
|
|
|
|
2015-08-20 02:52:07 +00:00
|
|
|
#include "CIOWin.hpp"
|
|
|
|
|
2015-08-18 05:54:43 +00:00
|
|
|
namespace Retro
|
|
|
|
{
|
2015-08-22 01:58:41 +00:00
|
|
|
class CArchitectureMessage;
|
|
|
|
class CArchitectureQueue;
|
2015-08-18 05:54:43 +00:00
|
|
|
|
2015-08-20 02:52:07 +00:00
|
|
|
enum EClientFlowStates
|
|
|
|
{
|
|
|
|
StateGameLoad = 13,
|
|
|
|
};
|
|
|
|
|
|
|
|
class CMainFlow : public CIOWin
|
2015-08-18 05:54:43 +00:00
|
|
|
{
|
2015-08-20 02:52:07 +00:00
|
|
|
public:
|
|
|
|
CMainFlow() : CIOWin("CMainFlow") {}
|
2015-08-22 01:58:41 +00:00
|
|
|
void AdvanceGameState(CArchitectureQueue& queue);
|
|
|
|
void SetGameState(EClientFlowStates state, CArchitectureQueue& queue);
|
|
|
|
bool OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
|
2015-08-20 02:52:07 +00:00
|
|
|
bool GetIsContinueDraw() const {return false;}
|
|
|
|
void Draw() const {}
|
2015-08-18 05:54:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // __RETRO_CMAINFLOW_HPP__
|