Changeset 10772 in orxonox.OLD for branches/presentation/src/world_entities/weapons/weapon.cc
- Timestamp:
- Jul 2, 2007, 3:57:53 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/presentation/src/world_entities/weapons/weapon.cc
r10771 r10772 12 12 ### File Specific 13 13 main-programmer: Patrick Boenzli 14 co-programmer: Benjamin Grauer 14 co-programmer: Benjamin Grauer, Nicolas Schlumberger 15 15 16 16 2005-07-15: Benjamin Grauer: restructurating the entire Class … … 63 63 delete this->soundSource; 64 64 65 //!< PNode must not be deleted, gc takes care of. 65 66 // for (int i = 0; i < MAX_BARRELS; i++) 66 67 // { … … 132 133 133 134 this->barrels = 1; // just to have an initial value 134 this->segs = 1;135 this->activeBarrel = 0; 135 this->segs = 0; // by default there are no movable parts 136 this->activeBarrel = 0; //array wize, 0 means first barrel 136 137 137 138 this->preferedSide = -1; … … 163 164 this->maxCharge = 1.0; //< The maximum charge is also one unit. 164 165 165 this->energy = 10.0; 166 this->energy = 10.0; //< The secondary Buffer (before we have to reload) 166 167 this->energyMax = 10.0; //< How much energy can be carried 167 168 this->capability = WTYPE_ALL; //< The Weapon has all capabilities @see W_Capability. 168 169 169 170 this->energyWidget = NULL; 170 isEnergyWidgetInitialized = false; 171 isEnergyWidgetInitialized = false; // FIXME, needs to be cleaned 171 172 172 173 // set this object to be synchronized over network
Note: See TracChangeset
for help on using the changeset viewer.