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: Level0.cpp
- Revision:
- 2:bb0f631a6068
- Parent:
- 1:dfd5eaaf96a3
- Child:
- 3:a6a0cd726ca0
--- a/Level0.cpp Wed Jun 05 22:05:41 2013 +0000 +++ b/Level0.cpp Thu Jun 06 20:11:28 2013 +0000 @@ -68,12 +68,11 @@ GDExtra::HideAllSprites( gd ); // SoundManager::Instance.SilenceAll(); // Draw border around screen. - // CharFrame::Draw( 0, 0, VISIBLE_CHAR_WIDTH, VISIBLE_CHAR_HEIGHT ); + CharFrame::Draw( gd, 0, 0, VISIBLE_CHAR_WIDTH, VISIBLE_CHAR_HEIGHT ); // Draw big block of characters that read "ROBOTRIC". GDExtra::WriteProgCharBlock( gd, 2, 2, CharBlocks::RobotRicText ); // Write message telling user how to start game. GDExtra::WriteProgString( gd, 2, VISIBLE_CHAR_HEIGHT - 3, startText ); - #if 0 // Validate high scores in EEPROM which will re-write the entire // table with default data if it finds nonsense in the EEPROM. // Then check if EEPROM now makes sense. If it does then display @@ -85,6 +84,7 @@ DrawHighScores(); } } + #if 0 // Must have a player with non-NULL controls. PanelControls *controls; if(