Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 107 for code/trunk


Ignore:
Timestamp:
Oct 25, 2007, 11:45:51 PM (17 years ago)
Author:
anonymous
Message:

nicolasc: made orxonox.cc work
removed a lot of unused media
fix some corrupted packages

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/bin/resources.cfg

    r89 r107  
    66# Resource locations to be added to the default path
    77[General]
    8 FileSystem=../Media
    9 FileSystem=../Media/fonts
     8#FileSystem=../Media
     9#FileSystem=../Media/fonts
    1010#FileSystem=../Media/materials/programs
    1111#FileSystem=../Media/materials/scripts
     
    1414#FileSystem=../Media/overlays
    1515#FileSystem=../Media/particle
    16 FileSystem=../Media/gui
     16#FileSystem=../Media/gui
    1717#FileSystem=../Media/DeferredShadingMedia
    1818#Zip=../Media/packs/cubemap.zip
     
    2121#Zip=../Media/packs/fresneldemo.zip
    2222#Zip=../Media/packs/ogretestmap.zip
    23 Zip=../Media/packs/skybox.zip
     23#Zip=../Media/packs/skybox.zip
  • code/trunk/src/orxonox.cc

    r89 r107  
    3232SceneNode *lightNode;
    3333
    34 class FrameListener : public ExampleFrameListener
     34class OrxFrameListener : public ExampleFrameListener
    3535{
    3636  public:
    37     FrameListener(RenderWindow* win, Camera* cam, SceneManager *sceneMgr)
     37    OrxFrameListener(RenderWindow* win, Camera* cam, SceneManager *sceneMgr)
    3838  : ExampleFrameListener(win, cam, false, false)
    3939    {
     
    8383        // add tutorial code here:
    8484        // ...
    85       mSceneMgr->setAmbientLight( ColourValue( 0.3, 0.3, 0.3 ) );
     85      //mSceneMgr->setAmbientLight( ColourValue( 0.3, 0.3, 0.3 ) );
    8686      //Entity* head = mSceneMgr->createEntity("head", "ogrehead.mesh");
    8787
    8888      //Entity* head2 = mSceneMgr->createEntity("head2", "ogrehead.mesh");
    8989
    90       SceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) );
     90      //ceneNode *node = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode", Vector3( 0, 0, 0 ) );
    9191      //node->attachObject( head );
    9292
    93       SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) );
     93      //SceneNode *node2 = mSceneMgr->getRootSceneNode()->createChildSceneNode( "OgreHeadNode2", Vector3( 50, 0, 0 ) );
    9494      //node2->attachObject( head2 );
    9595
     
    116116    {
    117117        // create frame listener
    118       mFrameListener = new ExampleFrameListener(mWindow, mCamera, mSceneMgr);
     118      mFrameListener = new OrxFrameListener(mWindow, mCamera, mSceneMgr);
    119119      mRoot->addFrameListener(mFrameListener);
    120120    }
Note: See TracChangeset for help on using the changeset viewer.