X-Git-Url: https://jasonwoof.com/gitweb/?p=vor.git;a=blobdiff_plain;f=sound.h;h=39f04efba449203ec4f3f78bf239f270bc9a8239;hp=57cb6f12660ff31a1800b3def1c204176aef4bbd;hb=HEAD;hpb=bc062811fa00aab75604a711104b131b21035efc diff --git a/sound.h b/sound.h index 57cb6f1..39f04ef 100644 --- a/sound.h +++ b/sound.h @@ -22,13 +22,18 @@ int init_sound(void); void play_sound(int i); void play_tune(int i); +void pause_tune(); +void resume_tune(); -#define TUNE_TITLE_PAGE 0 -#define TUNE_GAMEPLAY 1 -#define TUNE_HIGH_SCORE_ENTRY 2 -#define NUM_TUNES 3 +// 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 +#define SOUND_BANG 0 +#define NUM_SOUNDS 1 #endif // VOR_SOUND_H