- Timestamp:
- Jul 3, 2006, 11:30:17 AM (18 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/collision_reaction/cr_object_damage.cc
r9025 r9027 56 56 float damage = 0.0f; 57 57 58 PRINTF( 4)("Dealing damage - Handling collision: %s vs %s\n",58 PRINTF(0)("Dealing damage - Handling collision: %s vs %s\n", 59 59 collision->getEntityA()->getClassName(), 60 60 collision->getEntityB()->getClassName()); -
trunk/src/lib/collision_reaction/cr_physics_ground_walk.cc
r9003 r9027 127 127 { 128 128 entity->setAbsCoor(entity->getLastAbsCoor()); 129 PRINTF(0)("ground collision: reset pos\n"); 129 130 } 130 131 else -
trunk/src/story_entities/game_world.cc
r8894 r9027 308 308 /* update the state */ 309 309 //this->update (); /// LESS REDUNDANCY. 310 // PNode::getNullParent()->updateNode(this->dtS);310 // PNode::getNullParent()->updateNode(this->dtS); 311 311 312 312 -
trunk/src/world_entities/npcs/generic_npc.cc
r9026 r9027 185 185 void GenericNPC::initNPC() 186 186 { 187 188 this->unsubscribeReaction(); 189 187 190 if (!this->behaviourList.empty()) 188 191 { … … 473 476 Vector dest = currentAnimation.v - this->getAbsCoor(); 474 477 if (dest.len() < .5) 478 { 475 479 this->nextStep(); 480 } 476 481 else 477 482 { 478 483 dest.y = 0.0f; 479 484 this->shiftCoor(dest.getNormalized() * currentAnimation.speed * dt); 480 481 485 } 482 486 }
Note: See TracChangeset
for help on using the changeset viewer.