Changeset 10842 for code/branches/fabienHS15/src
- Timestamp:
- Nov 23, 2015, 5:45:13 PM (9 years ago)
- Location:
- code/branches/fabienHS15/src/modules/overlays
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/fabienHS15/src/modules/overlays/OverlaysPrereqs.h
r10814 r10842 93 93 class HUDBoostBar; 94 94 class HUDRocketFuelBar; 95 class HUDEnemyHealthBar; 96 class HUDEnemyShieldBar; 97 class HUDWeaponSystem; 98 class HUDWeapon; 99 class HUDWeaponMode; 95 100 class HUDTimer; 96 101 class HUDAimAssistant; -
code/branches/fabienHS15/src/modules/overlays/hud/CMakeLists.txt
r10814 r10842 10 10 HUDTimer.cc 11 11 HUDEnemyHealthBar.cc 12 HUDEnemyShieldBar.cc 12 13 HUDWeaponMode.cc 13 14 HUDWeapon.cc -
code/branches/fabienHS15/src/modules/overlays/hud/HUDShieldBar.cc
r10746 r10842 54 54 if (this->owner_) 55 55 { 56 float maxShieldHealth = this->owner_->get ShieldHealth();56 float maxShieldHealth = this->owner_->getMaxShieldHealth(); 57 57 float shieldHealth = this->owner_->getShieldHealth(); 58 58 … … 66 66 } 67 67 } 68 else 69 { 70 this->setValue(0.0f); 71 } 68 72 } 69 73 -
code/branches/fabienHS15/src/modules/overlays/hud/HUDShieldBar.h
r10746 r10842 52 52 virtual void changedOwner(); 53 53 54 inline void setShieldBarOwner(Pawn* owner) 55 { this->owner_ = owner; } 54 56 private: 55 57 Pawn* owner_;
Note: See TracChangeset
for help on using the changeset viewer.