Source code of Windows XP (NT5)
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.

39 lines
863 B

  1. /*==========================================================================
  2. *
  3. * Copyright (c) 1995 - 1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: fbsound.h
  6. * Content: Includes for FoxBear DirectSound support
  7. *
  8. ***************************************************************************/
  9. #ifndef __FBSOUND_INCLUDED__
  10. #define __FBSOUND_INCLUDED__
  11. /*
  12. * types of sound effects
  13. */
  14. typedef enum enum_EFFECT
  15. {
  16. SOUND_STOP = 0,
  17. SOUND_THROW,
  18. SOUND_JUMP,
  19. SOUND_STUNNED,
  20. SOUND_BEARSTRIKE,
  21. SOUND_BEARMISS,
  22. } EFFECT;
  23. #define NUM_SOUND_EFFECTS 6
  24. /*
  25. * fn prototypes
  26. */
  27. BOOL InitSound( HWND );
  28. BOOL DestroySound( void );
  29. BOOL DSDisable( void );
  30. BOOL DSEnable( HWND );
  31. BOOL SoundLoadEffect( EFFECT );
  32. BOOL SoundPlayEffect( EFFECT );
  33. BOOL SoundStopEffect( EFFECT );
  34. BOOL SoundDestroyEffect( EFFECT );
  35. #endif