home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dream 52
/
Amiga_Dream_52.iso
/
Linux
/
Divers
/
xgalaga-2_0_tar.gz
/
xgalaga-2_0_tar
/
xgalaga-2.0
/
sound.h
< prev
next >
Wrap
C/C++ Source or Header
|
1998-04-12
|
821b
|
27 lines
/*
* sound.h - Platform Independant Sound Support - Dec. 1994
*
* Copyright 1994 Sujal M. Patel (smpatel@wam.umd.edu)
* Conditions in "copyright.h"
*/
#ifdef SOUND
#define SND_EXPLOSION 0
#define SND_FIRETORP 1
#define SND_SHIELD 2
#define SND_TORPHIT 3
#define SND_EXP_SB 4
#define SND_DDLOO 5
#define SND_WARP 6
#define SND_SMART 7
#ifdef __STDC__
void init_sound (); /* Init Sound System */
void play_sound (int k); /* Play a Sound */
void maybe_play_sound (int k); /* Play sound if the last 'k' sound_completed */
void sound_completed (int k); /* Complete a sound 'k' */
void kill_sound (); /* Terminate a sound unpredictably :) */
#endif
#endif /* SOUND */