Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4223 in orxonox.OLD for orxonox/branches/physics/src/story_entities


Ignore:
Timestamp:
May 19, 2005, 7:45:28 PM (20 years ago)
Author:
bensch
Message:

orxonox/branches/physics: merged back the Trunk into the Physics-branche
merged with command:
svn merge -r 4178:HEAD ../trunk/ physics
no conflicts in relevant files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/physics/src/story_entities/world.cc

    r4193 r4223  
    365365 
    366366  // find Track
    367   /*element = root->FirstChildElement( "Track");
     367  element = root->FirstChildElement( "Track");
    368368  if( element == NULL)
    369369    {
     
    375375      PRINTF0("============>>>>>>>>>>>>>>>>Loading Track\n");
    376376
    377       trackManager->loadTrack( element);
     377      trackManager->load( element);
    378378      trackManager->finalize();
    379379      PRINTF0("============>>>>>>>>>>>>>>>>Done loading Track\n");
    380     }*/
     380    }
    381381 
    382382  // free the XML data
     
    395395 
    396396  // stuff beyond this point remains to be loaded properly
    397  
     397  /*
    398398      // initializing the TrackManager
    399399  this->trackManager = TrackManager::getInstance();
     
    403403      trackManager->addPoint(Vector(250, -35, 5));
    404404      trackManager->addPoint(Vector(320,-33,-.55));
    405       trackManager->setDuration(2);
     405      trackManager->setDuration(1);
    406406      trackManager->setSavePoint();
    407407
     
    410410      trackManager->addPoint(Vector(550, 20, -10));
    411411      trackManager->addPoint(Vector(570, 20, -10));
    412       trackManager->setDuration(5);
     412      trackManager->setDuration(2);
    413413     
    414       int fork11, fork12;
    415       trackManager->fork(2, &fork11, &fork12);
    416       trackManager->workOn(fork11);
     414      trackManager->forkS("testFork1,testFork2");
     415      trackManager->workOn("testFork1");
    417416      trackManager->addPoint(Vector(640, 25, -30));
    418417      trackManager->addPoint(Vector(700, 40, -120));
     
    423422      trackManager->addPoint(Vector(1050, 65, -10));
    424423      trackManager->addPoint(Vector(1100, 65, -20));
    425       trackManager->setDuration(10);
    426 
    427       trackManager->workOn(fork12);
     424      trackManager->setDuration(4);
     425
     426      trackManager->workOn("testFork2");
    428427      trackManager->addPoint(Vector(640, 25, 20));
    429428      trackManager->addPoint(Vector(670, 50, 120));
     
    435434      trackManager->addPoint(Vector(970, 24, 40));
    436435      trackManager->addPoint(Vector(1000, 40, -7));
    437       trackManager->setDuration(10);
     436      trackManager->setDuration(4);
    438437     
    439 
    440       trackManager->join(2, fork11, fork12);
    441 
    442       trackManager->workOn(5);
     438     
     439      trackManager->joinS("testFork1,testFork2");
     440       
    443441      trackManager->addPoint(Vector(1200, 60, -50));
    444442      trackManager->addPoint(Vector(1300, 50, -50));
     
    451449      trackManager->addPoint(Vector(1800, 100, -40));
    452450      trackManager->setDuration(10);
    453 
     451  */
    454452      trackManager->finalize();
    455453
     
    483481  glNewList (objectList, GL_COMPILE);
    484482 
    485   //  trackManager->drawGraph(.01);
     483  trackManager->drawGraph(.01);
    486484  trackManager->debug(2);
    487485  glEndList();
Note: See TracChangeset for help on using the changeset viewer.