Invaders game for the Gameduino

Dependencies:   Gameduino mbed

Committer:
TheChrisyd
Date:
Thu Jun 21 19:13:34 2012 +0000
Revision:
0:8a7c58553b44
Child:
1:f44175dd69fd
backup before adding more features

Who changed what in which revision?

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