Changeset 9589 for code/branches/core6/src/orxonox
- Timestamp:
- Mar 26, 2013, 11:43:43 PM (12 years ago)
- Location:
- code/branches/core6/src/orxonox
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/src/orxonox/chat/ChatListener.h
r9563 r9589 32 32 #include "OrxonoxPrereqs.h" 33 33 34 #include "core/ class/OrxonoxClass.h"34 #include "core/object/Listable.h" 35 35 36 36 namespace orxonox … … 40 40 message was sent through ChatManager. 41 41 */ 42 class _OrxonoxExport ChatListener : virtual public OrxonoxClass42 class _OrxonoxExport ChatListener : virtual public Listable 43 43 { 44 44 friend class ChatManager; -
code/branches/core6/src/orxonox/graphics/ParticleEmitter.cc
r9550 r9589 63 63 { 64 64 this->detachOgreObject(this->particles_->getParticleSystem()); 65 this->particles_->destroy();65 delete this->particles_; 66 66 } 67 67 } … … 101 101 if (this->particles_) 102 102 { 103 this->particles_->destroy();103 delete this->particles_; 104 104 this->particles_ = 0; 105 105 } -
code/branches/core6/src/orxonox/overlays/InGameConsole.cc
r9558 r9589 110 110 111 111 // destroy the underlaying shell 112 this->shell_->destroy();112 delete this->shell_; 113 113 114 114 Ogre::OverlayManager* ovMan = Ogre::OverlayManager::getSingletonPtr(); -
code/branches/core6/src/orxonox/worldentities/BigExplosion.cc
r8858 r9589 225 225 { 226 226 this->debris1_->detachOgreObject(this->debrisFire1_->getParticleSystem()); 227 this->debrisFire1_->destroy();227 delete this->debrisFire1_; 228 228 } 229 229 if (this->debrisSmoke1_) 230 230 { 231 231 this->debris1_->detachOgreObject(this->debrisSmoke1_->getParticleSystem()); 232 this->debrisSmoke1_->destroy();232 delete this->debrisSmoke1_; 233 233 } 234 234 … … 236 236 { 237 237 this->debris2_->detachOgreObject(this->debrisFire2_->getParticleSystem()); 238 this->debrisFire2_->destroy();238 delete this->debrisFire2_; 239 239 } 240 240 if (this->debrisSmoke2_) 241 241 { 242 242 this->debris2_->detachOgreObject(this->debrisSmoke2_->getParticleSystem()); 243 this->debrisSmoke2_->destroy();243 delete this->debrisSmoke2_; 244 244 } 245 245 … … 247 247 { 248 248 this->debris3_->detachOgreObject(this->debrisFire3_->getParticleSystem()); 249 this->debrisFire3_->destroy();249 delete this->debrisFire3_; 250 250 } 251 251 if (this->debrisSmoke3_) 252 252 { 253 253 this->debris3_->detachOgreObject(this->debrisSmoke3_->getParticleSystem()); 254 this->debrisSmoke3_->destroy();254 delete this->debrisSmoke3_; 255 255 } 256 256 … … 258 258 { 259 259 this->debris4_->detachOgreObject(this->debrisFire4_->getParticleSystem()); 260 this->debrisFire4_->destroy();260 delete this->debrisFire4_; 261 261 } 262 262 if (this->debrisSmoke4_) 263 263 { 264 264 this->debris4_->detachOgreObject(this->debrisSmoke4_->getParticleSystem()); 265 this->debrisSmoke4_->destroy();265 delete this->debrisSmoke4_; 266 266 } 267 267 } -
code/branches/core6/src/orxonox/worldentities/ExplosionChunk.cc
r8858 r9589 92 92 { 93 93 this->detachOgreObject(this->fire_->getParticleSystem()); 94 this->fire_->destroy();94 delete this->fire_; 95 95 } 96 96 if (this->smoke_) 97 97 { 98 98 this->detachOgreObject(this->smoke_->getParticleSystem()); 99 this->smoke_->destroy();99 delete this->smoke_; 100 100 } 101 101 } -
code/branches/core6/src/orxonox/worldentities/pawns/SpaceShip.cc
r9558 r9589 96 96 97 97 if (this->boostBlur_) 98 this->boostBlur_->destroy();98 delete this->boostBlur_; 99 99 } 100 100 } … … 447 447 if (!this->bEnableMotionBlur_ && this->boostBlur_ != NULL) 448 448 { 449 this->boostBlur_->destroy();449 delete this->boostBlur_; 450 450 this->boostBlur_ = NULL; 451 451 }
Note: See TracChangeset
for help on using the changeset viewer.