Changeset 3430 in orxonox.OLD for orxonox/branches/trackManager/src/world.cc
- Timestamp:
- Mar 1, 2005, 9:50:30 AM (19 years ago)
- Location:
- orxonox/branches/trackManager
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/trackManager
- Property svn:externals set to
-
orxonox/branches/trackManager/src/world.cc
r3376 r3430 27 27 #include "helper_parent.h" 28 28 #include "glmenu_imagescreen.h" 29 #include "skysphere.h" 29 30 30 31 using namespace std; … … 65 66 this->localCamera->destroy(); 66 67 67 this->nullParent->destroy (); 68 this->nullParent->destroy(); 69 70 delete this->skySphere; 68 71 69 72 //delete this->trackManager; … … 148 151 149 152 //GLMenuImageScreen* 150 glmis = new GLMenuImageScreen(); 151 glmis->init(); 152 glmis->draw(); 153 this->glmis = GLMenuImageScreen::getInstance(); 154 this->glmis->init(); 155 this->glmis->setMaximum(10); 156 this->glmis->draw(); 153 157 154 158 printf ("World::displayLoadScreen - end\n"); … … 159 163 { 160 164 printf ("World::releaseLoadScreen - start\n"); 161 165 this->glmis->setValue(this->glmis->getMaximum()); 166 SDL_Delay(500); 162 167 printf ("World::releaseLoadScreen - end\n"); 163 168 } … … 278 283 279 284 285 // Create SkySphere 286 skySphere = new Skysphere("../data/pictures/sky-replace.jpg"); 287 288 /*monitor progress*/ 289 this->glmis->step(); 290 280 291 Vector* es = new Vector (50, 2, 0); 281 292 Quaternion* qs = new Quaternion (); … … 329 340 this->getCamera()->bind (myPlayer); 330 341 this->localPlayer->addChild (this->localCamera); 342 343 // Create SkySphere 344 skySphere = new Skysphere("../data/pictures/sky-replace.jpg"); 345 331 346 break; 347 348 332 349 } 333 350 default: … … 592 609 // draw debug coord system 593 610 glCallList (objectList); 611 612 //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list. 613 skySphere->draw(); 594 614 595 615 } … … 673 693 } 674 694 695 skySphere->updatePosition(localCamera->absCoordinate); 675 696 //for( int i = 0; i < tracklen; i++) track[i].tick (seconds); 676 697 }
Note: See TracChangeset
for help on using the changeset viewer.