Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8966 for code/branches/hud


Ignore:
Timestamp:
Dec 7, 2011, 6:33:40 PM (13 years ago)
Author:
mspaling
Message:

worked on the enemyhealthbar again

Location:
code/branches/hud
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/hud/data/overlays/HUDTemplates3.oxo

    r8955 r8966  
    8282     background        = "Orxonox/HealthBarBackground"
    8383     size              = "0.35, 0.0875"
    84      position          = "0.5 , 0.1 "
    85      pickpoint         = "0, 1"
     84     position          = "1.0 , 0.1 "
     85     pickpoint         = "1, 1"
    8686     bartexture        = "healthbar_bar.png"
    8787     textfont          = "VeraMono"
     
    9797      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
    9898      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
    99     </HUDHealthBar>
     99    </HUDEnemyHealthBar>
    100100
    101101    <HUDNavigation
  • code/branches/hud/src/modules/overlays/hud/HUDHealthBar.h

    r7401 r8966  
    110110                { return this->textoverlay_->getSpaceWidth(); }
    111111
     112            inline void setOverlayText(SmartPtr<OverlayText> textoverlay)
     113                { this->textoverlay_ = textoverlay; }
     114            inline SmartPtr<OverlayText> getOverlayText() const
     115                {return this->textoverlay_; }
     116
    112117        private:
    113118            WeakPtr<Pawn> owner_;
Note: See TracChangeset for help on using the changeset viewer.