Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 1, 2005, 10:17:14 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: setMode → setParentMode

File:
1 edited

Legend:

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

    r4442 r4444  
    447447  tn->addChild(this->localCamera);
    448448  localCamera->lookAt(tn);
    449   localCamera->setMode(PNODE_MOVEMENT);
    450   this->localPlayer->setMode(PNODE_ALL);
     449  localCamera->setParentMode(PNODE_MOVEMENT);
     450  this->localPlayer->setParentMode(PNODE_ALL);
    451451  Vector* cameraOffset = new Vector (0, 5, -10);
    452452  trackManager->condition(2, LEFTRIGHT, this->localPlayer);
     
    625625        this->spawn(this->sky);
    626626        this->localCamera->addChild(this->sky);
    627         this->sky->setMode(PNODE_MOVEMENT);
     627        this->sky->setParentMode(PNODE_MOVEMENT);
    628628        /*monitor progress*/
    629629        this->glmis->step();
     
    659659       
    660660        tn->addChild(this->localCamera);
    661         this->localPlayer->setMode(PNODE_ALL);
     661        this->localPlayer->setParentMode(PNODE_ALL);
    662662        trackManager->condition(2, LEFTRIGHT, this->localPlayer);
    663663        */
     
    11431143      entity->setRelCoor (*relCoor);
    11441144      entity->setRelDir (*relDir);
    1145       entity->setMode(parentingMode);
     1145      entity->setParentMode(parentingMode);
    11461146     
    11471147      this->entities->add (entity);
Note: See TracChangeset for help on using the changeset viewer.