Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 19, 2007, 5:04:07 AM (17 years ago)
Author:
landauf
Message:
  • added very bad collision detection (presentation hack :D)
  • added explosions
  • fixed bug in ParticleInterface (it tried to delete SceneManager)

AND:

  • fixed one of the most amazing bugs ever! (the game crashed when I deleted an object through a timer-function. because the timer-functions is called by an iterator, the iterator indirectly delted its object. by overloading the (it++) operator, i was able to solve this problem)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/particle/ParticleInterface.cc

    r618 r646  
    4040  ParticleInterface::~ParticleInterface(void)
    4141  {
     42std::cout << "blubiblub_1\n";
    4243    sceneManager_->destroyParticleSystem(particleSystem_);
     44std::cout << "blubiblub_2\n";
    4345
    44     delete sceneNode_;
    45     delete particleSystem_;
    46     delete sceneManager_;
     46//    delete sceneNode_;
     47//    delete particleSystem_;
     48//    delete sceneManager_;
    4749  }
    4850
     
    8082  }
    8183
    82   void ParticleInterface::dettachFromSceneNode ( void )
     84  void ParticleInterface::detachFromSceneNode ( void )
    8385  {
    8486    sceneNode_->detachObject(particleSystem_);
Note: See TracChangeset for help on using the changeset viewer.