Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: GDConst.h
- Revision:
- 5:0b0651ac7832
- Parent:
- 1:dfd5eaaf96a3
diff -r 673eb9735d44 -r 0b0651ac7832 GDConst.h
--- a/GDConst.h Sat Jun 08 11:24:05 2013 +0000
+++ b/GDConst.h Sat Jun 08 14:40:47 2013 +0000
@@ -1,41 +1,30 @@
-/*
- * 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
-
- enum SpriteTransform {
- STNormal = 0,
- STRotate90FlipY = 1,
- STFlipX = 2,
- STRotate90 = 3,
- STFlipY = 4,
- STRotate270 = 5,
- STRotate180 = 6,
- STRotate270FlipY = 7,
- };
-
-#endif
-
-/* END of GDConst.h */
+/*
+ * 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 */
+