]> 4ch.mooo.com Git - 16.git/blobdiff - 16/dos_gfx.h
modified: 16/DOS_GFX.EXE
[16.git] / 16 / dos_gfx.h
index bc536945ccc730c87b8ff11e10cfebb0a73aad10..6c7bbeea1c803b59380cf06e43e5406a5fbb9f24 100644 (file)
@@ -2,23 +2,28 @@
 #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
+#define NUM_COLORS     256 // number of colors in vga mode\r
 //static lgq=NUM_COLORS/(1/8)\r
 //static hgq=NUM_COLORS/(1/8)\r
-#define BONK            400\r
-#define LGQ             32\r
-#define HGQ             56\r
-#define TILEWH                          16\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
-byte Xfont[2048];\r
+#define BONK       400\r
+#define LGQ         32\r
+#define HGQ         56\r
+#define TILEWH                   16\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
+byte Xfont[2048];
+#define SW     320\r
+#define SH     240\r
+#define VW     560\r
+#define VH     416
 \r
-void drawChar(int x, int y, int color, byte c);\r
-void drawText(int x, int y, int color, byte string);\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
 //void setvbuff(int vq);\r
 //void updatevbuff();\r
@@ -26,11 +31,11 @@ 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 putColorBox_X(int x, int y, int w, int h, byte color);
-void vScroll(int rows);
-void scrolly(int bong);
-void wait_for_retrace(void); // Waits for vertical retrace\r
+//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);
+//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