Changeset 3522 in orxonox.OLD for orxonox/trunk/src/story_entities
- Timestamp:
- Mar 13, 2005, 12:05:07 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/story_entities/world.cc
r3521 r3522 116 116 trackManager->addPoint(Vector(30,0,5)); 117 117 trackManager->addPoint(Vector(40,0,5)); 118 trackManager->setDuration(2); 119 trackManager->setSavePoint(); 120 trackManager->addPoint(Vector(50,10,10)); 121 trackManager->addPoint(Vector(60,0, 10)); 122 trackManager->addPoint(Vector(70,0, 10)); 123 trackManager->addPoint(Vector(80,0,-10)); 124 trackManager->addPoint(Vector(90,0,-10)); 118 trackManager->setDuration(4); 119 int fork11, fork12, fork13; 120 trackManager->fork(3, &fork11, &fork12, &fork13); 121 trackManager->workOn(fork11); 122 trackManager->addPoint(Vector(70, 0, -10)); 123 trackManager->addPoint(Vector(100, 0, -15)); 124 trackManager->addPoint(Vector(300, 0, -15)); 125 trackManager->setDuration(10); 126 trackManager->workOn(fork12); 127 trackManager->addPoint(Vector(70, 0, 0)); 128 trackManager->addPoint(Vector(100, 0, 0)); 129 trackManager->addPoint(Vector(120,10, 0)); 130 trackManager->addPoint(Vector(150,10, 0)); 131 trackManager->addPoint(Vector(180,15, 0)); 132 trackManager->addPoint(Vector(200,10, 0)); 133 trackManager->setDuration(7); 134 trackManager->workOn(fork13); 135 trackManager->addPoint(Vector(70, 0, 10)); 136 trackManager->addPoint(Vector(100, 0, 30)); 137 trackManager->addPoint(Vector(120,-10, 30)); 138 trackManager->addPoint(Vector(150,-10, 30)); 139 trackManager->setDuration(10); 140 trackManager->join(2, fork12, fork13); 141 142 trackManager->workOn(5); 143 trackManager->addPoint(Vector(250, 20, 10)); 144 trackManager->addPoint(Vector(290, 20, 10)); 125 145 trackManager->setDuration(5); 126 146 trackManager->setSavePoint(); 127 trackManager->addPoint(Vector(110,0,5)); 128 trackManager->addPoint(Vector(120,0, 10)); 129 trackManager->addPoint(Vector(130,0, 10)); 130 trackManager->addPoint(Vector(140,0,-10)); 131 trackManager->addPoint(Vector(150,0,-10)); 132 trackManager->setDuration(3); 133 int fork11, fork12, fork13, fork14; 134 trackManager->fork(4, &fork11, &fork12, &fork13, &fork14); 135 trackManager->workOn(fork11); 136 trackManager->addPoint(Vector(170, 0, -15)); 137 trackManager->addPoint(Vector(180, 0, -15)); 138 trackManager->setDuration(3); 139 trackManager->workOn(fork12); 140 trackManager->addPoint(Vector(170, 0, 10)); 141 trackManager->addPoint(Vector(180, 0, 10)); 142 trackManager->addPoint(Vector(190,2,5)); 143 trackManager->addPoint(Vector(200,2,5)); 144 trackManager->setDuration(7); 145 int fork21, fork22; 146 trackManager->fork(2, &fork21, &fork22); 147 trackManager->workOn(fork21); 148 trackManager->addPoint(Vector(220, 10,-10)); 149 trackManager->addPoint(Vector(230, 0,-10)); 150 trackManager->addPoint(Vector(240, 0, 2)); 151 trackManager->addPoint(Vector(250, 0, 0)); 152 trackManager->addPoint(Vector(260, 0, 5)); 153 trackManager->setDuration(3); 154 trackManager->join(2, fork12, fork11); 155 trackManager->workOn(fork22); 156 trackManager->addPoint(Vector(220, -10,10)); 157 trackManager->addPoint(Vector(230, 0, 10)); 158 trackManager->addPoint(Vector(240, 0, 10)); 159 trackManager->addPoint(Vector(250, 0, 5)); 160 trackManager->setDuration(6); 161 trackManager->workOn(fork13); 162 trackManager->addPoint(Vector(200,-10,5)); 163 trackManager->addPoint(Vector(250,-10,5)); 164 trackManager->setDuration(3); 165 trackManager->workOn(fork14); 166 trackManager->addPoint(Vector(200,15,0)); 167 trackManager->addPoint(Vector(210,0,10)); 168 trackManager->setDuration(1); 169 trackManager->join(4, fork21, fork22, fork13, fork14); 170 trackManager->workOn(10); 171 trackManager->addPoint(Vector(250,-10,5)); 172 trackManager->addPoint(Vector(260,-10,5)); 147 trackManager->addPoint(Vector(350, 20, 10)); 148 trackManager->addPoint(Vector(360, 20, 10)); 149 trackManager->addPoint(Vector(370, 20, 10)); 150 trackManager->setDuration(5); 151 152 trackManager->join(2, 6, fork11); 153 173 154 trackManager->finalize(); 155 174 156 175 157 /*monitor progress*/ … … 249 231 this->glmis->step(); 250 232 233 trackManager->setBindSlave(env); 234 trackManager->condition(1, NEAREST, myPlayer); 235 251 236 break; 252 237 }
Note: See TracChangeset
for help on using the changeset viewer.