Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 10, 2007, 7:16:00 PM (18 years ago)
Author:
muellmic
Message:

interface changes

Location:
branches/playability/src/world_entities/weapons
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/playability/src/world_entities/weapons/weapon.cc

    r10229 r10230  
    3333#include "resource_sound_buffer.h"
    3434
    35 #include "elements/glgui_energywidget.h"
     35#include "elements/glgui_energywidgetvertical.h"
    3636
    3737ObjectListDefinition(Weapon);
     
    394394  if (this->energyWidget == NULL)
    395395  {
    396     this->energyWidget = new OrxGui::GLGuiEnergyWidget();
    397     this->energyWidget->setDisplayedName(this->getClassCName());
     396    this->energyWidget = new OrxGui::GLGuiEnergyWidgetVertical();
     397    //this->energyWidget->setDisplayedName(this->getClassCName());
    398398    this->energyWidget->setSize2D( 20, 100);
    399399    this->energyWidget->setMaximum(this->getEnergyMax());
  • branches/playability/src/world_entities/weapons/weapon.h

    r10152 r10230  
    233233    float                maxCharge;                        //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled)
    234234
    235     OrxGui::GLGuiEnergyWidget* energyWidget;
     235    OrxGui::GLGuiEnergyWidgetVertical* energyWidget;
    236236
    237237    PNode*               defaultTarget;                    //!< A target for targeting Weapons.
Note: See TracChangeset for help on using the changeset viewer.