D:/Papagan/490.2006/490.2006/korsan/Papagan/490.2006/korsan/Papagan/MyApplication.h

Go to the documentation of this file.
00001 #ifndef MYAPPLICATION_H
00002 #define MYAPPLICATION_H
00003 
00004 #include "Ogre.h"
00005 #include "OgreConfigFile.h"
00006 #include "MyFrameListener.h"
00007 
00008 using namespace Ogre;
00010 
00011 class MyApplication
00012 {
00013 
00014 public:
00015 
00016         MyApplication(void);
00017 
00018         virtual ~MyApplication(void);
00019 
00021         virtual void go(void);
00022 
00024         virtual void goWithArgument(char *arg);
00025 
00026 protected:
00027         
00028         Root*                           mRoot;
00029     Camera*                             mCamera;
00030     SceneManager*               mSceneMgr;
00031     MyFrameListener*    mFrameListener;
00032     RenderWindow*               mWindow;
00033 
00034         virtual bool setup(void);
00035 
00037         virtual bool configure(int);
00038 
00039         virtual void chooseSceneManager(void);
00040 
00042         virtual void createCamera(void);
00043 
00045         virtual void createFrameListener(void);
00046 
00047         virtual void createScene(void) = 0;
00048 
00049         virtual void destroyScene(void);
00050 
00051         virtual void createViewports(void);
00052 
00053         virtual void setupResources(void);
00054 
00055         virtual void createResourceListener(void);
00056 
00057         virtual void loadResources(void);
00058 
00059         virtual void createSceneWithArgument(void) = 0;
00060 
00061         virtual void createFrameListenerWithArgument(char *) = 0;
00062 
00063 };
00064 
00065 #endif

Generated on Mon May 29 01:10:33 2006 for Papagan by  doxygen 1.4.6-NO