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

GDConst.h

Committer:
RichardE
Date:
2013-06-17
Revision:
18:70190f956a24
Parent:
5:0b0651ac7832

File content as of revision 18:70190f956a24:

/*
 * SOURCE FILE : GDConst.h
 *
 * A few more constants associated with the Gameduino hardware.
 *
 */

#ifndef GDConstIncluded
  
  #define GDConstIncluded

  #define RAM_PIC_SIZE 4096        // size of screen picture RAM
  #define RAM_CHR_SIZE 4096        // size of character set pixel data RAM
  #define RAM_PAL_SIZE 2048        // size of character set palette data RAM

  #define SCREEN_CHAR_WIDTH 64     // character width of screen (entire screen, not just visible bit)
  #define SCREEN_CHAR_HEIGHT 64    // character height of screen (entire screen, not just visible bit)
  
  #define VISIBLE_CHAR_WIDTH 50    // character width of visible screen
  #define VISIBLE_CHAR_HEIGHT 37   // character height of visible screen (actually 37.5)

  #define SPRITE_PIXEL_WIDTH 16
  #define SPRITE_PIXEL_HEIGHT 16

  #define SPRITE_COUNT 256
  
#endif

/* END of GDConst.h */