prime/include/MetroidPrime/CMainFlow.hpp

39 lines
812 B
C++

#ifndef _CMAINFLOW
#define _CMAINFLOW
#include "types.h"
#include "MetroidPrime/CIOWin.hpp"
enum EClientFlowStates {
kCFS_Unspecified = -1,
kCFS_None = 0,
kCFS_WinBad = 1,
kCFS_WinGood = 2,
kCFS_WinBest = 3,
kCFS_LoseGame = 4,
kCFS_Default = 5,
kCFS_StateSetter = 6,
kCFS_PreFrontEnd = 7,
kCFS_FrontEnd = 8,
kCFS_Game = 14,
kCFS_GameExit = 15
};
class CMainFlow : public CIOWin {
public:
CMainFlow();
~CMainFlow() override;
EMessageReturn OnMessage(const CArchitectureMessage&, CArchitectureQueue&) override;
bool GetIsContinueDraw() const override;
void Draw() const override;
void AdvanceGameState(CArchitectureQueue& queue);
void SetGameState(EClientFlowStates state, CArchitectureQueue& queue);
private:
EClientFlowStates x14_gameState;
};
#endif // _CMAINFLOW