Guest User

Untitled

a guest
Sep 24th, 2017
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.91 KB | None | 0 0
  1. // Shotgun
  2. // Animation time = 1000 / fps * numFrames
  3. #define M97_RLT_RELOAD1         400     // Reload normal shell start
  4. #define M97_RLT_RELOAD2         900     // Reload normal shell loop
  5. #define M97_RLT_RELOAD2_QUICK   600     // Reload normal shell loop FAST
  6. #define M97_RLT_RELOAD3         550     // Reload normal shell end
  7. #define M97_RLT_ALTSWITCHFROM   2000    // Reload first shell and pump start
  8. #define M97_RLT_ALTSWITCHTO     300     // Reload first shell and pump to loop
  9. #define M97_RLT_DROP2           375     // Reload first shell and pump end
  10.  
  11. // Shotgun reload states
  12. typedef enum {
  13.     M97_READY,                          // Not reloading
  14.     M97_RELOADING_BEGIN,                // Reload normal shell start
  15.     M97_RELOADING_BEGIN_PUMP,           // Reload first shell and pump start
  16.     M97_RELOADING_AFTER_PUMP,           // Reload first shell and pump to loop
  17.     M97_RELOADING_LOOP,                 // Reload normal shell loop
  18. } m97state_t;
  19.  
  20. // Functions
  21. void PM_BeginM97Reload ( );
  22. void PM_M97Reload      ( );
Add Comment
Please, Sign In to add comment