/* ------------------------------------------------------------------ Black Nebula File : Sound.c Programmer: Colin Adams Date: 13/5/91 Last Modified : 29/5/91 Description: Plays sound files. This file just calls routines in easysound.c which I did not write. ------------------------------------------------------------------ */ #include #include "easysound.h" char *samples[] = { "fire.snd", // 0 "explosion.snd", // 1 "missile1.snd", // 2 }; #define NUMBER_OF_SAMPLES (sizeof(samples)/sizeof(char *)) CPTR sounds[NUMBER_OF_SAMPLES]; void SoundSetUp(void) { int i; for(i=0; i