Changeset 10362 in orxonox.OLD for branches/playability.new/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jan 25, 2007, 3:05:01 AM (17 years ago)
- Location:
- branches/playability.new
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/playability.new
- Property svn:ignore
-
old new 10 10 autom4te.cache 11 11 aclocal.m4 12 tags 13 test.bmp 14 config.sub 15 config.guess 16 OrxonoxPlayability.kdevses 17 OrxonoxPlayability.kdevelop.pcs
-
- Property svn:ignore
-
branches/playability.new/src/world_entities/weapons/weapon_manager.h
r9869 r10362 60 60 void loadWeapons(const TiXmlElement* root); 61 61 62 void showCrosshair(); 63 void hideCrosshair(); 64 void setRotationSpeed(float speed); 65 62 66 void setSlotCount(unsigned int slotCount); 63 67 unsigned int getSlotCount() const { return this->slotCount; }; … … 91 95 92 96 float increaseAmmunition(const ClassID& projectileType, float ammo); 93 float inc lreaseAmmunition(const Weapon* weapon, float ammo);97 float increaseAmmunition(const Weapon* weapon, float ammo); 94 98 95 99 /** @returns a fixed target namely the Crosshair's 3D position */ … … 99 103 //! @TODO: implement this function (maybe also in Weapon itself) 100 104 void releaseFire(); 105 //inline void setFire() { this->bFire = true; }; 101 106 102 107 void tick(float dt); … … 127 132 128 133 std::vector<CountPointer<AmmoContainer> > ammo; //!< Containers 134 135 bool bFire; 129 136 }; 130 137
Note: See TracChangeset
for help on using the changeset viewer.