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
SpriteGroup.h@4:673eb9735d44, 2013-06-08 (annotated)
- Committer:
- RichardE
- Date:
- Sat Jun 08 11:24:05 2013 +0000
- Revision:
- 4:673eb9735d44
Pulled in more code. Now panel controls are working. Level 0 (attract mode) now goes round an endless loop sending state of panel controls up serial port to PC.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
RichardE | 4:673eb9735d44 | 1 | /* |
RichardE | 4:673eb9735d44 | 2 | * SOURCE FILE : SpriteGroup.h |
RichardE | 4:673eb9735d44 | 3 | * |
RichardE | 4:673eb9735d44 | 4 | * Enumeration of the two groups of sprites. |
RichardE | 4:673eb9735d44 | 5 | * Mainly of use for sprite collision detection. |
RichardE | 4:673eb9735d44 | 6 | * |
RichardE | 4:673eb9735d44 | 7 | */ |
RichardE | 4:673eb9735d44 | 8 | |
RichardE | 4:673eb9735d44 | 9 | #ifndef SpriteGroupIncluded |
RichardE | 4:673eb9735d44 | 10 | |
RichardE | 4:673eb9735d44 | 11 | #define SpriteGroupIncluded |
RichardE | 4:673eb9735d44 | 12 | |
RichardE | 4:673eb9735d44 | 13 | enum SpriteGroup { |
RichardE | 4:673eb9735d44 | 14 | GoodGuy = 0, // J collision class |
RichardE | 4:673eb9735d44 | 15 | BadGuy = 1, // K collision class |
RichardE | 4:673eb9735d44 | 16 | }; |
RichardE | 4:673eb9735d44 | 17 | |
RichardE | 4:673eb9735d44 | 18 | #endif |
RichardE | 4:673eb9735d44 | 19 | |
RichardE | 4:673eb9735d44 | 20 | /* END of SpriteGroup.h */ |
RichardE | 4:673eb9735d44 | 21 |