]> 4ch.mooo.com Git - 16.git/blobdiff - 16/dos_gfx.h
modified: 16/Project 16.bfproject
[16.git] / 16 / dos_gfx.h
index 02f72c34c95d3d7c279a38fd2cd3b5f2b8c5c380..7a0b100ec0b66a3d14b12e02c0d59f3f11dc54d8 100644 (file)
@@ -2,7 +2,8 @@
 #define _DOSLIB_GFX_H_\r
 #include <iostream.h>\r
 #include <stdlib.h>\r
-#include "lib\lib_com.h"\r
+#include "lib\lib_com.h"
+#include "lib\x\modex.h"\r
 \r
 #define NUM_COLORS      256 // number of colors in vga mode\r
 //static lgq=NUM_COLORS/(1/8)\r
 #define LGQ             32\r
 #define HGQ             56\r
 #define TILEWH                          16\r
-byte SIZE = 80;      // Size =  40 = 1 across, 4 down\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
+                     // Size = 160 = 4 across, 1 down*/\r
 //#define VMEM            0xA000 // = vga\r
-//int width = 320;\r
-//int height = 240;\r
+byte Xfont[2048];\r
 \r
 void drawChar(int x, int y, int color, byte c);\r
 void drawText(int x, int y, int color, byte string);\r
@@ -30,7 +30,8 @@ void cls(byte color, byte *Where);
 void putPixel_X(int x, int y, 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 scrolly(int bong);
+void wait_for_retrace(void); // Waits for vertical retrace\r
 //void BlockMove();\r
 //void eraseplayer(int x, int y);\r
 //void drawplayer(int x, int y, int color);\r