Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10203 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 11:46:06 AM (18 years ago)
Author:
patrick
Message:

flush work! shit somehow a little late…

Location:
branches/mount_points/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/world_entities/mount_point.cc

    r10185 r10203  
    113113void MountPoint::debugDraw() const
    114114{
    115 
     115  // invoke the underlying pnode debug draw
     116  this->debugDraw();
    116117}
    117118
  • branches/mount_points/src/world_entities/world_entity.cc

    r10202 r10203  
    278278  PRINTF(0)("loading the oif File: %s\n", fileName.c_str());
    279279
    280 
    281280  // first get all mount points from the model
    282281  const std::list<mountPointSkeleton> mpList = model->getMountPoints();
     
    287286  {
    288287    MountPoint* mp = new MountPoint( (*it).up, (*it).forward, (*it).center, (*it).name);
    289 
     288    // now get the number and add the mount point to the slot
    290289    std::string nrStr = (*it).name.substr(3, 2);
    291 
    292     PRINTF(0)("got mp nr: %s\n", nrStr.c_str());
    293 
    294     this->addMountPoint(mp);
     290    this->addMountPoint(atoi(nrStr.c_str()), mp);
    295291  }
    296292
    297293  // now load the object information file
    298294  this->oiFile = new ObjectInformationFile(fileName);
    299 
    300   PRINTF(0)("\n");
    301 
    302 
    303295
    304296}
     
    367359  if( this->mountPoints[slot] != NULL)
    368360  {
    369     PRINTF(0)("adding a mount point to a slot, that already exists! ignoring - maybe some object do not get connected well (object: %s)\n", this->getClassCName());
     361    PRINTF(0)("adding a mount point to a slot, that already is occupied! ignoring - maybe some object do not get connected well (object: %s)\n", this->getClassCName());
    370362  }
    371363
Note: See TracChangeset for help on using the changeset viewer.