Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Apr 13, 2005, 7:38:52 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: SkyBox even better,

world-entity implements a draw function of its own

some other minor stuff

Location:
orxonox/trunk/src/story_entities
Files:
2 edited

Legend:

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

    r3801 r3803  
    3030#include "environment.h"
    3131#include "skysphere.h"
     32#include "skybox.h"
    3233#include "satellite.h"
    3334#include "terrain.h"
     
    327328
    328329            // Create SkySphere
    329             this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
    330             this->skySphere->setName("SkySphere");
    331             this->localCamera->addChild(this->skySphere);
    332             this->spawn(this->skySphere);
     330            //      this->skySphere = new Skysphere("../data/pictures/sky-replace.jpg");
     331            //      this->skySphere->setName("SkySphere");
     332            //      this->localCamera->addChild(this->skySphere);
     333            //      this->spawn(this->skySphere);
     334            skyBox = new SkyBox();
     335            this->spawn(skyBox);
    333336
    334337            /*monitor progress*/
  • orxonox/trunk/src/story_entities/world.h

    r3795 r3803  
    2020class GLMenuImageScreen;
    2121class Skysphere;
     22class SkyBox;
    2223class LightManager;
    2324class Terrain;
     
    109110  Camera* localCamera;                //!< The current Camera
    110111  Skysphere* skySphere;               //!< The Environmental Heaven of orxonox \todo insert this to environment insted
     112  SkyBox* skyBox;
    111113  LightManager* lightMan;             //!< The Lights of the Level
    112114  Terrain* terrain;                   //!< The Terrain of the World.
Note: See TracChangeset for help on using the changeset viewer.