Changeset 3157 for code/branches
- Timestamp:
- Jun 13, 2009, 5:03:51 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/gamestates/GSDedicated.cc
r3110 r3157 33 33 #include "core/Game.h" 34 34 #include "core/GameMode.h" 35 #include "core/ Iterator.h"35 #include "core/ObjectList.h" 36 36 #include "network/Server.h" 37 37 #include "objects/Tickable.h" -
code/branches/pch/src/orxonox/objects/RadarViewable.cc
r3130 r3157 30 30 31 31 #include <OgreSceneManager.h> 32 #include <OgreSceneNode.h> 33 #include <OgreEntity.h> 34 #include <OgreManualObject.h> 35 32 36 #include "util/Debug.h" 33 #include "util/ Exception.h"37 #include "util/String.h" 34 38 #include "core/CoreIncludes.h" 39 #include "orxonox/tools/DynamicLines.h" 35 40 #include "objects/worldentities/WorldEntity.h" 36 41 #include "objects/Radar.h" 37 #include "util/String.h"38 #include <OgreManualObject.h>39 42 #include "overlays/map/Map.h" 40 #include "orxonox/tools/DynamicLines.h"41 43 42 44 namespace orxonox -
code/branches/pch/src/orxonox/objects/RadarViewable.h
r3130 r3157 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 34 35 #include <cassert> 36 35 37 #include "util/Math.h" 36 38 #include "util/Debug.h" 37 39 #include "core/OrxonoxClass.h" 38 39 #include <string>40 #include <OgreSceneNode.h>41 #include <OgreEntity.h>42 #include <OgreManualObject.h>43 #include "orxonox/tools/DynamicLines.h"44 40 45 41 namespace orxonox … … 110 106 void updateMapPosition(); 111 107 bool isHumanShip_; 112 inline std::stringgetUniqueId()108 inline const std::string& getUniqueId() 113 109 { 114 110 return this->uniqueId_; -
code/branches/pch/src/orxonox/objects/pickup/PickupInventory.cc
r3085 r3157 86 86 { 87 87 if(PickupInventory::getSingleton()->isVisible()) { 88 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"PickupInventory\")");89 GUIManager::getInstance Ptr()->executeCode("hideCursor()");88 GUIManager::getInstance().executeCode("hideGUI(\"PickupInventory\")"); 89 GUIManager::getInstance().executeCode("hideCursor()"); 90 90 InputManager::getInstance().requestLeaveState("guiMouseOnly"); 91 91 } 92 92 else 93 93 { 94 GUIManager::getInstance Ptr()->showGUI("PickupInventory");95 GUIManager::getInstance Ptr()->executeCode("showCursor()");94 GUIManager::getInstance().showGUI("PickupInventory"); 95 GUIManager::getInstance().executeCode("showCursor()"); 96 96 InputManager::getInstance().requestEnterState("guiMouseOnly"); 97 97 } -
code/branches/pch/src/orxonox/objects/pickup/PickupSpawner.cc
r3079 r3157 95 95 // & load the GUI itself too, along with some empty windows 96 96 // = even less delays 97 GUIManager::getInstance Ptr()->showGUI("PickupInventory");98 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"PickupInventory\")");97 GUIManager::getInstance().showGUI("PickupInventory"); 98 GUIManager::getInstance().executeCode("hideGUI(\"PickupInventory\")"); 99 99 PickupInventory::getSingleton(); 100 100 } -
code/branches/pch/src/orxonox/sound/CMakeLists.txt
r3078 r3157 1 1 ADD_SOURCE_FILES(ORXONOX_SRC_FILES 2 SoundManager.h3 SoundBase.h4 SoundMainMenu.h5 6 2 SoundManager.cc 7 3 SoundBase.cc -
code/branches/pch/src/orxonox/sound/SoundBase.cc
r3139 r3157 29 29 #include "SoundBase.h" 30 30 31 #include <string> 31 32 #include <vector> 32 33 #include <AL/alut.h> … … 181 182 } 182 183 183 ALuint SoundBase::loadOggFile( std::stringfilename)184 ALuint SoundBase::loadOggFile(const std::string& filename) 184 185 { 185 186 char inbuffer[4096]; -
code/branches/pch/src/orxonox/sound/SoundBase.h
r3156 r3157 57 57 58 58 private: 59 ALuint loadOggFile( std::stringfilename);59 ALuint loadOggFile(const std::string& filename); 60 60 ALuint source_; 61 61 ALuint buffer_;
Note: See TracChangeset
for help on using the changeset viewer.