Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 3, 2006, 3:37:01 PM (19 years ago)
Author:
patrick
Message:

cr: finished cleaning up the code, collision reaction now integrated and should either work or throw a sigfault :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/cr/src/lib/collision_reaction/cr_object_damage.cc

    r8111 r8129  
    5454  float damage;
    5555
    56   PRINTF(0)("dealing damage\n");
     56  PRINTF(0)("Dealing damage - Handling collision: %s vs %s\n",
     57            collision->getEntityA()->getClassName(),
     58            collision->getEntityB()->getClassName());
    5759
    5860  // the collision damage been dealed by the entity
     
    6668  }
    6769
     70  collision->flushCollisionEvents();
     71  collision->dispatched();
     72
    6873//   const std::vector<CollisionEvent*>* collisionEvents = &(collision->getCollisionEvents());
    6974//   std::vector<CollisionEvent*>::const_iterator it = collisionEvents->begin();
Note: See TracChangeset for help on using the changeset viewer.