Chris Dick
/
Gameduino_Invaders_game
Invaders game for the Gameduino
Diff: sound.h
- Revision:
- 2:20a89dc286d5
- Parent:
- 1:f44175dd69fd
diff -r f44175dd69fd -r 20a89dc286d5 sound.h --- a/sound.h Sat Sep 29 13:01:42 2012 +0000 +++ b/sound.h Thu Dec 20 21:33:52 2012 +0000 @@ -1,18 +1,18 @@ -/*------------------------------------------------------------------ - Game sounds -------------------------------------------------------------------*/ -// Where to put the sample playback buffer -static const unsigned int samplePlaybackBuffer = 0x7f00; - -// Reset all sounds -void resetGameSounds(); - -// Update all sounds -void updateGameSounds(); - -// Set these flags to true to play the corresponding sound -extern bool playerShootSound; -extern bool alienDeathSound; -extern bool playerDeathSound; -extern bool alienBeatSound; -extern bool saucerSound,stopSaucerSnd,saucerDieSound; +/*------------------------------------------------------------------ + Game sounds +------------------------------------------------------------------*/ +// Where to put the sample playback buffer +static const unsigned int samplePlaybackBuffer = 0x7f00; + +// Reset all sounds +void resetGameSounds(); + +// Update all sounds +void updateGameSounds(); + +// Set these flags to true to play the corresponding sound +extern bool playerShootSound; +extern bool alienDeathSound; +extern bool playerDeathSound; +extern bool alienBeatSound; +extern bool saucerSound,stopSaucerSnd,saucerDieSound;