2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:47:42 +00:00

More class stubs

This commit is contained in:
Jack Andersen
2015-08-26 14:23:46 -10:00
parent acb3c549f5
commit d6e0a1c7c6
33 changed files with 716 additions and 126 deletions

30
Runtime/CMainFlowBase.hpp Normal file
View File

@@ -0,0 +1,30 @@
#ifndef __RETRO_CMAINFLOWBASE_HPP__
#define __RETRO_CMAINFLOWBASE_HPP__
#include "CIOWin.hpp"
namespace Retro
{
enum EClientFlowStates
{
ClientStateUnspecified = -1,
ClientStateFrontEnd = 7,
ClientStateGameLoad = 13,
ClientStateMoviePlay = 14
};
class CMainFlowBase : public CIOWin
{
protected:
EClientFlowStates x14_gameState;
public:
CMainFlowBase(const char* name) : CIOWin(name) {}
EMessageReturn OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue);
void AdvanceGameState(CArchitectureQueue& queue);
virtual void SetGameState(EClientFlowStates state, CArchitectureQueue& queue)=0;
};
}
#endif // __RETRO_CMAINFLOWBASE_HPP__