Changeset 3174 for code/branches/pch
- Timestamp:
- Jun 15, 2009, 9:59:28 AM (15 years ago)
- Location:
- code/branches/pch/src/orxonox/objects
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/EventDispatcher.cc
r3110 r3174 32 32 #include "core/EventIncludes.h" 33 33 #include "core/XMLPort.h" 34 #include "core/EventIncludes.h"35 34 #include "EventTarget.h" 36 35 -
code/branches/pch/src/orxonox/objects/EventDispatcher.h
r2087 r3174 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <list> 33 35 #include "core/BaseObject.h" 34 36 -
code/branches/pch/src/orxonox/objects/EventListener.cc
r3110 r3174 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/ EventIncludes.h"32 #include "core/ObjectList.h" 33 33 #include "core/XMLPort.h" 34 34 -
code/branches/pch/src/orxonox/objects/EventListener.h
r2087 r3174 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 #include <string> 33 35 #include "core/BaseObject.h" 34 36 #include "core/XMLNameListener.h" -
code/branches/pch/src/orxonox/objects/EventTarget.cc
r3110 r3174 30 30 31 31 #include "core/CoreIncludes.h" 32 #include "core/ EventIncludes.h"32 #include "core/ObjectList.h" 33 33 34 34 namespace orxonox -
code/branches/pch/src/orxonox/objects/EventTarget.h
r2087 r3174 31 31 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "core/BaseObject.h" 34 35 #include "core/XMLNameListener.h" -
code/branches/pch/src/orxonox/objects/GametypeMessageListener.cc
r3099 r3174 28 28 29 29 #include "GametypeMessageListener.h" 30 31 30 #include "core/CoreIncludes.h" 32 31 -
code/branches/pch/src/orxonox/objects/GametypeMessageListener.h
r3099 r3174 31 31 32 32 #include "OrxonoxPrereqs.h" 33 34 33 #include "core/OrxonoxClass.h" 35 34 -
code/branches/pch/src/orxonox/objects/GlobalShader.cc
r3110 r3174 29 29 #include "GlobalShader.h" 30 30 31 #include "util/Exception.h" 31 32 #include "core/CoreIncludes.h" 32 33 #include "core/XMLPort.h" 33 34 #include "objects/Scene.h" 34 #include "util/Exception.h"35 35 36 36 namespace orxonox -
code/branches/pch/src/orxonox/objects/Level.cc
r3110 r3174 29 29 #include "Level.h" 30 30 31 #include "util/Math.h" 32 #include "core/Core.h" 31 33 #include "core/CoreIncludes.h" 34 #include "core/Loader.h" 35 #include "core/Template.h" 36 #include "core/XMLFile.h" 32 37 #include "core/XMLPort.h" 33 #include "core/Loader.h"34 #include "core/XMLFile.h"35 #include "core/Template.h"36 #include "core/Core.h"37 38 38 #include "LevelManager.h"39 39 #include "objects/infos/PlayerInfo.h" 40 40 #include "objects/gametypes/Gametype.h" 41 41 #include "overlays/OverlayGroup.h" 42 42 #include "sound/SoundBase.h" 43 44 #include "util/Math.h" 43 #include "LevelManager.h" 45 44 46 45 namespace orxonox -
code/branches/pch/src/orxonox/objects/Level.h
r3068 r3174 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <list> 35 #include <string> 36 #include "core/BaseObject.h" 34 37 #include "network/synchronisable/Synchronisable.h" 35 #include "core/BaseObject.h"36 38 37 39 namespace orxonox -
code/branches/pch/src/orxonox/objects/Radar.cc
r3154 r3174 28 28 29 29 /** 30 31 30 @file 31 @brief 32 32 */ 33 33 34 34 #include "Radar.h" 35 #include <cfloat> 35 36 36 #include <cassert> 37 #include "core/CoreIncludes.h" 37 38 //#include "util/Math.h" 38 39 #include "core/ConsoleCommand.h" 39 40 #include "core/ObjectList.h" -
code/branches/pch/src/orxonox/objects/Radar.h
r3154 r3174 28 28 29 29 /** 30 31 30 @file 31 @brief 32 32 */ 33 33 … … 39 39 #include <map> 40 40 #include <string> 41 #include "core/ObjectList.h" 42 #include "core/O rxonoxClass.h"41 42 #include "core/ObjectListIterator.h" 43 43 #include "objects/Tickable.h" 44 44 #include "RadarViewable.h" -
code/branches/pch/src/orxonox/objects/RadarViewable.cc
r3157 r3174 32 32 #include <OgreSceneNode.h> 33 33 #include <OgreEntity.h> 34 #include <OgreManualObject.h>35 34 36 35 #include "util/Debug.h" 37 36 #include "util/String.h" 38 37 #include "core/CoreIncludes.h" 39 #include " orxonox/tools/DynamicLines.h"38 #include "tools/DynamicLines.h" 40 39 #include "objects/worldentities/WorldEntity.h" 41 40 #include "objects/Radar.h" -
code/branches/pch/src/orxonox/objects/RadarViewable.h
r3157 r3174 34 34 #include <string> 35 35 #include <cassert> 36 #include <OgrePrerequisites.h> 36 37 37 38 #include "util/Math.h" -
code/branches/pch/src/orxonox/objects/Scene.cc
r3164 r3174 31 31 32 32 #include <OgreRoot.h> 33 #include <OgreSceneManager.h> 33 34 #include <OgreSceneManagerEnumerator.h> 34 35 #include <OgreSceneNode.h> … … 58 59 if (GameMode::showsGraphics()) 59 60 { 60 if (Ogre::Root::getSingletonPtr()) 61 { 62 this->sceneManager_ = Ogre::Root::getSingleton().createSceneManager(Ogre::ST_GENERIC); 63 this->rootSceneNode_ = this->sceneManager_->getRootSceneNode(); 64 } 65 else 66 { 67 this->sceneManager_ = 0; 68 this->rootSceneNode_ = 0; 69 } 61 assert(Ogre::Root::getSingletonPtr()) 62 this->sceneManager_ = Ogre::Root::getSingleton().createSceneManager(Ogre::ST_GENERIC); 63 this->rootSceneNode_ = this->sceneManager_->getRootSceneNode(); 70 64 } 71 65 else … … 94 88 if (this->isInitialized()) 95 89 { 96 if (Ogre::Root::getSingletonPtr()) 97 { 90 if (GameMode::showsGraphics()) 98 91 Ogre::Root::getSingleton().destroySceneManager(this->sceneManager_); 99 } 100 else if (!GameMode::showsGraphics()) 101 { 92 else 102 93 delete this->sceneManager_; 103 }104 94 105 95 this->setPhysicalWorld(false); -
code/branches/pch/src/orxonox/objects/Scene.h
r2662 r3174 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #include <list> 36 #include <set> 37 #include <string> 38 #include <OgrePrerequisites.h> 39 40 #include "util/Math.h" 41 #include "core/BaseObject.h" 35 42 #include "network/synchronisable/Synchronisable.h" 36 #include "core/BaseObject.h"37 #include "util/Math.h"38 43 #include "objects/Tickable.h" 39 44 -
code/branches/pch/src/orxonox/objects/Script.cc
r3110 r3174 29 29 #include "Script.h" 30 30 31 #include <tinyxml/ticpp.h> 31 32 #include "util/Debug.h" 32 33 #include "core/CoreIncludes.h" 33 #include "core/XMLPort.h"34 34 #include "core/LuaBind.h" 35 35 -
code/branches/pch/src/orxonox/objects/Script.h
r2087 r3174 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include <string> 34 35 #include "core/BaseObject.h" 35 36 -
code/branches/pch/src/orxonox/objects/Teamcolourable.h
r2826 r3174 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "util/ Math.h"34 #include "util/UtilPrereqs.h" 35 35 #include "core/OrxonoxClass.h" 36 36 -
code/branches/pch/src/orxonox/objects/Tickable.cc
r3110 r3174 29 29 #include "Tickable.h" 30 30 #include "core/CoreIncludes.h" 31 #include "core/ConsoleCommand.h"32 31 33 32 namespace orxonox
Note: See TracChangeset
for help on using the changeset viewer.