Invaders game for the Gameduino

Dependencies:   Gameduino mbed

Committer:
TheChrisyd
Date:
Sat Sep 29 13:01:42 2012 +0000
Revision:
1:f44175dd69fd
Parent:
0:8a7c58553b44
Child:
2:20a89dc286d5
saved progress

Who changed what in which revision?

UserRevisionLine numberNew contents of line
TheChrisyd 1:f44175dd69fd 1 //#include <SPI.h>
TheChrisyd 1:f44175dd69fd 2 #include "GD.h"
TheChrisyd 1:f44175dd69fd 3 #include "joystick.h"
TheChrisyd 1:f44175dd69fd 4 #include "shield.h"
TheChrisyd 1:f44175dd69fd 5 #include "mbed.h"
TheChrisyd 1:f44175dd69fd 6 #include "arduino.h"
TheChrisyd 1:f44175dd69fd 7 /*---------------------------------------------
TheChrisyd 1:f44175dd69fd 8 Data types
TheChrisyd 1:f44175dd69fd 9 ---------------------------------------------*/
TheChrisyd 1:f44175dd69fd 10 typedef char int8;
TheChrisyd 1:f44175dd69fd 11
TheChrisyd 1:f44175dd69fd 12 /*---------------------------------------------
TheChrisyd 1:f44175dd69fd 13 Header files
TheChrisyd 1:f44175dd69fd 14 ---------------------------------------------*/
TheChrisyd 1:f44175dd69fd 15 #include "utils.h"
TheChrisyd 1:f44175dd69fd 16 #include "graphics.h"
TheChrisyd 1:f44175dd69fd 17 #include "sound.h"
TheChrisyd 1:f44175dd69fd 18
TheChrisyd 1:f44175dd69fd 19 /*---------------------------------------------
TheChrisyd 1:f44175dd69fd 20 Game functions
TheChrisyd 1:f44175dd69fd 21 ---------------------------------------------*/
TheChrisyd 1:f44175dd69fd 22 void initGame(); // Called once from setup()
TheChrisyd 1:f44175dd69fd 23 void updateGame(); // Called from loop() to update the game
TheChrisyd 1:f44175dd69fd 24
TheChrisyd 1:f44175dd69fd 25 extern Joystick joystick;