Changeset 11131
- Timestamp:
- Mar 6, 2016, 4:43:02 PM (9 years ago)
- Location:
- code/branches/ogre1.9/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ogre1.9/src/libraries/util/OgreForwardRefs.h
r11129 r11131 115 115 class OverlayElementFactory; 116 116 class OverlayManager; 117 class OverlaySystem; 117 118 class Particle; 118 119 class ParticleAffector; -
code/branches/ogre1.9/src/orxonox/Scene.cc
r11085 r11131 40 40 #include <OgreSceneManagerEnumerator.h> 41 41 #include <OgreSceneNode.h> 42 #if OGRE_VERSION >= 0x010900 43 # include <Overlay/OgreOverlaySystem.h> 44 #endif 42 45 43 46 #include <BulletCollision/BroadphaseCollision/btAxisSweep3.h> … … 90 93 this->renderQueueListener_ = new RenderQueueListener(); 91 94 this->sceneManager_->addRenderQueueListener(this->renderQueueListener_);//add our own renderQueueListener 95 #if OGRE_VERSION >= 0x010900 96 this->overlaySystem_ = new Ogre::OverlaySystem(); 97 this->sceneManager_->addRenderQueueListener(this->overlaySystem_); 98 #endif 92 99 93 100 this->radar_ = new Radar(); … … 134 141 if (GameMode::showsGraphics()) 135 142 { 143 #if OGRE_VERSION >= 0x010900 144 this->sceneManager_->removeRenderQueueListener(this->overlaySystem_); 145 delete this->overlaySystem_; 146 #endif 136 147 this->sceneManager_->removeRenderQueueListener(this->renderQueueListener_); 137 148 delete this->renderQueueListener_; -
code/branches/ogre1.9/src/orxonox/Scene.h
r11085 r11131 111 111 Ogre::SceneNode* rootSceneNode_; //!< This is a pointer to the root node of the Scene tree 112 112 RenderQueueListener* renderQueueListener_; //!< this is a pointer to the RenderQueueListener we're using for this Scene 113 Ogre::OverlaySystem* overlaySystem_; 113 114 114 115 std::string skybox_; //!< This string holds information about the skybox we're using
Note: See TracChangeset
for help on using the changeset viewer.