Richard Ellingworth / Mbed 2 deprecated RobotRic

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers GDConst.h Source File

GDConst.h

00001 /*
00002  * SOURCE FILE : GDConst.h
00003  *
00004  * A few more constants associated with the Gameduino hardware.
00005  *
00006  */
00007 
00008 #ifndef GDConstIncluded
00009   
00010   #define GDConstIncluded
00011 
00012   #define RAM_PIC_SIZE 4096        // size of screen picture RAM
00013   #define RAM_CHR_SIZE 4096        // size of character set pixel data RAM
00014   #define RAM_PAL_SIZE 2048        // size of character set palette data RAM
00015 
00016   #define SCREEN_CHAR_WIDTH 64     // character width of screen (entire screen, not just visible bit)
00017   #define SCREEN_CHAR_HEIGHT 64    // character height of screen (entire screen, not just visible bit)
00018   
00019   #define VISIBLE_CHAR_WIDTH 50    // character width of visible screen
00020   #define VISIBLE_CHAR_HEIGHT 37   // character height of visible screen (actually 37.5)
00021 
00022   #define SPRITE_PIXEL_WIDTH 16
00023   #define SPRITE_PIXEL_HEIGHT 16
00024 
00025   #define SPRITE_COUNT 256
00026   
00027 #endif
00028 
00029 /* END of GDConst.h */
00030