Changeset 6074 in orxonox.OLD for trunk/src/story_entities
- Timestamp:
- Dec 12, 2005, 11:34:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/story_entities/world.cc
r6054 r6074 24 24 25 25 #include "p_node.h" 26 #include "null_parent.h"27 26 #include "pilot_node.h" 28 27 #include "world_entity.h" … … 144 143 145 144 // erease everything that is left. 146 delete NullParent::getInstance();145 delete PNode::getNullParent(); 147 146 148 147 //secondary cleanup of PNodes; … … 222 221 223 222 LightManager::getInstance(); 224 NullParent::getInstance();223 PNode::getNullParent(); 225 224 226 225 AnimationPlayer::getInstance(); // initializes the animationPlayer … … 508 507 509 508 /* 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); 512 511 513 512 } … … 766 765 GarbageCollector::getInstance()->update(); 767 766 GraphicsEngine::getInstance()->update(this->dtS); 768 NullParent::getInstance()->updateNode (this->dtS);767 PNode::getNullParent()->updateNode (this->dtS); 769 768 770 769 SoundEngine::getInstance()->update(); … … 823 822 824 823 if (unlikely(this->showPNodes)) 825 NullParent::getInstance()->debugDraw(0);824 PNode::getNullParent()->debugDraw(0); 826 825 827 826 GraphicsEngine::getInstance()->draw();
Note: See TracChangeset
for help on using the changeset viewer.