Changeset 10230 in orxonox.OLD for branches/playability/src/world_entities/weapons
- Timestamp:
- Jan 10, 2007, 7:16:00 PM (18 years ago)
- Location:
- branches/playability/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability/src/world_entities/weapons/weapon.cc
r10229 r10230 33 33 #include "resource_sound_buffer.h" 34 34 35 #include "elements/glgui_energywidget .h"35 #include "elements/glgui_energywidgetvertical.h" 36 36 37 37 ObjectListDefinition(Weapon); … … 394 394 if (this->energyWidget == NULL) 395 395 { 396 this->energyWidget = new OrxGui::GLGuiEnergyWidget ();397 this->energyWidget->setDisplayedName(this->getClassCName());396 this->energyWidget = new OrxGui::GLGuiEnergyWidgetVertical(); 397 //this->energyWidget->setDisplayedName(this->getClassCName()); 398 398 this->energyWidget->setSize2D( 20, 100); 399 399 this->energyWidget->setMaximum(this->getEnergyMax()); -
branches/playability/src/world_entities/weapons/weapon.h
r10152 r10230 233 233 float maxCharge; //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled) 234 234 235 OrxGui::GLGuiEnergyWidget * energyWidget;235 OrxGui::GLGuiEnergyWidgetVertical* energyWidget; 236 236 237 237 PNode* defaultTarget; //!< A target for targeting Weapons.
Note: See TracChangeset
for help on using the changeset viewer.