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
RobotRicCharacterSet.h@1:dfd5eaaf96a3, 2013-06-05 (annotated)
- Committer:
- RichardE
- Date:
- Wed Jun 05 22:05:41 2013 +0000
- Revision:
- 1:dfd5eaaf96a3
Imported lots more code from the Maple version of the game. Now gets as far as drawing some of the screen for level 0 (the attract mode). Only advises user to operate either joystick to start the game.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 1:dfd5eaaf96a3 | 1 | /* |
RichardE | 1:dfd5eaaf96a3 | 2 | * SOURCE FILE : RobotRicCharacterSet.h |
RichardE | 1:dfd5eaaf96a3 | 3 | * |
RichardE | 1:dfd5eaaf96a3 | 4 | * Contains character set data for RobotRic game. |
RichardE | 1:dfd5eaaf96a3 | 5 | * |
RichardE | 1:dfd5eaaf96a3 | 6 | */ |
RichardE | 1:dfd5eaaf96a3 | 7 | |
RichardE | 1:dfd5eaaf96a3 | 8 | #ifndef RobotRicCharacterSetIncluded |
RichardE | 1:dfd5eaaf96a3 | 9 | |
RichardE | 1:dfd5eaaf96a3 | 10 | #define RobotRicCharacterSetIncluded |
RichardE | 1:dfd5eaaf96a3 | 11 | |
RichardE | 1:dfd5eaaf96a3 | 12 | #include "Gameduino.h" |
RichardE | 1:dfd5eaaf96a3 | 13 | |
RichardE | 1:dfd5eaaf96a3 | 14 | // Code of last character defined in character set. |
RichardE | 1:dfd5eaaf96a3 | 15 | #define LAST_CHAR_IN_CHARACTER_SET 'Z' |
RichardE | 1:dfd5eaaf96a3 | 16 | |
RichardE | 1:dfd5eaaf96a3 | 17 | class RobotRicCharacterSet { |
RichardE | 1:dfd5eaaf96a3 | 18 | |
RichardE | 1:dfd5eaaf96a3 | 19 | public : |
RichardE | 1:dfd5eaaf96a3 | 20 | |
RichardE | 1:dfd5eaaf96a3 | 21 | static PROGMEM prog_uchar PixelData[]; |
RichardE | 1:dfd5eaaf96a3 | 22 | static PROGMEM prog_uchar PaletteData[]; |
RichardE | 1:dfd5eaaf96a3 | 23 | |
RichardE | 1:dfd5eaaf96a3 | 24 | }; |
RichardE | 1:dfd5eaaf96a3 | 25 | |
RichardE | 1:dfd5eaaf96a3 | 26 | #endif |
RichardE | 1:dfd5eaaf96a3 | 27 | |
RichardE | 1:dfd5eaaf96a3 | 28 | /* END of RobotRicCharacterSet.h */ |
RichardE | 1:dfd5eaaf96a3 | 29 |