home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
NEXT Generation 27
/
NEXT27.iso
/
pc
/
demos
/
emperor
/
dx3.exe
/
SDK
/
SAMPLES
/
FOXBEAR
/
FBSOUND.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-08-28
|
898b
|
40 lines
/*==========================================================================
*
* Copyright (C) 1995-1996 Microsoft Corporation. All Rights Reserved.
*
* File: fbsound.h
* Content: Includes for FoxBear DirectSound support
*
***************************************************************************/
#ifndef __FBSOUND_INCLUDED__
#define __FBSOUND_INCLUDED__
/*
* types of sound effects
*/
typedef enum enum_EFFECT
{
SOUND_STOP = 0,
SOUND_THROW,
SOUND_JUMP,
SOUND_STUNNED,
SOUND_BEARSTRIKE,
SOUND_BEARMISS,
} EFFECT;
#define NUM_SOUND_EFFECTS 6
/*
* fn prototypes
*/
BOOL InitSound( HWND );
BOOL DestroySound( void );
BOOL DSDisable( void );
BOOL DSEnable( HWND );
BOOL SoundLoadEffect( EFFECT );
BOOL SoundPlayEffect( EFFECT );
BOOL SoundStopEffect( EFFECT );
BOOL SoundDestroyEffect( EFFECT );
#endif