Changeset 194 for code/branches/main_reto_vs05/src/weapon/weapon_manager.h
- Timestamp:
- Nov 11, 2007, 2:24:50 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/main_reto_vs05/src/weapon/weapon_manager.h
r189 r194 44 44 NOTHING = 0, 45 45 RELOAD = 1, 46 ZOOM_IN= 2,47 ZOOM_OUT= 346 CHANGE_AMMO = 2, 47 SPECIAL = 3 48 48 }; 49 49 … … 53 53 PRIMARY_FIRE = 1, 54 54 SECONDARY_FIRE = 2, 55 RELOADING = 4 55 RELOADING = 3, 56 CHANGING_AMMO = 4, 56 57 }; 57 58 … … 77 78 void primaryFire(); 78 79 80 void primaryFiring(unsigned int); 81 79 82 void secondaryFire(); 83 84 void secondaryFiring(unsigned int); 80 85 81 86 public: … … 97 102 bool secondaryFireRequest_; 98 103 104 unsigned long actionStartTime_; 105 99 106 State currentState_; 107 bool secondaryFired_; 100 108 101 Action *actionList_; 102 int actionListReadIndex_; 103 int actionListWriteIndex_; 109 Action nextAction_; 110 bool actionAdded_; 111 unsigned long timeSinceNextActionAdded_; 112 static const unsigned long nextActionValidityPeriod_ = 500; 104 113 105 114 static Weapon **weaponList_s;
Note: See TracChangeset
for help on using the changeset viewer.