Changeset 4208 in orxonox.OLD for orxonox/branches/openAL/src/world_entities/test_gun.cc
- Timestamp:
- May 17, 2005, 3:36:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/openAL/src/world_entities/test_gun.cc
r4194 r4208 31 31 #include "list.h" 32 32 #include "animation3d.h" 33 #include "sound_engine.h" 33 34 34 35 using namespace std; … … 86 87 this->animation3->addKeyFrame(Vector(-2.6, 0.1, -2.0), Quaternion(), 0.1, ANIM_LINEAR, ANIM_CONSTANT); 87 88 } 88 89 90 this->fireSound = (SoundBuffer*)ResourceManager::getInstance()->load("sound/explo.wav", WAV); 91 this->weaponSource = new SoundSource(this->fireSound, this); 89 92 } 90 93 … … 137 140 return; 138 141 } 142 143 weaponSource->play(); 139 144 140 145 Projectile* pj = new TestBullet(this);
Note: See TracChangeset
for help on using the changeset viewer.