#include <MainApplication.h>
| Public Member Functions | |
| mainApplication () | |
| Construction. | |
| virtual | ~mainApplication () | 
| Destruction. | |
| int | go () | 
| Main function: Lanch the Game and the Ogre Engine. | |
| SceneManager * | getSceneMgr () | 
| Renvoie le SceneManager pour toutes les classes qui ont besoin de créer des entities. | |
| void | playMusic (String MusicFile) | 
| Joue un fichier MP3 en fond musical. | |
| Static Public Member Functions | |
| static mainApplication * | getSingletonPtr (void) | 
| Protected Member Functions | |
| bool | setup () | 
| Sets up the application. | |
| bool | loadConfig () | 
| Load the config File. | |
| void | createScene () | 
| Création de la scene principale (racine). | |
| void | createFrameListener () | 
| Cree le Frame Listener principal. | |
| void | chooseSceneManager () | 
| Creation du SceneManeger. | |
| void | createCamera () | 
| void | createViewports () | 
| Create one viewport. | |
| void | createCollisionEngine () | 
| Initialize the Collision Engine (OgreOpcode). | |
| void | setupResources () | 
| Method which will define the source of resources (other than current folder). | |
| Protected Attributes | |
| Root * | mRoot | 
| Camera * | mCamera | 
| RenderWindow * | mWindow | 
| SceneManager * | mSceneMgr | 
| mainFrameListener * | mFrameListener | 
| String | mLanguageCode | 
| int | mShadowsType | 
| 
 | 
| Construction. 
 | 
| 
 | 
| Destruction. 
 | 
| 
 | 
| Creation du SceneManeger. 
 | 
| 
 | 
| 
 | 
| 
 | 
| Initialize the Collision Engine (OgreOpcode). 
 | 
| 
 | 
| Cree le Frame Listener principal. 
 | 
| 
 | 
| Création de la scene principale (racine). On cree un robot de TEST | 
| 
 | 
| Create one viewport. 
 | 
| 
 | 
| Renvoie le SceneManager pour toutes les classes qui ont besoin de créer des entities. 
 | 
| 
 | 
| 
 | 
| 
 | 
| Main function: Lanch the Game and the Ogre Engine. 
 | 
| 
 | 
| Load the config File. 
 | 
| 
 | 
| Joue un fichier MP3 en fond musical. 
 | 
| 
 | 
| Sets up the application. Returns false if the config file is not found | 
| 
 | 
| Method which will define the source of resources (other than current folder). 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
| 
 | 
 1.4.6-NO
 1.4.6-NO