Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3430 in orxonox.OLD for orxonox/branches/trackManager/src/world.cc


Ignore:
Timestamp:
Mar 1, 2005, 9:50:30 AM (19 years ago)
Author:
bensch
Message:

orxonox/branches/trackManager: merged trunk back to trackManager
merged with command
svn merge -r 3369:HEAD trunk/ branches/trackManager
resoloved conflicts in favor of the trunk.

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  
    2727#include "helper_parent.h"
    2828#include "glmenu_imagescreen.h"
     29#include "skysphere.h"
    2930
    3031using namespace std;
     
    6566  this->localCamera->destroy();
    6667
    67   this->nullParent->destroy ();
     68  this->nullParent->destroy();
     69 
     70  delete this->skySphere;
    6871
    6972  //delete this->trackManager;
     
    148151 
    149152  //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();
    153157 
    154158  printf ("World::displayLoadScreen - end\n");
     
    159163{
    160164  printf ("World::releaseLoadScreen - start\n");
    161 
     165  this->glmis->setValue(this->glmis->getMaximum());
     166  SDL_Delay(500);
    162167  printf ("World::releaseLoadScreen - end\n");
    163168}
     
    278283           
    279284
     285            // Create SkySphere
     286            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     287
     288            /*monitor progress*/
     289            this->glmis->step();
     290
    280291            Vector* es = new Vector (50, 2, 0);
    281292            Quaternion* qs = new Quaternion ();
     
    329340            this->getCamera()->bind (myPlayer);
    330341            this->localPlayer->addChild (this->localCamera);
     342
     343            // Create SkySphere
     344            skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     345
    331346            break;
     347
     348
    332349          }
    333350        default:
     
    592609  // draw debug coord system
    593610  glCallList (objectList);
     611
     612  //! \todo skysphere is a WorldEntity and should be inside of the world-entity-list.
     613  skySphere->draw();
    594614
    595615}
     
    673693    }
    674694
     695  skySphere->updatePosition(localCamera->absCoordinate);
    675696  //for( int i = 0; i < tracklen; i++) track[i].tick (seconds);
    676697}
Note: See TracChangeset for help on using the changeset viewer.