Changeset 1629 for code/branches/input/src/orxonox/Orxonox.h
- Timestamp:
- Jun 27, 2008, 8:07:29 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/input/src/orxonox/Orxonox.h
r1535 r1629 62 62 63 63 void abortRequest(); 64 //inline audio::AudioManager* getAudioManagerPointer() { return auMan_; };65 64 66 65 static Orxonox* getSingleton(); 67 66 static void destroySingleton(); 68 67 69 static inline void slomo(float factor) { Orxonox:: getSingleton()->timefactor_ = factor; }70 static inline void setTimeFactor(float factor = 1.0) { Orxonox::getSingleton()->timefactor_ = factor; }68 static inline void slomo(float factor) { Orxonox::setTimeFactor(factor); } 69 static void setTimeFactor(float factor = 1.0); 71 70 static inline float getTimeFactor() { return Orxonox::getSingleton()->timefactor_; } 72 71 static inline void exit() { Orxonox::getSingleton()->abortRequest(); } … … 93 92 private: 94 93 GraphicsEngine* ogre_; //!< our dearest graphics engine <3 94 Level* startLevel_; //!< current hard coded default level 95 Level* hud_; //!< 'level' object fo the HUD 96 Radar* radar_; //!< represents the Radar (not the HUD part) 95 97 //audio::AudioManager* auMan_; //!< audio manager 96 98 Ogre::Timer* timer_; //!< Main loop timer 97 // TODO: make this a config-value by creating a config class for orxonox98 float frameSmoothingTime_;99 HUD* orxonoxHUD_;100 99 bool bAbort_; //!< aborts the render loop if true 101 100 float timefactor_; //!< A factor to change the gamespeed
Note: See TracChangeset
for help on using the changeset viewer.