Changeset 9371 in orxonox.OLD for branches/proxy/src/world_entities/world_entity.cc
- Timestamp:
- Jul 20, 2006, 11:08:16 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/proxy/src/world_entities/world_entity.cc
r9235 r9371 414 414 bool WorldEntity::registerCollision(WorldEntity* entityA, WorldEntity* entityB, BoundingVolume* bvA, BoundingVolume* bvB) 415 415 { 416 PRINTF(5)("registering collision of type: %s vs %s\n", entityA->getClass Name(), entityB->getClassName());416 PRINTF(5)("registering collision of type: %s vs %s\n", entityA->getClassCName(), entityB->getClassCName()); 417 417 // is there any handler listening? 418 418 if( !this->bReactive) … … 518 518 void WorldEntity::collidesWithGround(const Vector& location) 519 519 { 520 PRINTF(0)("BSP_GROUND: %s collides \n", this->getClass Name() );520 PRINTF(0)("BSP_GROUND: %s collides \n", this->getClassCName() ); 521 521 } 522 522 … … 676 676 if (this->health > this->healthMax) 677 677 { 678 PRINTF(3)("new maxHealth is bigger as the old health. Did you really intend to do this for (%s::%s)\n", this->getClass Name(), this->getName());678 PRINTF(3)("new maxHealth is bigger as the old health. Did you really intend to do this for (%s::%s)\n", this->getClassCName(), this->getCName()); 679 679 this->health = this->healthMax; 680 680 } … … 699 699 } 700 700 else 701 PRINTF(3)("Allready created the HealthWidget for %s::%s\n", this->getClass Name(), this->getName());701 PRINTF(3)("Allready created the HealthWidget for %s::%s\n", this->getClassCName(), this->getCName()); 702 702 } 703 703 … … 745 745 this->decreaseHealth(damage); 746 746 747 PRINTF(5)("Hit me: %s now only %f/%f health\n", this->getClassName(), this->getHealth(), this->getHealthMax());747 PRINTF(5)("Hit me: %s::%s now only %f/%f health\n", this->getClassCName(), this->getCName(), this->getHealth(), this->getHealthMax()); 748 748 749 749 if( this->getHealth() > 0) … … 811 811 void WorldEntity::debugEntity() const 812 812 { 813 PRINT(0)("WorldEntity %s::%s (DEBUG)\n", this->getClass Name(), this->getName());813 PRINT(0)("WorldEntity %s::%s (DEBUG)\n", this->getClassCName(), this->getCName()); 814 814 this->debugNode(); 815 815 PRINT(0)("List: %s ; ModelCount %d - ", ObjectManager::OMListToString(this->objectListNumber) , this->models.size()); … … 817 817 { 818 818 if (models[i] != NULL) 819 PRINT(0)(" : %d:%s", i, this->models[i]->get Name());819 PRINT(0)(" : %d:%s", i, this->models[i]->getCName()); 820 820 } 821 821 PRINT(0)("\n");
Note: See TracChangeset
for help on using the changeset viewer.