Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Shotgun
- // Animation time = 1000 / fps * numFrames
- #define M97_RLT_RELOAD1 400 // Reload normal shell start
- #define M97_RLT_RELOAD2 900 // Reload normal shell loop
- #define M97_RLT_RELOAD2_QUICK 600 // Reload normal shell loop FAST
- #define M97_RLT_RELOAD3 550 // Reload normal shell end
- #define M97_RLT_ALTSWITCHFROM 2000 // Reload first shell and pump start
- #define M97_RLT_ALTSWITCHTO 300 // Reload first shell and pump to loop
- #define M97_RLT_DROP2 375 // Reload first shell and pump end
- // Shotgun reload states
- typedef enum {
- M97_READY, // Not reloading
- M97_RELOADING_BEGIN, // Reload normal shell start
- M97_RELOADING_BEGIN_PUMP, // Reload first shell and pump start
- M97_RELOADING_AFTER_PUMP, // Reload first shell and pump to loop
- M97_RELOADING_LOOP, // Reload normal shell loop
- } m97state_t;
- // Functions
- void PM_BeginM97Reload ( );
- void PM_M97Reload ( );
Add Comment
Please, Sign In to add comment