Changeset 8759 for code/branches/ai2/src/modules/weapons
- Timestamp:
- Jul 14, 2011, 10:46:23 PM (13 years ago)
- Location:
- code/branches/ai2/src/modules/weapons/weaponmodes
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/ai2/src/modules/weapons/weaponmodes/EnergyDrink.cc
r8757 r8759 57 57 this->delayTimer_.setTimer(1.0f, false, createExecutor(createFunctor(&EnergyDrink::shot, this))); 58 58 this->delayTimer_.stopTimer(); 59 this->setName("ENERGY_DRINK");60 59 } 61 60 -
code/branches/ai2/src/modules/weapons/weaponmodes/HsW01.cc
r8757 r8759 60 60 61 61 this->setDefaultSound("sounds/Weapon_HsW01.ogg"); 62 this->setName("HSW01");63 62 } 64 63 -
code/branches/ai2/src/modules/weapons/weaponmodes/LaserFire.cc
r8757 r8759 49 49 50 50 this->setMunitionName("LaserMunition"); 51 this->setName("LASER_FIRE");52 51 } 53 52 -
code/branches/ai2/src/modules/weapons/weaponmodes/LightningGun.cc
r8757 r8759 50 50 this->setMunitionName("LaserMunition"); 51 51 this->setDefaultSound("sounds/Weapon_LightningGun.ogg"); 52 this->setName("LIGHTNING_GUN");53 52 } 54 53 -
code/branches/ai2/src/modules/weapons/weaponmodes/RocketFire.cc
r8757 r8759 52 52 53 53 this->setMunitionName("RocketMunition"); 54 this->setName("RocketFire");55 54 // The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning) 56 55 } -
code/branches/ai2/src/modules/weapons/weaponmodes/SimpleRocketFire.cc
r8757 r8759 55 55 this->setMunitionName("RocketMunition"); 56 56 this->setDefaultSoundWithVolume("sounds/Rocket_launch.ogg",0.4f); 57 this->setName("SimpleRocketFire");58 57 // The firing sound of the Rocket is played in Rocket.cc (because of OpenAl sound positioning) 59 58 }
Note: See TracChangeset
for help on using the changeset viewer.