Changeset 3196 for code/trunk/src/orxonox/gamestates
- Timestamp:
- Jun 20, 2009, 9:20:47 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pch (added) merged: 3114-3118,3124-3125,3127-3131,3133,3138-3194
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/gamestates/GSClient.cc
r3110 r3196 29 29 #include "GSClient.h" 30 30 31 #include " core/input/InputManager.h"31 #include "util/Exception.h" 32 32 #include "core/Clock.h" 33 33 #include "core/CommandLine.h" -
code/trunk/src/orxonox/gamestates/GSClient.h
r2896 r3196 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "core/GameState.h" 34 35 #include "network/NetworkPrereqs.h" -
code/trunk/src/orxonox/gamestates/GSDedicated.cc
r3110 r3196 29 29 #include "GSDedicated.h" 30 30 31 #include "util/Debug.h" 32 #include "util/Sleep.h" 31 33 #include "core/Clock.h" 32 34 #include "core/CommandLine.h" 33 35 #include "core/Game.h" 34 36 #include "core/GameMode.h" 35 #include "core/Iterator.h"36 37 #include "network/Server.h" 37 #include "objects/Tickable.h"38 #include "util/Sleep.h"39 38 40 39 namespace orxonox -
code/trunk/src/orxonox/gamestates/GSDedicated.h
r2896 r3196 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "core/GameState.h" 34 35 #include "network/NetworkPrereqs.h" -
code/trunk/src/orxonox/gamestates/GSGraphics.cc
r3110 r3196 28 28 29 29 /** 30 @file 31 @brief Implementation of Graphics GameState class. 30 @file 31 @brief 32 Implementation of Graphics GameState class. 32 33 */ 33 34 … … 37 38 #include <OgreRenderWindow.h> 38 39 39 #include "util/Debug.h"40 40 #include "core/ConfigValueIncludes.h" 41 41 #include "core/Clock.h" … … 52 52 #include "overlays/console/InGameConsole.h" 53 53 #include "gui/GUIManager.h" 54 #include "sound/SoundManager.h" 54 55 #include "GraphicsManager.h" 55 56 … … 64 65 , guiManager_(0) 65 66 , graphicsManager_(0) 67 , soundManager_(0) 66 68 , masterKeyBinder_(0) 67 69 , masterInputState_(0) … … 95 97 \li creates input manager 96 98 \li loads master key bindings 99 \li loads the SoundManager 97 100 \li loads ingame console 98 101 \li loads GUI interface (GUIManager) … … 128 131 masterKeyBinder_->loadBindings("masterKeybindings.ini"); 129 132 masterInputState_->setKeyHandler(masterKeyBinder_); 133 134 // Load the SoundManager 135 soundManager_ = new SoundManager(); 130 136 131 137 // Load the InGameConsole … … 173 179 delete this->debugOverlay_; 174 180 181 delete this->soundManager_; 182 175 183 delete this->inputManager_; 176 184 this->inputManager_ = 0; -
code/trunk/src/orxonox/gamestates/GSGraphics.h
r3084 r3196 27 27 */ 28 28 29 /** 30 @file 31 @brief Declaration of the Graphics GameState class. 32 */ 29 /** 30 @file 31 @brief 32 Declaration of the Graphics GameState class. 33 */ 33 34 34 35 #ifndef _GSGraphics_H__ … … 36 37 37 38 #include "OrxonoxPrereqs.h" 39 38 40 #include "core/GameState.h" 39 #include " tools/WindowEventListener.h"41 #include "interfaces/WindowEventListener.h" 40 42 41 43 namespace orxonox 42 44 { 43 45 /** 44 @class GSGraphics45 46 @brief 46 Game state used when displaying graphics of any kind 47 Game state used when displaying graphics of any kind. Another blubb resides here. 47 48 48 49 This game state is only left out if we start a dedicated server where no graphics are present. … … 71 72 GUIManager* guiManager_; //!< Interface to GUI 72 73 GraphicsManager* graphicsManager_; //!< Interface to Ogre 74 SoundManager* soundManager_; //!< Keeps track of SoundBase objects 73 75 74 76 KeyBinder* masterKeyBinder_; //!< Key binder for master key bindings -
code/trunk/src/orxonox/gamestates/GSIOConsole.cc
r3110 r3196 30 30 31 31 #include <iostream> 32 #include <OgreFrameListener.h>33 #include <OgreRoot.h>34 #include <OgreTimer.h>35 32 36 33 #include "core/ConsoleCommand.h" -
code/trunk/src/orxonox/gamestates/GSLevel.cc
r3110 r3196 33 33 #include "core/input/SimpleInputState.h" 34 34 #include "core/input/KeyBinder.h" 35 #include "core/Loader.h" 36 #include "core/XMLFile.h" 37 #include "core/CommandExecutor.h" 35 #include "core/Clock.h" 36 #include "core/CommandLine.h" 38 37 #include "core/ConsoleCommand.h" 39 #include "core/CommandLine.h"40 38 #include "core/ConfigValueIncludes.h" 41 #include "core/Core.h"42 39 #include "core/CoreIncludes.h" 43 40 #include "core/Game.h" 44 41 #include "core/GameMode.h" 45 #include "objects/Tickable.h" 42 #include "core/Core.h" 43 #include "core/Loader.h" 44 #include "core/XMLFile.h" 45 46 #include "interfaces/Tickable.h" 46 47 #include "objects/Radar.h" 48 #include "objects/quest/QuestManager.h" 49 #include "overlays/notifications/NotificationManager.h" 50 #include "gui/GUIManager.h" 47 51 #include "CameraManager.h" 48 52 #include "GraphicsManager.h" 49 53 #include "LevelManager.h" 50 54 #include "PlayerManager.h" 51 #include "gui/GUIManager.h"52 #include "objects/quest/QuestManager.h"53 #include "overlays/notifications/NotificationManager.h"54 55 55 56 namespace orxonox … … 148 149 if (show) 149 150 { 150 GUIManager::getInstance Ptr()->showGUI("inGameTest");151 GUIManager::getInstance Ptr()->executeCode("showCursor()");151 GUIManager::getInstance().showGUI("inGameTest"); 152 GUIManager::getInstance().executeCode("showCursor()"); 152 153 InputManager::getInstance().requestEnterState("guiMouseOnly"); 153 154 } 154 155 else 155 156 { 156 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"inGameTest\")");157 GUIManager::getInstance Ptr()->executeCode("hideCursor()");157 GUIManager::getInstance().executeCode("hideGUI(\"inGameTest\")"); 158 GUIManager::getInstance().executeCode("hideCursor()"); 158 159 InputManager::getInstance().requestLeaveState("guiMouseOnly"); 159 160 } -
code/trunk/src/orxonox/gamestates/GSLevel.h
r3008 r3196 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 33 35 #include "core/OrxonoxClass.h" 34 36 #include "core/GameState.h" … … 48 50 49 51 static void showIngameGUI(bool show); 50 static void setLevel(std::string levelName);51 52 52 53 static XMLFile* startFile_s; … … 69 70 LevelManager* levelManager_; //!< global level manager 70 71 PlayerManager* playerManager_; //!< player manager for this level 71 QuestManager* 72 QuestManager* questManager_; 72 73 NotificationManager* notificationManager_; 73 74 -
code/trunk/src/orxonox/gamestates/GSMainMenu.cc
r3110 r3196 29 29 #include "GSMainMenu.h" 30 30 31 //#include <OgreViewport.h>32 31 #include <OgreSceneManager.h> 32 33 #include "core/input/InputManager.h" 34 #include "core/input/SimpleInputState.h" 35 #include "core/Game.h" 33 36 #include "core/Clock.h" 34 37 #include "core/ConsoleCommand.h" 35 #include "core/Game.h" 36 #include "core/input/InputManager.h" 37 #include "core/input/SimpleInputState.h" 38 #include "objects/Scene.h" 38 39 #include "gui/GUIManager.h" 39 #include " objects/Scene.h"40 #include "sound/SoundMainMenu.h" 40 41 #include "GraphicsManager.h" 41 #include "sound/SoundMainMenu.h"42 42 43 43 namespace orxonox -
code/trunk/src/orxonox/gamestates/GSMainMenu.h
r3094 r3196 31 31 32 32 #include "OrxonoxPrereqs.h" 33 #include <OgrePrerequisites.h> 33 34 #include "util/OgreForwardRefs.h" 34 35 #include "core/GameState.h" 35 36 -
code/trunk/src/orxonox/gamestates/GSRoot.cc
r3110 r3196 29 29 #include "GSRoot.h" 30 30 31 #include "util/Exception.h"32 #include "util/Debug.h"33 31 #include "core/Clock.h" 32 #include "core/CommandLine.h" 33 #include "core/ConsoleCommand.h" 34 34 #include "core/Game.h" 35 35 #include "core/GameMode.h" 36 #include "core/CommandLine.h"37 #include "core/ConsoleCommand.h"38 #include "tools/TimeFactorListener.h"39 36 #include "tools/Timer.h" 40 #include "objects/Tickable.h" 37 #include "interfaces/TimeFactorListener.h" 38 #include "interfaces/Tickable.h" 41 39 42 40 namespace orxonox -
code/trunk/src/orxonox/gamestates/GSRoot.h
r3084 r3196 32 32 #include "OrxonoxPrereqs.h" 33 33 #include "core/GameState.h" 34 #include "core/OrxonoxClass.h"35 34 36 35 namespace orxonox -
code/trunk/src/orxonox/gamestates/GSServer.cc
r3110 r3196 29 29 #include "GSServer.h" 30 30 31 #include "util/Debug.h" 31 32 #include "core/CommandLine.h" 32 33 #include "core/Game.h" -
code/trunk/src/orxonox/gamestates/GSServer.h
r2896 r3196 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "core/GameState.h" 34 35 #include "network/NetworkPrereqs.h" -
code/trunk/src/orxonox/gamestates/GSStandalone.cc
r3110 r3196 29 29 #include "GSStandalone.h" 30 30 31 #include <OgreViewport.h>32 #include <OgreCamera.h>33 31 #include "core/Game.h" 34 32 #include "core/GameMode.h" 35 #include "core/ConsoleCommand.h"36 #include "gui/GUIManager.h"37 #include "GraphicsManager.h"38 33 39 34 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.