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
CharBlocks.cpp@14:46a353b2a8e8, 2013-06-11 (annotated)
- Committer:
- RichardE
- Date:
- Tue Jun 11 21:04:48 2013 +0000
- Revision:
- 14:46a353b2a8e8
- Parent:
- 1:dfd5eaaf96a3
Started to modify how high scores are entered but not finished. Currently asks for a name when program first starts. Remove this code later.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 14:46a353b2a8e8 | 1 | /* |
RichardE | 14:46a353b2a8e8 | 2 | * SOURCE FILE : CharBlocks.cpp |
RichardE | 14:46a353b2a8e8 | 3 | * |
RichardE | 14:46a353b2a8e8 | 4 | * A collection of character block definitions. |
RichardE | 14:46a353b2a8e8 | 5 | * |
RichardE | 14:46a353b2a8e8 | 6 | */ |
RichardE | 14:46a353b2a8e8 | 7 | |
RichardE | 14:46a353b2a8e8 | 8 | #include "CharBlocks.h" |
RichardE | 1:dfd5eaaf96a3 | 9 | |
RichardE | 14:46a353b2a8e8 | 10 | const UInt8 CharBlocks::RobotRicText[] = { |
RichardE | 14:46a353b2a8e8 | 11 | 45, // section width |
RichardE | 14:46a353b2a8e8 | 12 | 7, // section height |
RichardE | 14:46a353b2a8e8 | 13 | 0x01, 0x02, 0x02, 0x02, 0x03, 0x00, 0x01, 0x02, 0x02, 0x02, 0x03, 0x00, 0x01, 0x02, 0x02, 0x02, 0x03, 0x00, 0x01, 0x02, 0x02, 0x02, 0x03, 0x00, 0x0E, 0x02, 0x0B, 0x02, 0x10, 0x00, 0x01, 0x02, 0x02, 0x02, 0x03, 0x00, 0x0E, 0x0B, 0x10, 0x00, 0x01, 0x02, 0x02, 0x02, 0x10, // row 0 |
RichardE | 14:46a353b2a8e8 | 14 | 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, // row 1 |
RichardE | 14:46a353b2a8e8 | 15 | 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, // row 2 |
RichardE | 14:46a353b2a8e8 | 16 | 0x0A, 0x02, 0x02, 0x0B, 0x08, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x0A, 0x02, 0x02, 0x0B, 0x08, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x0A, 0x02, 0x02, 0x0B, 0x08, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, // row 3 |
RichardE | 14:46a353b2a8e8 | 17 | 0x04, 0x00, 0x00, 0x06, 0x03, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x06, 0x03, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x06, 0x03, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, // row 4 |
RichardE | 14:46a353b2a8e8 | 18 | 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00, // row 5 |
RichardE | 14:46a353b2a8e8 | 19 | 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x06, 0x02, 0x02, 0x02, 0x08, 0x00, 0x06, 0x02, 0x02, 0x02, 0x08, 0x00, 0x06, 0x02, 0x02, 0x02, 0x08, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00, 0x00, 0x11, 0x00, 0x0E, 0x0D, 0x10, 0x00, 0x06, 0x02, 0x02, 0x02, 0x10, // row 6 |
RichardE | 14:46a353b2a8e8 | 20 | }; |
RichardE | 14:46a353b2a8e8 | 21 |