Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

Main.h

Go to the documentation of this file.
00001 
00007 #ifndef _MAIN_H_
00008 #define _MAIN_H_
00009 
00010 #define _WINSOCKAPI_
00011 #include "Common/OpenGL/OpenGLApp.h"
00012 #include "Game/Scenes.h"
00013 #include "Sound/SoundMedia.h"
00014 #include "Sound/Music.h"
00015 #include "Sound/Sound.h"
00016 #include "Util/OpenGL/OpenGLConsole.h"
00017 #include "Util/MilkShape.h"
00018 #include "Game/GGlobals.h"
00019 
00020 class MainApp : public OpenGLApp {
00021         public:
00022                 MainApp();
00023                 virtual ~MainApp();
00024 
00025                 bool initialize();
00026                 bool deInitialize();
00027                 bool load();
00028                 bool unload();
00029                 bool drawFrame();
00030                 bool update();
00031                 void drawLoading(float percent = 0.0f);
00032 
00033                 void handleChar(char ch);
00034                 void keyDown(unsigned int key);
00035 
00036         private:
00037                 SoundMedia      soundMedia;
00038                 unsigned int m_currentScene;
00039 
00040                 Scene           *m_currScene;
00041                 Scene           *m_sceneMenu;
00042                 Scene           *m_sceneDemo;
00043                 Scene           *m_scenePlay;
00044                 Scene           *m_sceneJoin;
00045                 Scene           *m_sceneScores;
00046 
00047                 //TextureID     m_texLoading;
00048 
00049                 //OpenGLConsole console;
00050 };
00051 
00052 #endif

Generated on Sun Jun 5 15:47:04 2005 for Defacto by  doxygen 1.4.3