Changeset 4554 in orxonox.OLD for orxonox/trunk/src/subprojects/framework.h
- Timestamp:
- Jun 8, 2005, 1:36:16 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/subprojects/framework.h
r4546 r4554 1 1 #ifndef _FRAMEWORK_H 2 2 #define _FRAMEWORK_H 3 3 4 4 #include "vector.h" 5 5 #include "glincl.h" … … 9 9 #ifdef GUI_MODULE 10 10 #include "gui_gtk.h" 11 #endif 11 #endif 12 12 13 13 #define DATA_DIRECTORY "~/orxonox/repos/trunk/data/" … … 20 20 Framework(); 21 21 static Framework* singletonRef; 22 22 23 23 Camera* camera; 24 24 25 25 bool isFinished; 26 26 … … 30 30 Uint32 lastFrame; 31 31 Uint32 currFrame; 32 32 33 33 Uint8* keys; // This variable will be used in the keyboard routine 34 34 bool mouseDown[MOUSE_BUTTON_COUNT]; 35 35 36 36 public: 37 ~Framework(); 38 37 ~Framework(); 38 39 39 /** \returns a Pointer to the only object of this Class */ 40 40 inline static Framework* getInstance(void) { if (!singletonRef) singletonRef = new Framework(); return singletonRef; }; … … 48 48 void moduleTick(float dt); 49 49 void moduleDraw(void) const; 50 50 51 51 void moduleHelp(void) const; 52 52
Note: See TracChangeset
for help on using the changeset viewer.