Space invaders with a nRF2401A wireless joypad

Dependencies:   Gameduino mbed nRF2401A

Fork of Gameduino_Invaders_game by Chris Dick

Gameduino and an nRF2401A hooked up to an mbed on an mbeduino:

/media/uploads/TheChrisyd/2014-03-08_22.53.54.jpg

sound.h

Committer:
TheChrisyd
Date:
2014-03-09
Revision:
5:3ede9991d8e0
Parent:
2:20a89dc286d5

File content as of revision 5:3ede9991d8e0:

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