Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7460 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.cc


Ignore:
Timestamp:
May 1, 2006, 12:30:34 AM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: Namespaces for sound

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/weapons/weapon.cc

    r7350 r7460  
    107107    this->soundBuffers[i] = NULL;                  //< No Sounds
    108108
    109   this->soundSource = new SoundSource(this);       //< Every Weapon has exacty one SoundSource.
     109  this->soundSource = new OrxSound::SoundSource(this);       //< Every Weapon has exacty one SoundSource.
    110110  this->emissionPoint.setParent(this);             //< One EmissionPoint, that is a PNode connected to the weapon. You can set this to the exitting point of the Projectiles
    111111  this->emissionPoint.setName("EmissionPoint");
     
    263263  else if (!soundFile.empty())
    264264  {
    265     this->soundBuffers[action] = (SoundBuffer*)ResourceManager::getInstance()->load(soundFile, WAV);
     265    this->soundBuffers[action] = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(soundFile, WAV);
    266266    if (this->soundBuffers[action] != NULL)
    267267    {
Note: See TracChangeset for help on using the changeset viewer.