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

Committer:
RichardE
Date:
Mon Jun 17 15:10:43 2013 +0000
Revision:
18:70190f956a24
Parent:
5:0b0651ac7832
Improved response to button 1 when entering high scores (HighScoreEntry.cpp).

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RichardE 5:0b0651ac7832 1 /*
RichardE 5:0b0651ac7832 2 * SOURCE FILE : GDConst.h
RichardE 5:0b0651ac7832 3 *
RichardE 5:0b0651ac7832 4 * A few more constants associated with the Gameduino hardware.
RichardE 5:0b0651ac7832 5 *
RichardE 5:0b0651ac7832 6 */
RichardE 5:0b0651ac7832 7
RichardE 5:0b0651ac7832 8 #ifndef GDConstIncluded
RichardE 5:0b0651ac7832 9
RichardE 5:0b0651ac7832 10 #define GDConstIncluded
RichardE 5:0b0651ac7832 11
RichardE 5:0b0651ac7832 12 #define RAM_PIC_SIZE 4096 // size of screen picture RAM
RichardE 5:0b0651ac7832 13 #define RAM_CHR_SIZE 4096 // size of character set pixel data RAM
RichardE 5:0b0651ac7832 14 #define RAM_PAL_SIZE 2048 // size of character set palette data RAM
RichardE 1:dfd5eaaf96a3 15
RichardE 5:0b0651ac7832 16 #define SCREEN_CHAR_WIDTH 64 // character width of screen (entire screen, not just visible bit)
RichardE 5:0b0651ac7832 17 #define SCREEN_CHAR_HEIGHT 64 // character height of screen (entire screen, not just visible bit)
RichardE 5:0b0651ac7832 18
RichardE 5:0b0651ac7832 19 #define VISIBLE_CHAR_WIDTH 50 // character width of visible screen
RichardE 5:0b0651ac7832 20 #define VISIBLE_CHAR_HEIGHT 37 // character height of visible screen (actually 37.5)
RichardE 5:0b0651ac7832 21
RichardE 5:0b0651ac7832 22 #define SPRITE_PIXEL_WIDTH 16
RichardE 5:0b0651ac7832 23 #define SPRITE_PIXEL_HEIGHT 16
RichardE 5:0b0651ac7832 24
RichardE 5:0b0651ac7832 25 #define SPRITE_COUNT 256
RichardE 5:0b0651ac7832 26
RichardE 5:0b0651ac7832 27 #endif
RichardE 5:0b0651ac7832 28
RichardE 5:0b0651ac7832 29 /* END of GDConst.h */
RichardE 5:0b0651ac7832 30