Changeset 9406 in orxonox.OLD for trunk/src/world_entities/space_ships
- Timestamp:
- Jul 24, 2006, 11:09:47 AM (18 years ago)
- Location:
- trunk/src/world_entities/space_ships
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/space_ships/collision_probe.cc
r8724 r9406 24 24 25 25 26 using namespace std; 26 27 27 28 28 CREATE_FACTORY(CollisionProbe, CL_COLLISION_PROBE); -
trunk/src/world_entities/space_ships/space_ship.cc
r9235 r9406 52 52 53 53 54 using namespace std; 54 55 55 56 56 CREATE_FACTORY(SpaceShip, CL_SPACE_SHIP); … … 314 314 if( entity->isA(CL_PROJECTILE) && entity != ref) 315 315 { 316 if ( isServer())316 if ( SharedNetworkData::getInstance()->isMasterServer() || SharedNetworkData::getInstance()->isProxyServer()) 317 317 { 318 318 //TODO handle this 319 319 } 320 320 } 321 PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClass Name(), entity->getClassName(), location.x, location.y, location.z);321 PRINTF(3)("collision %s vs %s @ (%f,%f,%f)\n", this->getClassCName(), entity->getClassCName(), location.x, location.y, location.z); 322 322 } 323 323 -
trunk/src/world_entities/space_ships/spacecraft_2d.cc
r9298 r9406 324 324 325 325 default: 326 PRINTF(2)("Playmode %s Not Implemented in %s\n", Playable::playmodeToString(this->getPlaymode()).c_str(), this->getClass Name());326 PRINTF(2)("Playmode %s Not Implemented in %s\n", Playable::playmodeToString(this->getPlaymode()).c_str(), this->getClassCName()); 327 327 } 328 328 } … … 474 474 475 475 default: 476 PRINTF(2)("Playmode %s Not Implemented in %s\n", Playable::playmodeToString(this->getPlaymode()).c_str(), this->getClass Name());476 PRINTF(2)("Playmode %s Not Implemented in %s\n", Playable::playmodeToString(this->getPlaymode()).c_str(), this->getClassCName()); 477 477 } 478 478 }
Note: See TracChangeset
for help on using the changeset viewer.