Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 168


Ignore:
Timestamp:
Nov 5, 2007, 2:43:28 PM (17 years ago)
Author:
nicolape
Message:
 
Location:
code/branches/xml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/xml/bin/run-script

    r89 r168  
    11#!/bin/bash
    2 
     2cd bin
    33if [[ !  -f main ]] ; then
    44        echo "main does not exist"
     
    2323fi
    2424exec ./main
     25cd ..
  • 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.