![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Invaders game for the Gameduino
Diff: game.h
- Revision:
- 1:f44175dd69fd
- Parent:
- 0:8a7c58553b44
- Child:
- 2:20a89dc286d5
--- a/game.h Thu Jun 21 19:13:34 2012 +0000 +++ b/game.h Sat Sep 29 13:01:42 2012 +0000 @@ -1,25 +1,25 @@ -//#include <SPI.h> -#include "GD.h" -#include "joystick.h" -#include "shield.h" -#include "mbed.h" -#include "arduino.h" -/*--------------------------------------------- - Data types ----------------------------------------------*/ -typedef char int8; - -/*--------------------------------------------- - Header files ----------------------------------------------*/ -#include "utils.h" -#include "graphics.h" -#include "sound.h" - -/*--------------------------------------------- - Game functions ----------------------------------------------*/ -void initGame(); // Called once from setup() -void updateGame(); // Called from loop() to update the game - -extern Joystick joystick; +//#include <SPI.h> +#include "GD.h" +#include "joystick.h" +#include "shield.h" +#include "mbed.h" +#include "arduino.h" +/*--------------------------------------------- + Data types +---------------------------------------------*/ +typedef char int8; + +/*--------------------------------------------- + Header files +---------------------------------------------*/ +#include "utils.h" +#include "graphics.h" +#include "sound.h" + +/*--------------------------------------------- + Game functions +---------------------------------------------*/ +void initGame(); // Called once from setup() +void updateGame(); // Called from loop() to update the game + +extern Joystick joystick;