Changeset 10698 in orxonox.OLD for trunk/src/world_entities/weapons/weapon.h
- Timestamp:
- Jun 14, 2007, 5:33:43 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/weapons/weapon.h
r10516 r10698 124 124 Projectile* getProjectile(); 125 125 126 inline void setScaling(float scaling) { this->scaling = scaling; }; 127 inline float getScaling() { return this->scaling; }; 126 128 127 129 // EMISSION … … 181 183 inline void setSegs(int segs) { this->segs = segs; }; 182 184 183 inline Animation3D* getShootAnim(int barrel, int seg) { return this->shootAnim[barrel][seg]; };184 inline void setShootAnim(int barrel, int seg, PNode* component) { this->shootAnim[barrel][seg] = this->getAnimation(barrel, seg, component); };185 186 void init2();185 // inline Animation3D* getShootAnim(int barrel, int seg) { return this->shootAnim[barrel][seg]; }; 186 // inline void setShootAnim(int barrel, int seg, PNode* component) { this->shootAnim[barrel][seg] = this->getAnimation(barrel, seg, component); }; 187 188 // void init2(); 187 189 void deconstr(); 188 190 … … 248 250 PNode* defaultTarget; //!< A target for targeting Weapons. 249 251 252 float scaling; //!< Local scaling factor. any scaling will be done through this vector. 253 250 254 //////////// 251 255 // PHASES //
Note: See TracChangeset
for help on using the changeset viewer.