Changeset 4959 in orxonox.OLD for orxonox/trunk/src/world_entities/weapons/weapon_manager.h
- Timestamp:
- Jul 27, 2005, 6:07:47 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/trunk/src/world_entities/weapons/weapon_manager.h
r4955 r4959 13 13 #include "base_object.h" 14 14 15 #include "p_node.h"16 15 #include "crosshair.h" 16 #include "weapon.h" 17 17 18 18 // FORWARD DECLARATION 19 class PNode;20 class Weapon;21 19 template <class T> class tAnimation; 22 20 … … 25 23 #define WM_MAX_CONFIGS 4 //!< The maximum number of predefined Configurations 26 24 #define WM_MAX_LOADED_WEAPONS 20 //!< The 27 28 //! an enumerator defining capabilities of a WeaponSlot29 typedef enum30 {31 WM_SLOTC_DIRECTIONAL = 0x00000001, //!< if the Slot is able to carry directional weapons32 WM_SLOTC_TURRET = 0x00000002, //!< if the Slot is able to carry turrets33 WM_SLOTC_ALLKINDS = 0x0000000f, //!< if the Slot is able to carry all kinds of weapons34 35 WM_SLOTC_FORWARD = 0x00000010, //!< if the Slot is able to carry weapons firing forward36 WM_SLOTC_BACKWARD = 0x00000020, //!< if the Slot is able to carry weapons firing backwards37 WM_SLOTC_LEFT = 0x00000040, //!< if the Slot is able to carry weapons firing to the left38 WM_SLOTC_RIGHT = 0x00000080, //!< if the Slot is able to carry weapons firing to the right39 WM_SLOTC_ALLDIRS = 0x000000f0, //!< this slot can fire into all directions40 41 WM_SLOTC_ALL = 0x000000ff, //!< everything allowed in this slot42 } WM_SlotCapability;43 25 44 26 //! an enumerator defining a Slot, where a Weapon can be stored inside.
Note: See TracChangeset
for help on using the changeset viewer.