]> 4ch.mooo.com Git - 16.git/blobdiff - 16/dos_gfx.h
modified: 16/Project 16.bfproject
[16.git] / 16 / dos_gfx.h
index 084e80f06dcc439eca7c6f7b0935ad9dc9c07dee..02f72c34c95d3d7c279a38fd2cd3b5f2b8c5c380 100644 (file)
@@ -11,8 +11,9 @@
 #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
+byte SIZE = 80;      // Size =  40 = 1 across, 4 down\r
+                     // Size =  80 = 2 across, 2 down\r
+                     // Size = 160 = 4 across, 1 down\r
 //#define VMEM            0xA000 // = vga\r
 //int width = 320;\r
 //int height = 240;\r
@@ -27,7 +28,9 @@ void cls(byte color, byte *Where);
 //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 putColorBox_X(int x, int y, int w, int h, byte color);\r
+void putColorBox_X(int x, int y, int w, int h, byte color);
+void vScroll(int rows);
+void scrolly(int bong);\r
 //void BlockMove();\r
 //void eraseplayer(int x, int y);\r
 //void drawplayer(int x, int y, int color);\r