Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 107 for code/trunk/src


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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.