Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: LevelNormal.h
- Revision:
- 5:0b0651ac7832
- Parent:
- 0:5fa232ee5fdf
- Child:
- 9:fa7e7b37b632
diff -r 673eb9735d44 -r 0b0651ac7832 LevelNormal.h --- a/LevelNormal.h Sat Jun 08 11:24:05 2013 +0000 +++ b/LevelNormal.h Sat Jun 08 14:40:47 2013 +0000 @@ -14,8 +14,8 @@ #define LevelNormalDefined #include "Level.h" + #include "LevelData.h" #if 0 - #include "LevelData.h" #include "ExplosionManager.h" #endif @@ -37,7 +37,7 @@ // Data defining the level. // You should write to this before calling PlayLoop. - // LevelData *DataForLevel; + LevelData *DataForLevel; /*************/ /* PLAY LOOP */ @@ -56,7 +56,8 @@ /********************/ /* INITIALISE LEVEL */ /********************/ - void InitialiseLevel( void ); + // Pass pointer to Gameduino to draw on in gd. + void InitialiseLevel( Gameduino *gd ); /**********************************/ /* DRAW SCORE AND NUMBER OF LIVES */