- Timestamp:
- Apr 8, 2009, 12:58:47 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
r2907 r2908 23 23 * Reto Grieder 24 24 * Co-authors: 25 * Benjamin Knecht25 * ... 26 26 * 27 27 */ … … 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include <OgrePrerequisites.h> 33 34 #include "core/OrxonoxClass.h" 34 #include "core/GameState.h"35 35 36 36 namespace orxonox 37 37 { 38 class _OrxonoxExport GSLevel : public GameState, publicOrxonoxClass38 class _OrxonoxExport GSLevel : public OrxonoxClass 39 39 { 40 friend class ClassIdentifier<GSLevel>; 40 41 public: 41 GSLevel( const std::string& name);42 GSLevel(); 42 43 ~GSLevel(); 43 void setConfigValues();44 45 void activate();46 void deactivate();47 void update(const Clock& time);48 49 static void showIngameGUI(bool show);50 44 51 45 protected: 46 void enter(Ogre::Viewport* viewport); 47 void leave(); 48 void ticked(const Clock& time); 49 52 50 void loadLevel(); 53 51 void unloadLevel(); … … 58 56 void keybindInternal(const std::string& command, bool bTemporary); 59 57 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 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_; 71 67 72 68 //##### ConfigValues ##### … … 76 72 ConsoleCommand* ccKeybind_; 77 73 ConsoleCommand* ccTkeybind_; 74 75 private: 76 void setConfigValues(); 77 78 78 }; 79 79 }
Note: See TracChangeset
for help on using the changeset viewer.