Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 17, 2007, 5:44:18 PM (17 years ago)
Author:
nicolape
Message:

Music loads now from level file

Location:
code/branches/FICN/src/orxonox
Files:
2 edited

Legend:

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

    r576 r584  
    430430    loader_->loadLevel();
    431431
    432         /*
    433     auMan_->ambientAdd("a1");
    434     auMan_->ambientAdd("a2");
    435     auMan_->ambientAdd("a3");
    436                                 //auMan->ambientAdd("ambient1");
    437432    auMan_->ambientStart();
    438         */
    439433  }
    440434
     
    455449    steering_->addNode(node);
    456450
    457 
     451/*
    458452    particle::ParticleInterface *e = new particle::ParticleInterface(mgr,"engine","Orxonox/strahl");
    459453    e->particleSystem_->setParameter("local_space","true");
     
    461455    e->setDirection(Vector3(0,0,-1));
    462456    e->addToSceneNode(node);
     457*/
    463458
    464459    particle::ParticleInterface *w = new particle::ParticleInterface(mgr,"schuss","Orxonox/schuss");
     
    469464    w->setPositionOfEmitter(1, Vector3(-10,10,0));
    470465    w->addToSceneNode(node);
     466
     467    particle::ParticleInterface *tt = new particle::ParticleInterface(mgr,"thrusters","Orxonox/treibwerk");
     468    tt->particleSystem_->setParameter("local_space","true");
     469    tt->newEmitter();
     470    tt->setDirection(Vector3(0,0,1));
     471    tt->setPositionOfEmitter(0, Vector3(15,0,-60));
     472    tt->setPositionOfEmitter(1, Vector3(-15,0,-60));
     473    tt->addToSceneNode(node);
     474
     475
    471476  }
    472477
  • code/branches/FICN/src/orxonox/orxonox.h

    r568 r584  
    4343      inline GraphicsEngine* getOgrePointer() { return ogre_; };
    4444      inline SpaceshipSteering* getSteeringPointer() { return steering_; };
     45      inline audio::AudioManager* getAudioManagerPointer() { return auMan_; };
    4546    private:
    4647      Orxonox();
Note: See TracChangeset for help on using the changeset viewer.