Changeset 8976 in orxonox.OLD for trunk/src/world_entities/weapons
- Timestamp:
- Jul 1, 2006, 1:05:38 PM (18 years ago)
- Location:
- trunk/src/world_entities/weapons
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.cc
r8316 r8976 34 34 #include "sound_buffer.h" 35 35 36 #include " glgui_bar.h"36 #include "elements/glgui_energywidget.h" 37 37 38 38 using namespace std; … … 312 312 if (this->energyWidget == NULL) 313 313 { 314 this->energyWidget = new OrxGui::GLGui Bar;314 this->energyWidget = new OrxGui::GLGuiEnergyWidget; 315 315 this->energyWidget->setSize2D( 20, 100); 316 316 this->energyWidget->setMaximum(this->getEnergyMax()); -
trunk/src/world_entities/weapons/weapon.h
r8777 r8976 25 25 class TiXmlElement; 26 26 class FastFactory; 27 namespace OrxGui{ class GLGuiWidget; }28 27 template<class T> class tFastFactory; 29 28 … … 210 209 float maxCharge; //!< The maximal energy to be loaded onto one projectile (this is only availible if chargeable is enabled) 211 210 212 OrxGui::GLGui Bar*energyWidget;211 OrxGui::GLGuiEnergyWidget* energyWidget; 213 212 214 213 PNode* defaultTarget; //!< A target for targeting Weapons.
Note: See TracChangeset
for help on using the changeset viewer.