X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=sound.h;h=39f04efba449203ec4f3f78bf239f270bc9a8239;hp=fda2611cc859eb311f5b76b952bc08e2f1050a75;hb=HEAD;hpb=a2af96e68b210b7c3db90b7ec474498c5611a3a7 diff --git a/sound.h b/sound.h index fda2611..39f04ef 100644 --- a/sound.h +++ b/sound.h @@ -19,14 +19,21 @@ #ifndef VOR_SOUND_H #define VOR_SOUND_H -#include -#include -#include -#include -#include - int init_sound(void); void play_sound(int i); void play_tune(int i); +void pause_tune(); +void resume_tune(); + +// Currently there's only one tune (gameplay). Calling play_tune() with the +// other tune numbers turns the music off, (and makes it easy to add tunes for +// those screens). +#define TUNE_GAMEPLAY 0 +#define TUNE_TITLE_PAGE 1 +#define TUNE_HIGH_SCORE_ENTRY 2 +#define NUM_TUNES 1 + +#define SOUND_BANG 0 +#define NUM_SOUNDS 1 #endif // VOR_SOUND_H