Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3565 in orxonox.OLD for orxonox/trunk/src/story_entities


Ignore:
Timestamp:
Mar 15, 2005, 7:27:44 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: patched the pNode, now there exists the ability for advanced linkage-modes

Location:
orxonox/trunk/src/story_entities
Files:
2 edited

Legend:

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

    r3564 r3565  
    226226            this->skySphere->setName("SkySphere");
    227227            this->localCamera->addChild(this->skySphere);
    228             this->skySphere->setMode(MOVEMENT);
     228            this->skySphere->setMode(PNODE_MOVEMENT);
    229229
    230230            /*monitor progress*/
     
    254254            //localCamera->setParent(TrackNode::getInstance());
    255255            tn->addChild (this->localCamera);
     256            myPlayer->setMode(PNODE_ROTATE_AND_MOVE);
    256257            //Vector* cameraOffset = new Vector (0, 5, -10);
    257258            Vector* cameraOffset = new Vector (-10, 5, 0);
     
    305306  glEndList();
    306307
    307   terrain = new Terrain(TERRAIN_BENSCH);
     308  terrain = new Terrain(TERRAIN_DAVE);
    308309  this->spawn(terrain);
    309310  // LIGHT initialisation
     
    584585      this->display ();
    585586
    586       for( int i = 0; i < 5000000; i++) {}
     587      //      for( int i = 0; i < 5000000; i++) {}
    587588      /* \todo this is to slow down the program for openGl Software emulator computers, reimplement*/
    588589    }
     
    736737void World::spawn(WorldEntity* entity, PNode* parentNode,
    737738                  Vector* relCoor, Quaternion* relDir,
    738                   parentingMode mode)
     739                  int parentingMode)
    739740{
    740741  this->nullParent = NullParent::getInstance();
  • orxonox/trunk/src/story_entities/world.h

    r3559 r3565  
    5454  void spawn (WorldEntity* entity, Vector* absCoor, Quaternion* absDir);
    5555  void spawn(WorldEntity* entity, PNode* parentNode, Vector* relCoor, Quaternion* relDir,
    56              parentingMode mode);
     56             int parentingMode);
    5757
    5858
Note: See TracChangeset for help on using the changeset viewer.