]> 4ch.mooo.com Git - 16.git/blobdiff - 16/dos_gfx.h
modified: 16/DOS_GFX.EXE
[16.git] / 16 / dos_gfx.h
index 08908b04084a7f19ef4d2638eb4719c30dc92007..1036e362fdbe2ea5cd7394b4478f09463d878f73 100644 (file)
 #define BONK            400\r
 #define LGQ             32\r
 #define HGQ             56\r
+#define TILEWH                          16\r
+#define ABS(a)   ((a < 0) ? -a : a)\r
+#define SGN(a)   ((a < 0) ? -1 : 1)\r
 //#define VMEM            0xA000 // = vga\r
 //int width = 320;\r
 //int height = 240;\r
-
+\r
 void drawChar(int x, int y, int color, byte c);\r
 void drawText(int x, int y, int color, byte string);\r
 void setvideo(/*byte mode, */int vq);\r
@@ -23,6 +26,8 @@ void cls(byte color, byte *Where);
 //void clearscr();\r
 //void plotpixel(int x, int y, byte color, byte *Where);\r
 //void plotpixelfast(int x, int y, byte color, byte *Where);\r
+void putPixel_X(int x, int y, byte color);\r
+//void putTile(int x, int y, byte color);\r
 //void BlockMove();\r
 //void eraseplayer(int x, int y);\r
 //void drawplayer(int x, int y, int color);\r