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