Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 168 for code/branches/xml/src


Ignore:
Timestamp:
Nov 5, 2007, 2:43:28 PM (17 years ago)
Author:
nicolape
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/xml/src/orxonox.cc

    r164 r168  
    190190    void createScene(void)
    191191    {
    192 
    193       string levelFile = "sp_level_moonstation.oxw";
    194       loader::LevelLoader* loader = new loader::LevelLoader(levelFile);
     192     
    195193    }
    196194   
     
    200198      Camera *cam = mgr->createCamera("Camera");
    201199      Viewport *vp = mRoot->getAutoCreatedWindow()->addViewport(cam);
     200
     201      string levelFile = "sp_level_moonstation.oxw";
     202      loader::LevelLoader* loader = new loader::LevelLoader(levelFile);
     203     
     204      mgr->setAmbientLight(Ogre::ColourValue(0.3,0.3,0.9));
     205      //mgr->setSkyBox(true,"Examples/SpaceSkyBox");
     206
    202207    }
    203208
Note: See TracChangeset for help on using the changeset viewer.