1 /* 2 * sound.h - Platform Independant Sound Support - Dec. 1994 3 * 4 * Copyright 1994 Sujal M. Patel (smpatel@wam.umd.edu) 5 * Conditions in "copyright.h" 6 */ 7 8 #ifdef SOUND 9 10 #define SND_EXPLOSION 0 11 #define SND_FIRETORP 1 12 #define SND_SHIELD 2 13 #define SND_TORPHIT 3 14 #define SND_EXP_SB 4 15 #define SND_DDLOO 5 16 #define SND_WARP 6 17 #define SND_SMART 7 18 19 #ifdef __STDC__ 20 void init_sound (); /* Init Sound System */ 21 void play_sound (int k); /* Play a Sound */ 22 void maybe_play_sound (int k); /* Play sound if the last 'k' sound_completed */ 23 void sound_completed (int k); /* Complete a sound 'k' */ 24 void kill_sound (); /* Terminate a sound unpredictably :) */ 25 #endif 26 #endif /* SOUND */ 27