Invaders game for the Gameduino

Dependencies:   Gameduino mbed

sound.h

Committer:
TheChrisyd
Date:
2013-10-26
Revision:
4:e82f4a87df9e
Parent:
2:20a89dc286d5

File content as of revision 4:e82f4a87df9e:

/*------------------------------------------------------------------
  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;