Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6074 in orxonox.OLD for trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Dec 12, 2005, 11:34:02 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: taken out NullParent.
THE TRUNK IS NOT RUNNING FOR THE TIME BEING. DO NOT BE ALARMED, THIS IS TEMPORARY

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/story_entities/world.cc

    r6054 r6074  
    2424
    2525#include "p_node.h"
    26 #include "null_parent.h"
    2726#include "pilot_node.h"
    2827#include "world_entity.h"
     
    144143
    145144  // erease everything that is left.
    146   delete NullParent::getInstance();
     145  delete PNode::getNullParent();
    147146
    148147  //secondary cleanup of PNodes;
     
    222221
    223222  LightManager::getInstance();
    224   NullParent::getInstance ();
     223  PNode::getNullParent();
    225224
    226225  AnimationPlayer::getInstance(); // initializes the animationPlayer
     
    508507
    509508  /* update the object position before game start - so there are no wrong coordinates used in the first processing */
    510   NullParent::getInstance()->updateNode (0.001f);
    511   NullParent::getInstance()->updateNode (0.001f);
     509  PNode::getNullParent()->updateNode (0.001f);
     510  PNode::getNullParent()->updateNode (0.001f);
    512511
    513512}
     
    766765  GarbageCollector::getInstance()->update();
    767766  GraphicsEngine::getInstance()->update(this->dtS);
    768   NullParent::getInstance()->updateNode (this->dtS);
     767  PNode::getNullParent()->updateNode (this->dtS);
    769768
    770769  SoundEngine::getInstance()->update();
     
    823822
    824823  if (unlikely(this->showPNodes))
    825     NullParent::getInstance()->debugDraw(0);
     824    PNode::getNullParent()->debugDraw(0);
    826825
    827826  GraphicsEngine::getInstance()->draw();
Note: See TracChangeset for help on using the changeset viewer.