- Timestamp:
- Apr 8, 2009, 12:36:08 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/gamestates/GSLevel.h
r2786 r2907 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(); 43 void setConfigValues(); 44 45 void activate(); 46 void deactivate(); 47 void update(const Clock& time); 48 49 static void showIngameGUI(bool show); 44 50 45 51 protected: 46 void enter(Ogre::Viewport* viewport);47 void leave();48 void ticked(const Clock& time);49 50 52 void loadLevel(); 51 53 void unloadLevel(); … … 56 58 void keybindInternal(const std::string& command, bool bTemporary); 57 59 58 KeyBinder* keyBinder_; //!< tool that loads and manages the input bindings 59 SimpleInputState* inputState_; 60 Radar* radar_; //!< represents the Radar (not the HUD part) 61 XMLFile* startFile_; //!< current hard coded default level 62 CameraManager* cameraManager_; 63 LevelManager* levelManager_; 64 PlayerManager* playerManager_; 65 QuestManager* questManager_; 66 NotificationManager* notificationManager_; 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 69 QuestManager* questManager_; //!< quest manager for this level 70 NotificationManager* notificationManager_; //!< notification manager for this level 67 71 68 72 //##### ConfigValues ##### … … 72 76 ConsoleCommand* ccKeybind_; 73 77 ConsoleCommand* ccTkeybind_; 74 75 private:76 void setConfigValues();77 78 78 }; 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.