Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10402 in orxonox.OLD for branches/playability/src


Ignore:
Timestamp:
Jan 27, 2007, 12:19:41 AM (18 years ago)
Author:
muellmic
Message:

added stats icons to hud

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/util/hud.cc

    r10368 r10402  
    129129    //dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->energyWidget)->setStandardSettings();
    130130    this->energyWidget->setParent2D(this->leftRect);
     131    dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->energyWidget)->setDisplayedImage("textures/gui/gui_electronics_icon.png");
    131132    this->energyWidget->show();
    132133    /*    this->energyWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
     
    157158    //dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->shieldWidget)->setStandardSettings();
    158159    this->shieldWidget->setParent2D(this->leftRect);
     160    dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->shieldWidget)->setDisplayedImage("textures/gui/gui_shield_icon.png");
    159161    this->shieldWidget->show();
    160162    /*    this->shieldWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
     
    187189    //dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->armorWidget)->setStandardSettings();
    188190    this->armorWidget->setParent2D(this->leftRect);
     191    dynamic_cast<OrxGui::GLGuiEnergyWidgetVertical*> (this->armorWidget)->setDisplayedImage("textures/gui/gui_health_icon.png");
    189192    this->armorWidget->show();
    190193    /*    this->armorWidget->frontMaterial().setDiffuseMap("hud_energy_bar.png");
Note: See TracChangeset for help on using the changeset viewer.