![](/media/cache/profiles/859bf1416b8b8761c5d588dee78dc65f.50x50_q85.jpg)
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@18:70190f956a24, 2013-06-17 (annotated)
- Committer:
- RichardE
- Date:
- Mon Jun 17 15:10:43 2013 +0000
- Revision:
- 18:70190f956a24
- Parent:
- 14:46a353b2a8e8
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).
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 |