Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2006, 1:08:50 PM (17 years ago)
Author:
nicolasc
Message:

equalized energy usage of all blasters
solved the fire echo problem, by implementing the releaseFire()
other spaceships need update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/weapon_manager.cc

    r10023 r10036  
    116116
    117117  this->hideCrosshair();
     118
     119  this->bFire = false;
    118120}
    119121
     
    441443}
    442444
     445/**
     446 * triggers fire of all weapons in the current weaponconfig
     447 */
     448void WeaponManager::releaseFire()
     449{
     450  Weapon* firingWeapon;
     451  for(int i = 0; i < this->slotCount; i++)
     452  {
     453    firingWeapon = this->currentSlotConfig[i].currentWeapon;
     454    if( firingWeapon != NULL) firingWeapon->requestAction(WA_NONE);
     455  }
     456
     457  /*
     458  this->crosshair->setRotationSpeed(500);
     459  this->crossHairSizeAnim->replay();
     460  */
     461}
    443462
    444463/**
     
    449468{
    450469  Weapon* tickWeapon;
     470
    451471
    452472  for(int i = 0; i < this->slotCount; i++)
Note: See TracChangeset for help on using the changeset viewer.