Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8534 in orxonox.OLD for branches/bsp_model/src


Ignore:
Timestamp:
Jun 16, 2006, 3:25:28 PM (18 years ago)
Author:
patrick
Message:

bsp: less debug output. claudio: well done ground walking seems to work quite fine

Location:
branches/bsp_model/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/bsp_model/src/lib/collision_reaction/collision_handle.cc

    r8490 r8534  
    102102
    103103  // add element
    104    PRINTF(0)("addTarget: %i \n", target);
     104   PRINTF(5)("addTarget: %i \n", target);
    105105   this->targetList.push_back(target);
    106106}
     
    176176
    177177 c->registerCollisionEvent(collisionEvent);
    178  PRINTF(0)("Registering Collision Event: %s, %s\n", collisionEvent->getEntityA()->getClassName(), collisionEvent->getEntityB()->getClassName());
     178 PRINTF(5)("Registering Collision Event: %s, %s\n", collisionEvent->getEntityA()->getClassName(), collisionEvent->getEntityB()->getClassName());
    179179}
    180180
     
    230230    if( collisionEvent->getEntityA() == this->owner) {
    231231      if( collisionEvent->getEntityB()->isA((ClassID)(*it))) {
    232         PRINTF(0)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(),
     232        PRINTF(5)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(),
    233233                  collisionEvent->getEntityB()->getClassName(), *it);
    234234        return true; }
     
    236236    else {
    237237      if( collisionEvent->getEntityA()->isA((ClassID)(*it))) {
    238         PRINTF(0)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(),
     238        PRINTF(5)("I am: %s colliding with: %s is a %i filter ok\n", owner->getClassName(),
    239239                  collisionEvent->getEntityA()->getClassName(), *it);
    240240      return true; }
  • branches/bsp_model/src/lib/graphics/importer/bsp_manager.cc

    r8533 r8534  
    996996  else
    997997  {
    998    
    999    
    1000    
    1001    
     998
     999
     1000
     1001
    10021002  if( this->outputFraction == 1.0f)
    10031003  {
     
    10271027  }
    10281028
    1029  
     1029
    10301030  }
    10311031  // Return the normal here: Normal's stored in this->collPlane;
    10321032  if( collision) {
    1033     PRINTF(0)("We got a collision!! Are you sure: outputFraction = %f\n", this->outputFraction);
     1033    PRINTF(5)("We got a collision!! Are you sure: outputFraction = %f\n", this->outputFraction);
    10341034    worldEntity->registerCollision(this->parent, worldEntity, Vector(this->collPlane->x, this->collPlane->y, this->collPlane->z), out);
    10351035  }
  • branches/bsp_model/src/lib/graphics/importer/md3/md3_animation_cfg.cc

    r8533 r8534  
    9494          }
    9595
    96           this->dataStream.getline(buffer, 1024, '\n');
    97           std::string line(buffer);
    9896        }
    9997      }
     98      this->dataStream.getline(buffer, 1024, '\n');
     99      std::string line(buffer);
    100100    }
    101101/*
Note: See TracChangeset for help on using the changeset viewer.