X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=sound.h;h=39f04efba449203ec4f3f78bf239f270bc9a8239;hp=5f5a586df873f4d1de5d770ec8c869034c4c3d0b;hb=HEAD;hpb=e0fab1bd78914a12ee88f2a9fcfca9f28a1df0f2 diff --git a/sound.h b/sound.h index 5f5a586..39f04ef 100644 --- a/sound.h +++ b/sound.h @@ -22,5 +22,18 @@ 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