Changeset 3157 for code/branches/pch/src/orxonox/objects
- Timestamp:
- Jun 13, 2009, 5:03:51 PM (16 years ago)
- Location:
- code/branches/pch/src/orxonox/objects
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
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 }
Note: See TracChangeset
for help on using the changeset viewer.