Changeset 4837 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jul 12, 2005, 3:11:57 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon_manager.h
r4836 r4837 33 33 class Weapon; 34 34 class Crosshair; 35 template <class T> class tAnimation; 35 36 36 37 #define W_MAX_SLOTS 8 … … 57 58 58 59 //! this is a weapon Configuration: it has up to 8 slots 59 typedef struct weaponConfig60 typedef struct 60 61 { 61 62 bool bUsed; //!< is set to true, if this configuration is 62 63 Weapon* slots[8]; 63 } ;64 } weaponConfig; 64 65 65 66 … … 85 86 86 87 private: 87 Crosshair* crosshair; //!< an aim.88 int getNextFreeSlot(int configID); 88 89 89 int nrOfSlots; //<! number of weapon slots a ship has90 int currConfID; //<! the currently selected config91 weaponConfig configs[4]; //<! a list of four configurations90 private: 91 Crosshair* crosshair; //!< an aim. 92 tAnimation<Crosshair>* crossHairSizeAnim; 92 93 93 int getNextFreeSlot(int configID); 94 int nrOfSlots; //<! number of weapon slots a ship has 95 int currConfID; //<! the currently selected config 96 weaponConfig configs[4]; //<! a list of four configurations 97 94 98 };
Note: See TracChangeset
for help on using the changeset viewer.