Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7460 in orxonox.OLD for trunk/src/world_entities/power_ups


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

orxonox/trunk: Namespaces for sound

Location:
trunk/src/world_entities/power_ups
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/power_ups/power_up.cc

    r7221 r7460  
    8282  else if (!pickupSound.empty())
    8383  {
    84     this->pickupBuffer = (SoundBuffer*)ResourceManager::getInstance()->load(pickupSound, WAV);
     84    this->pickupBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(pickupSound, WAV);
    8585    if (this->pickupBuffer != NULL)
    8686    {
     
    103103  else if (!respawnSound.empty())
    104104  {
    105     this->respawnBuffer = (SoundBuffer*)ResourceManager::getInstance()->load(respawnSound, WAV);
     105    this->respawnBuffer = (OrxSound::SoundBuffer*)ResourceManager::getInstance()->load(respawnSound, WAV);
    106106    if (this->respawnBuffer != NULL)
    107107    {
  • trunk/src/world_entities/power_ups/power_up.h

    r7221 r7460  
    4545
    4646private:
    47   SoundSource         soundSource;
    48   SoundBuffer*        pickupBuffer;
    49   SoundBuffer*        respawnBuffer;
    50   Material*           sphereMaterial;
    51   PowerUpRespawn      respawnType;
    52   float               respawnTime;
    53   float               respawnStart;
    54   static const char*  respawnTypes[];
     47  OrxSound::SoundSource  soundSource;
     48  OrxSound::SoundBuffer* pickupBuffer;
     49  OrxSound::SoundBuffer* respawnBuffer;
     50  Material*              sphereMaterial;
     51  PowerUpRespawn         respawnType;
     52  float                  respawnTime;
     53  float                  respawnStart;
     54  static const char*     respawnTypes[];
    5555
    56   WorldEntity*        collider;
     56  WorldEntity*           collider;
    5757};
    5858
Note: See TracChangeset for help on using the changeset viewer.