Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5255 in orxonox.OLD for trunk/src/lib


Ignore:
Timestamp:
Sep 25, 2005, 6:23:38 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: minor changes (flush)

Location:
trunk/src/lib
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/coord/p_node.cc

    r5214 r5255  
    396396  if( likely(child->parent != NULL))
    397397    {
    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");
    399399      child->parent->children->remove(child);
    400400    }
  • trunk/src/lib/graphics/graphics_engine.cc

    r5242 r5255  
    222222  this->bitsPerPixel = bpp;
    223223
    224   if (this->screen)
     224  if (this->screen != NULL)
    225225    SDL_FreeSurface(screen);
    226226  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  
    4444  this->forceSum = Vector(0, 0, 0);
    4545  this->bForceApplied = false;
    46 
    47 //   PhysicsEngine::getInstance()->addPhysicsInterface(this);
    4846}
    4947
     
    5351PhysicsInterface::~PhysicsInterface ()
    5452{
    55 //   PhysicsEngine::getInstance()->removePhysicsInterface(this);
    5653}
    5754
     
    9289 *  applyes a field to this Object
    9390 * @param field the field to apply
     91 *
     92 * this function is virtual, and !must be reimplemented if the Member is !NOT! a PNode
    9493*/
    9594void PhysicsInterface::applyField(Field* field)
Note: See TracChangeset for help on using the changeset viewer.