Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
664 B

  1. //======= Copyright � 1996-2005, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose: Rumble effects mixer for XBox
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #pragma once
  9. #ifndef C_RUMBLE_H
  10. #define C_RUMBLE_H
  11. extern void RumbleEffect( int userID, unsigned char effectIndex, unsigned char rumbleData, unsigned char rumbleFlags );
  12. extern void UpdateRumbleEffects( int userID );
  13. extern void UpdateScreenShakeRumble( int userID, float shake, float balance = 0 );
  14. extern void EnableRumbleOutput( int userID, bool bEnable );
  15. extern void StopAllRumbleEffects( int userID );
  16. #endif//C_RUMBLE_H