Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8955 for code


Ignore:
Timestamp:
Nov 30, 2011, 4:57:35 PM (13 years ago)
Author:
mspaling
Message:

worked on EnemyHealthBar

Location:
code/branches/hud
Files:
3 edited

Legend:

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

    r8706 r8955  
    7878    </HUDBoostBar>
    7979
     80    <HUDEnemyHealthBar
     81     name              = "EnemyHealthBar"
     82     background        = "Orxonox/HealthBarBackground"
     83     size              = "0.35, 0.0875"
     84     position          = "0.5 , 0.1 "
     85     pickpoint         = "0, 1"
     86     bartexture        = "healthbar_bar.png"
     87     textfont          = "VeraMono"
     88     textusebarcolour  = true
     89     textsize          = 0.039
     90     textoffset        = "0.315, 0.05"
     91     textpickpoint     = "0, 0"
     92     textalign         = "right"
     93     correctaspect     = false
     94     textcorrectaspect = false
     95    >
     96      <BarColour position = 0.0 colour = "0.7,0.2,0.2" />
     97      <BarColour position = 0.5 colour = "0.7,0.7,0.2" />
     98      <BarColour position = 1.0 colour = "0.2,0.7,0.2" />
     99    </HUDHealthBar>
     100
    80101    <HUDNavigation
    81102     name          = "Navigation"
  • code/branches/hud/src/modules/overlays/hud/CMakeLists.txt

    r8706 r8955  
    77  HUDHealthBar.cc
    88  HUDTimer.cc
     9  HUDEnemyHealthBar.cc
    910  ChatOverlay.cc
    1011  AnnounceMessage.cc
  • code/branches/hud/src/modules/overlays/hud/HUDNavigation.h

    r8920 r8955  
    6868    { return 1.0f; }
    6969
     70    unsigned int getMarkerLimit() { return this->markerLimit_; }
     71
    7072private:
    7173    struct ObjectInfo
     
    8587    float getNavMarkerSize() const
    8688    { return navMarkerSize_; }
     89
    8790
    8891    void setTextSize ( float size );
     
    106109    bool showDistance;
    107110
    108     unsigned int markerLimit_;; //TODO: is it possible to set this over the console and/or the IG-Setting
     111    unsigned int markerLimit_;;
    109112
    110113
Note: See TracChangeset for help on using the changeset viewer.