Changeset 10878 for code/branches/fabienHS15/src/modules
- Timestamp:
- Nov 27, 2015, 6:49:54 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/modules
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/overlays/hud/HUDEnemyShieldBar.cc
r10842 r10878 71 71 target = target->getParent(); 72 72 pawn = orxonox_cast<Pawn*>(target); 73 // Don't show the HealthBar if the pawn is invisible73 // Don't show the EnemyShieldBar if the pawn is invisible 74 74 if (pawn && !pawn->isVisible()) 75 75 pawn = NULL; 76 76 } 77 // Set the pawn as owner of the HealthBar77 // Set the pawn as owner of the EnemyShieldBar 78 78 this->setShieldBarOwner(pawn); 79 79 this->setVisible(pawn != NULL); -
code/branches/fabienHS15/src/modules/overlays/hud/HUDWeaponMode.cc
r10795 r10878 160 160 ReplenishingMunition* replenishingMunition = dynamic_cast<ReplenishingMunition*>(munition); 161 161 162 if (replenishingMunition->canAddM unition(1))162 if (replenishingMunition->canAddMagazines(1)) 163 163 { 164 164 float progress = 1.0f - replenishingMunition->getProgress(); -
code/branches/fabienHS15/src/modules/weapons/munitions/FusionMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 10; 47 47 this->maxMagazines_ = 10; 48 this-> magazines_ = 10;48 this->unassignedMagazines_ = 10; 49 49 50 50 this->deployment_ = MunitionDeployment::Separate; -
code/branches/fabienHS15/src/modules/weapons/munitions/GravityBombMunition.cc
r10791 r10878 18 18 this->maxMunitionPerMagazine_ = 1; 19 19 this->maxMagazines_ = 30; 20 this-> magazines_ = 15;20 this->unassignedMagazines_ = 15; 21 21 22 22 this->deployment_ = MunitionDeployment::Stack; -
code/branches/fabienHS15/src/modules/weapons/munitions/IceMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 1; 47 47 this->maxMagazines_ = 50; 48 this-> magazines_ = 25;48 this->unassignedMagazines_ = 25; 49 49 50 50 this->deployment_ = MunitionDeployment::Stack; -
code/branches/fabienHS15/src/modules/weapons/munitions/LaserMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 20; 47 47 this->maxMagazines_ = 10; 48 this-> magazines_ = 10;48 this->unassignedMagazines_ = 10; 49 49 50 50 this->deployment_ = MunitionDeployment::Separate; … … 53 53 this->bAllowMultiMunitionRemovementUnderflow_ = true; 54 54 55 this->replenishInterval_ = 0.5f;55 this->replenishInterval_ = 7.0f; 56 56 this->replenishAmount_ = 1; 57 57 -
code/branches/fabienHS15/src/modules/weapons/munitions/LightningMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 20; 47 47 this->maxMagazines_ = 1; 48 this-> magazines_ = 1;48 this->unassignedMagazines_ = 1; 49 49 50 50 this->deployment_ = MunitionDeployment::Share; -
code/branches/fabienHS15/src/modules/weapons/munitions/RocketMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 1; 47 47 this->maxMagazines_ = 30; 48 this-> magazines_ = 10;48 this->unassignedMagazines_ = 10; 49 49 50 50 this->deployment_ = MunitionDeployment::Stack; -
code/branches/fabienHS15/src/modules/weapons/munitions/SplitMunition.cc
r10791 r10878 46 46 this->maxMunitionPerMagazine_ = 5; 47 47 this->maxMagazines_ = 10; 48 this-> magazines_ = 5;48 this->unassignedMagazines_ = 5; 49 49 50 50 this->deployment_ = MunitionDeployment::Share;
Note: See TracChangeset
for help on using the changeset viewer.