Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7064 in orxonox.OLD for trunk/src/util/hud.cc


Ignore:
Timestamp:
Feb 6, 2006, 10:33:04 PM (18 years ago)
Author:
bensch
Message:

hud work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/util/hud.cc

    r7062 r7064  
    130130    {
    131131      weapon->getEnergyWidget()->show();
     132      weapon->getEnergyWidget()->backMaterial().setDiffuse( .8,.2,.11);
     133      weapon->getEnergyWidget()->backMaterial().setTransparency(.1);
     134      weapon->getEnergyWidget()->frontMaterial().setDiffuse( .2,.5,.7);
     135      weapon->getEnergyWidget()->frontMaterial().setTransparency(.6);
    132136      this->weaponsWidgets.push_back(weapon->getEnergyWidget());
    133137    }
     
    151155  {
    152156    this->energyWidget->setAbsCoor2D(0 * this->resX, 0 * this->resY);
    153     this->energyWidget->setSize2D(.3 * this->resX, 1 * this->resY);
     157    this->energyWidget->setSize2D(.25 * this->resX, 1 * this->resY);
    154158  }
    155159
     
    157161
    158162  std::list<GLGuiWidget*>::iterator weaponWidget;
    159   float pos = .2;
     163  float pos = .3;
    160164  for (weaponWidget = this->weaponsWidgets.begin(); weaponWidget != this->weaponsWidgets.end(); weaponWidget++, pos+=.03)
    161165  {
Note: See TracChangeset for help on using the changeset viewer.