Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10368 in orxonox.OLD for trunk/src/world_entities/sound_entity.cc


Ignore:
Timestamp:
Jan 25, 2007, 2:18:07 PM (19 years ago)
Author:
patrick
Message:

merged the branche playability into the trunk

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        1010autom4te.cache
        1111aclocal.m4
         12tags
         13test.bmp
         14config.sub
         15config.guess
         16OrxonoxPlayability.kdevses
         17OrxonoxPlayability.kdevelop.pcs
  • trunk/src/world_entities/sound_entity.cc

    r10351 r10368  
    1717#include "sound_entity.h"
    1818
     19#include "util/loading/load_param.h"
    1920#include "util/loading/factory.h"
    2021#include "material.h"
     
    4344    this->loadParams(root);
    4445
    45   this->thunderBuffer = OrxSound::ResourceSoundBuffer("sounds/atmosphere/thunder.wav");
    4646}
    4747
     
    5353{
    5454}
    55 
    5655
    5756/**
     
    7372 * @param fileName name of the sound source
    7473 */
    75 void SoundEntity::setSoundFile(const std::string fileName)
     74void SoundEntity::setSoundFile(const std::string& fileName)
    7675{
    7776  this->soundBuffer = OrxSound::ResourceSoundBuffer(fileName);
Note: See TracChangeset for help on using the changeset viewer.