Chris Dick
/
Gameduino_Invaders_game
Invaders game for the Gameduino
Diff: sound.h
- Revision:
- 0:8a7c58553b44
- Child:
- 1:f44175dd69fd
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/sound.h Thu Jun 21 19:13:34 2012 +0000 @@ -0,0 +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;