Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4967 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons


Ignore:
Timestamp:
Jul 28, 2005, 9:24:18 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: multiple sounds on the turret
this does not really work, as openAL is only really able to play back one effect on a SoundSource, this is rather silly…. check it out …

Location:
orxonox/trunk/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/weapons/turret.cc

    r4966 r4967  
    6565
    6666  this->setActionSound(WA_SHOOT, "sound/shot1.wav");
     67  this->setActionSound(WA_ACTIVATE, "sound/vocals/missiles.wav");
     68  this->setActionSound(WA_RELOAD, "sound/vocals/reload.wav");
    6769
    6870  this->setProjectile(CL_TEST_BULLET);
  • orxonox/trunk/src/world_entities/weapons/weapon.cc

    r4959 r4967  
    164164    if (this->soundBuffers[action] != NULL)
    165165    {
    166       PRINTF(4)("Loaded sound %s to action %s\n", soundFile, actionToChar(action));
     166      PRINTF(4)("Loaded sound %s to action %s.\n", soundFile, actionToChar(action));
    167167    }
    168168    else
    169169    {
    170       PRINTF(4)("failed to load sound %s to %s\n", soundFile, actionToChar(action));
     170      PRINTF(4)("Failed to load sound %s to %s.\n.", soundFile, actionToChar(action));
    171171    }
    172172  }
     
    508508  PRINT(3)("Energy: max: %f; current: %f;  loadedMax: %f; loadedCurrent: %f; chargeMin: %f, chargeMax %f\n",
    509509            this->energyMax, this->energy, this->energyLoadedMax, this->energyLoaded, this->minCharge, this->maxCharge);
     510
     511
    510512}
    511513
Note: See TracChangeset for help on using the changeset viewer.