Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3221 in orxonox.OLD for orxonox/trunk/src/list.h


Ignore:
Timestamp:
Dec 19, 2004, 10:44:35 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: added doxy comments to class StoryEntity, little changes in the destructors of world/story entities. solved an issue with the destructor of WorldEntities. ALL SEGFAULT ERRORS SHOULD NOW BE REMOVED :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/list.h

    r3194 r3221  
    106106void tList<T>::add(WorldEntity* entity)
    107107{
    108   printf("tList<T>::add() \n");
    109108  listElement* el = new listElement;
    110109  el->prev = this->last;
     
    128127    {
    129128      if( this->currentEl->curr == entity)
    130         {
    131           printf("tList<T>::remove() - object found\n");
    132          
     129        {
    133130          if( this->currentEl->prev  == NULL ) this->first = this->currentEl->next;
    134131          else this->currentEl->prev->next = this->currentEl->next;
     
    150147void tList<T>::destroy()
    151148{
    152   printf("tList<T>::clear() - clearing all world objects, releasing mem\n");
    153149  this->currentEl = this->first;
    154150  while(this->currentEl != NULL)
Note: See TracChangeset for help on using the changeset viewer.