Changeset 2896 for code/trunk/src/orxonox/gamestates/GSLevel.h
- Timestamp:
- Apr 6, 2009, 1:59:00 AM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/gui merged: 2796,2798-2801,2805,2807-2808,2811,2814-2817,2834,2840-2850,2853-2854,2859,2862-2863,2869,2875,2887,2892
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gamestates/GSLevel.h
r2790 r2896 23 23 * Reto Grieder 24 24 * Co-authors: 25 * ...25 * Benjamin Knecht 26 26 * 27 27 */ … … 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include <OgrePrerequisites.h>34 33 #include "core/OrxonoxClass.h" 34 #include "core/GameState.h" 35 35 36 36 namespace orxonox 37 37 { 38 class _OrxonoxExport GSLevel : public OrxonoxClass38 class _OrxonoxExport GSLevel : public GameState, public OrxonoxClass 39 39 { 40 friend class ClassIdentifier<GSLevel>;41 40 public: 42 GSLevel( );41 GSLevel(const std::string& name); 43 42 ~GSLevel(); 44 45 // was private before (is public now because of console command in GSStandalone)46 43 void setConfigValues(); 47 44 45 void activate(); 46 void deactivate(); 47 void update(const Clock& time); 48 49 static void showIngameGUI(bool show); 50 48 51 protected: 49 void enter(Ogre::Viewport* viewport);50 void leave();51 void ticked(const Clock& time);52 53 52 void loadLevel(); 54 53 void unloadLevel(); … … 59 58 void keybindInternal(const std::string& command, bool bTemporary); 60 59 61 KeyBinder* keyBinder_; //!< tool that loads and manages the input bindings 62 SimpleInputState* inputState_; 63 Radar* radar_; //!< represents the Radar (not the HUD part) 64 XMLFile* startFile_; //!< current hard coded default level 65 CameraManager* cameraManager_; 66 LevelManager* levelManager_; 67 PlayerManager* playerManager_; 60 KeyBinder* keyBinder_; //!< tool that loads and manages the input bindings 61 SimpleInputState* gameInputState_; //!< input state for normal ingame playing 62 SimpleInputState* guiMouseOnlyInputState_; //!< input state if we only need the mouse to use the GUI 63 SimpleInputState* guiKeysOnlyInputState_; //!< input state if we only need the keys to use the GUI 64 Radar* radar_; //!< represents the Radar (not the HUD part) 65 XMLFile* startFile_; //!< current hard coded default level 66 CameraManager* cameraManager_; //!< camera manager for this level 67 LevelManager* levelManager_; //!< global level manager 68 PlayerManager* playerManager_; //!< player manager for this level 68 69 69 70 //##### ConfigValues ##### … … 73 74 ConsoleCommand* ccKeybind_; 74 75 ConsoleCommand* ccTkeybind_; 75 76 76 }; 77 77 }
Note: See TracChangeset
for help on using the changeset viewer.