///////////////////////////////////////////////////////////////////////////////////////////////////////// // SimpleGamePlugin // MyGame.h // // Code : Anael Seghezzi ///////////////////////////////////////////////////////////////////////////////////////////////////////// #ifndef _MY_GAME_H #define _MY_GAME_H #include class MyGame : public MGame { public: // constructors / destructors MyGame(void); ~MyGame(void); private: unsigned int m_fx; unsigned int m_vertShad; unsigned int m_pixShad; unsigned int m_renderBufferId; unsigned int m_colorTextureId; unsigned int m_depthTextureId; void set2dMode(unsigned int width, unsigned int height); void drawTexturedQuad(MVector2 scale); public: // events (virtuals from MGame class) //void update(void); void draw(void); //void onBegin(void); //void onEnd(void){} //void onBeginLevel(void){} //void onEndLevel(void){} //void onBeginScene(void); //void onEndScene(void); }; #endif