Changeset 3154 for code/branches/pch/src/orxonox
- Timestamp:
- Jun 13, 2009, 4:30:37 PM (15 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/CameraManager.cc
r3131 r3154 34 34 #include "util/String.h" 35 35 #include "core/GameMode.h" 36 #include "core/ Iterator.h"36 #include "core/ObjectList.h" 37 37 #include "tools/Shader.h" 38 38 #include "objects/worldentities/Camera.h" -
code/branches/pch/src/orxonox/gamestates/GSLevel.cc
r3110 r3154 148 148 if (show) 149 149 { 150 GUIManager::getInstance Ptr()->showGUI("inGameTest");151 GUIManager::getInstance Ptr()->executeCode("showCursor()");150 GUIManager::getInstance().showGUI("inGameTest"); 151 GUIManager::getInstance().executeCode("showCursor()"); 152 152 InputManager::getInstance().requestEnterState("guiMouseOnly"); 153 153 } 154 154 else 155 155 { 156 GUIManager::getInstance Ptr()->executeCode("hideGUI(\"inGameTest\")");157 GUIManager::getInstance Ptr()->executeCode("hideCursor()");156 GUIManager::getInstance().executeCode("hideGUI(\"inGameTest\")"); 157 GUIManager::getInstance().executeCode("hideCursor()"); 158 158 InputManager::getInstance().requestLeaveState("guiMouseOnly"); 159 159 } -
code/branches/pch/src/orxonox/objects/Radar.cc
r3110 r3154 37 37 #include "core/CoreIncludes.h" 38 38 #include "core/ConsoleCommand.h" 39 #include "core/ Iterator.h"39 #include "core/ObjectList.h" 40 40 #include "RadarListener.h" 41 41 -
code/branches/pch/src/orxonox/objects/Radar.h
r1818 r3154 39 39 #include <map> 40 40 #include <string> 41 #include "core/ Iterator.h"41 #include "core/ObjectList.h" 42 42 #include "core/OrxonoxClass.h" 43 43 #include "objects/Tickable.h" -
code/branches/pch/src/orxonox/objects/weaponsystem/projectiles/Projectile.cc
r3110 r3154 34 34 #include "core/Executor.h" 35 35 #include "core/ConfigValueIncludes.h" 36 #include "core/ Iterator.h"36 #include "core/ObjectList.h" 37 37 #include "tools/ParticleInterface.h" 38 38 -
code/branches/pch/src/orxonox/objects/worldentities/Camera.cc
r3110 r3154 37 37 38 38 #include "util/Exception.h" 39 #include "util/String.h" 39 40 #include "core/CoreIncludes.h" 40 41 #include "core/ConfigValueIncludes.h" -
code/branches/pch/src/orxonox/overlays/OverlayGroup.cc
r3110 r3154 37 37 #include "core/ConsoleCommand.h" 38 38 #include "core/CoreIncludes.h" 39 #include "core/ Iterator.h"39 #include "core/ObjectList.h" 40 40 #include "core/XMLPort.h" 41 41 #include "OrxonoxOverlay.h" -
code/branches/pch/src/orxonox/overlays/map/Map.cc
r3144 r3154 31 31 #include <OgreBorderPanelOverlayElement.h> 32 32 #include <OgreCamera.h> 33 #include <OgreEntity.h> 33 34 #include <OgreHardwarePixelBuffer.h> 34 35 #include <OgreMaterialManager.h> … … 50 51 #include "core/ConsoleCommand.h" 51 52 #include "core/CoreIncludes.h" 52 #include "core/ Iterator.h"53 #include "core/ObjectList.h" 53 54 #include "core/XMLPort.h" 54 55 #include "objects/Scene.h" … … 265 266 } 266 267 267 Ogre::MaterialPtr Map::createRenderCamera(Ogre::Camera * cam, std::stringmatName)268 Ogre::MaterialPtr Map::createRenderCamera(Ogre::Camera * cam, const std::string& matName) 268 269 { 269 270 Ogre::TexturePtr rttTex = Ogre::TextureManager::getSingleton().createManual(matName+"_tex", Ogre::ResourceGroupManager::DEFAULT_RESOURCE_GROUP_NAME, Ogre::TEX_TYPE_2D, 512, 512, 0, Ogre::PF_R8G8B8, Ogre::TU_RENDERTARGET); -
code/branches/pch/src/orxonox/overlays/map/Map.h
r3144 r3154 30 30 #include "OrxonoxPrereqs.h" 31 31 32 #include <string>33 32 #include <OgreMaterial.h> 34 33 … … 50 49 virtual void changedOwner(); 51 50 52 static Ogre::MaterialPtr createRenderCamera(Ogre::Camera * cam, std::stringmatName);51 static Ogre::MaterialPtr createRenderCamera(Ogre::Camera * cam, const std::string& matName); 53 52 54 53 static void openMap();
Note: See TracChangeset
for help on using the changeset viewer.