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: Level1.cpp
- Revision:
- 7:e72691603fd3
- Parent:
- 5:0b0651ac7832
--- a/Level1.cpp Sat Jun 08 15:50:38 2013 +0000 +++ b/Level1.cpp Sat Jun 08 16:44:54 2013 +0000 @@ -15,7 +15,6 @@ // Returns code indicating how level ended. Level::LevelExitCode Level1::Play( void ) { LevelData dataForThisLevel; -#if 0 GameObject **ptr = dataForThisLevel.Enemies; UInt8 i, humanCount, enemyCount = 0; // Enemies of type GruntObject. @@ -44,7 +43,6 @@ for( i = 0; i < humanCount; ++i ) { *ptr++ = humans + i; } -#endif DataForLevel = &dataForThisLevel; return PlayLoop(); }