Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 3, 2005, 3:52:05 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: cycling read-in of parameters should work now… this is quite tricky, and the TrackManager has to be rewritten in some parts…. :(

File:
1 edited

Legend:

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

    r4489 r4496  
    529529  // initializing the TrackManager
    530530  this->trackManager = TrackManager::getInstance();
    531   //trackManager->addPoint(Vector(0,0,0));
    532   trackManager->addPoint(Vector(150, -35, 5));
    533   trackManager->addPoint(Vector(200,-35, 5));
    534   trackManager->addPoint(Vector(250, -35, 5));
    535   trackManager->addPoint(Vector(320,-33,-.55));
     531  //trackManager->addPointV(Vector(0,0,0));
     532  trackManager->addPointV(Vector(150, -35, 5));
     533  trackManager->addPointV(Vector(200,-35, 5));
     534  trackManager->addPointV(Vector(250, -35, 5));
     535  trackManager->addPointV(Vector(320,-33,-.55));
    536536  trackManager->setDuration(1);
    537537  trackManager->setSavePoint();
    538538
    539   trackManager->addPoint(Vector(410, 0, 0));
    540   trackManager->addPoint(Vector(510, 20, -10));
    541   trackManager->addPoint(Vector(550, 20, -10));
    542   trackManager->addPoint(Vector(570, 20, -10));
     539  trackManager->addPointV(Vector(410, 0, 0));
     540  trackManager->addPointV(Vector(510, 20, -10));
     541  trackManager->addPointV(Vector(550, 20, -10));
     542  trackManager->addPointV(Vector(570, 20, -10));
    543543  trackManager->setDuration(2);
    544544     
    545545  trackManager->forkS("testFork1,testFork2");
    546546  trackManager->workOn("testFork1");
    547   trackManager->addPoint(Vector(640, 25, -30));
    548   trackManager->addPoint(Vector(700, 40, -120));
    549   trackManager->addPoint(Vector(800, 50, -150));
    550   trackManager->addPoint(Vector(900, 60, -100));
    551   trackManager->addPoint(Vector(900, 60, -70));
    552   trackManager->addPoint(Vector(990, 65, -15));
    553   trackManager->addPoint(Vector(1050, 65, -10));
    554   trackManager->addPoint(Vector(1100, 65, -20));
     547  trackManager->addPointV(Vector(640, 25, -30));
     548  trackManager->addPointV(Vector(700, 40, -120));
     549  trackManager->addPointV(Vector(800, 50, -150));
     550  trackManager->addPointV(Vector(900, 60, -100));
     551  trackManager->addPointV(Vector(900, 60, -70));
     552  trackManager->addPointV(Vector(990, 65, -15));
     553  trackManager->addPointV(Vector(1050, 65, -10));
     554  trackManager->addPointV(Vector(1100, 65, -20));
    555555  trackManager->setDuration(4);
    556556
    557557  trackManager->workOn("testFork2");
    558   trackManager->addPoint(Vector(640, 25, 20));
    559   trackManager->addPoint(Vector(670, 50, 120));
    560   trackManager->addPoint(Vector(700, 70, 80));
    561   trackManager->addPoint(Vector(800, 70, 65));
    562   trackManager->addPoint(Vector(850, 65, 65));
    563   trackManager->addPoint(Vector(920, 35, 40));
    564   trackManager->addPoint(Vector(945, 40, 40));
    565   trackManager->addPoint(Vector(970, 24, 40));
    566   trackManager->addPoint(Vector(1000, 40, -7));
     558  trackManager->addPointV(Vector(640, 25, 20));
     559  trackManager->addPointV(Vector(670, 50, 120));
     560  trackManager->addPointV(Vector(700, 70, 80));
     561  trackManager->addPointV(Vector(800, 70, 65));
     562  trackManager->addPointV(Vector(850, 65, 65));
     563  trackManager->addPointV(Vector(920, 35, 40));
     564  trackManager->addPointV(Vector(945, 40, 40));
     565  trackManager->addPointV(Vector(970, 24, 40));
     566  trackManager->addPointV(Vector(1000, 40, -7));
    567567  trackManager->setDuration(4);
    568568     
     
    570570  trackManager->joinS("testFork1,testFork2");
    571571       
    572   trackManager->addPoint(Vector(1200, 60, -50));
    573   trackManager->addPoint(Vector(1300, 50, -50));
    574   trackManager->addPoint(Vector(1400, 40, -50));
    575   trackManager->addPoint(Vector(1500, 40, -60));
    576   trackManager->addPoint(Vector(1600, 35, -55));
    577   trackManager->addPoint(Vector(1700, 45, -40));
    578   trackManager->addPoint(Vector(1750, 60, -40));
    579   trackManager->addPoint(Vector(1770, 80, -40));
    580   trackManager->addPoint(Vector(1800, 100, -40));
     572  trackManager->addPointV(Vector(1200, 60, -50));
     573  trackManager->addPointV(Vector(1300, 50, -50));
     574  trackManager->addPointV(Vector(1400, 40, -50));
     575  trackManager->addPointV(Vector(1500, 40, -60));
     576  trackManager->addPointV(Vector(1600, 35, -55));
     577  trackManager->addPointV(Vector(1700, 45, -40));
     578  trackManager->addPointV(Vector(1750, 60, -40));
     579  trackManager->addPointV(Vector(1770, 80, -40));
     580  trackManager->addPointV(Vector(1800, 100, -40));
    581581  trackManager->setDuration(10);
    582582 
Note: See TracChangeset for help on using the changeset viewer.