Changeset 5255 in orxonox.OLD for trunk/src/lib
- Timestamp:
- Sep 25, 2005, 6:23:38 PM (19 years ago)
- Location:
- trunk/src/lib
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/coord/p_node.cc
r5214 r5255 396 396 if( likely(child->parent != NULL)) 397 397 { 398 PRINTF( 4)("PNode::addChild() - reparenting node: removing it and adding it again\n");398 PRINTF(5)("PNode::addChild() - reparenting node: removing it and adding it again\n"); 399 399 child->parent->children->remove(child); 400 400 } -
trunk/src/lib/graphics/graphics_engine.cc
r5242 r5255 222 222 this->bitsPerPixel = bpp; 223 223 224 if (this->screen )224 if (this->screen != NULL) 225 225 SDL_FreeSurface(screen); 226 226 if((this->screen = SDL_SetVideoMode(this->resolutionX, this->resolutionY, this->bitsPerPixel, this->videoFlags | this->fullscreenFlag)) == NULL) -
trunk/src/lib/physics/physics_interface.cc
r5217 r5255 44 44 this->forceSum = Vector(0, 0, 0); 45 45 this->bForceApplied = false; 46 47 // PhysicsEngine::getInstance()->addPhysicsInterface(this);48 46 } 49 47 … … 53 51 PhysicsInterface::~PhysicsInterface () 54 52 { 55 // PhysicsEngine::getInstance()->removePhysicsInterface(this);56 53 } 57 54 … … 92 89 * applyes a field to this Object 93 90 * @param field the field to apply 91 * 92 * this function is virtual, and !must be reimplemented if the Member is !NOT! a PNode 94 93 */ 95 94 void PhysicsInterface::applyField(Field* field)
Note: See TracChangeset
for help on using the changeset viewer.