Game entry for the Game Programming Contest sponsored by OutrageousCircuits.com (RETRO Game Console)

Dependencies:   mbed

Fork of Official_RETRO by GHI Electronics

Revision:
4:2d41b942a823
Parent:
1:cd8a3926f263
--- a/DisplayN18.h	Sat Feb 14 11:40:55 2015 +0000
+++ b/DisplayN18.h	Sun Mar 01 09:34:29 2015 +0000
@@ -21,13 +21,19 @@
 
     public:
         DisplayN18();
-        
+        /*
         static const unsigned short BLUE = 0x00F8;
         static const unsigned short GREEN = 0xE007;
         static const unsigned short RED = 0x1F00;
+        static const unsigned short CYAN = 0xE0FF;
+        static const unsigned short MAGENT = 0x1FF8;
+        static const unsigned short YELLOW = 0xFF07;
         static const unsigned short WHITE = 0xFFFF;
+        static const unsigned short LGRAY = 0x18C6;
+        static const unsigned short GRAY = 0x1084;
+        static const unsigned short DGRAY = 0x0842;
         static const unsigned short BLACK = 0x0000;
-
+        */
         static const unsigned int WIDTH = 160;
         static const unsigned int HEIGHT = 128;
         static const unsigned char CHAR_WIDTH = 5;
@@ -46,8 +52,9 @@
         void fillCircle(int x, int y, int radius, unsigned short foreColor);
         void drawCircle(int x, int y, int radius, unsigned short foreColor);
 
-        void drawLine(int x0, int y0, int x1, int y1, unsigned short foreColor);
+        //void drawLine(int x0, int y0, int x1, int y1, unsigned short foreColor);
 
+        void drawNumber(int x, int y, const char character, unsigned short foreColor, unsigned short backColor);
         void drawCharacter(int x, int y, const char character, unsigned short foreColor, unsigned short backColor, unsigned char fontSize = 1);
         void drawString(int x, int y, const char* str, unsigned short foreColor, unsigned short backColor, unsigned char fontSize = 1);
 };
\ No newline at end of file