metaforce/Runtime/IMain.hpp

48 lines
908 B
C++
Raw Normal View History

2016-09-17 06:40:45 +00:00
#ifndef __URDE_IMAIN_HPP__
#define __URDE_IMAIN_HPP__
#include <boo/boo.hpp>
#include <boo/graphicsdev/GL.hpp>
#include <boo/audiodev/IAudioVoiceEngine.hpp>
#include <hecl/Runtime.hpp>
#include <amuse/amuse.hpp>
#include "RetroTypes.hpp"
namespace urde
{
class CStopWatch;
enum class EGameplayResult
{
None,
Win,
Lose,
Playing
};
enum class EFlowState
{
Zero,
One,
Two,
Three,
Four,
Five,
Six,
};
2016-09-17 06:40:45 +00:00
class IMain
{
public:
virtual ~IMain() = default;
2016-09-17 06:40:45 +00:00
virtual void Init(const hecl::Runtime::FileStoreManager& storeMgr,
boo::IWindow* window,
boo::IAudioVoiceEngine* voiceEngine,
amuse::IBackendVoiceAllocator& backend)=0;
2016-09-17 06:40:45 +00:00
virtual void Draw()=0;
virtual bool Proc()=0;
virtual void Shutdown()=0;
virtual boo::IWindow* GetMainWindow() const=0;
2016-09-17 06:40:45 +00:00
};
}
#endif // __URDE_IMAIN_HPP__