#include <iostream.h>\r
#include <stdlib.h>\r
#include "lib\lib_com.h"
-#include "lib\x\modex.h"\r
+#include "lib\x\modex.h"
+#include "lib\modex16.h" //____\r
\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
+#define HGQ 55\r
+#define TILEWH 16
+#define QUADWH TILEWH/2
+#define BUFFMX 4\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 SW 320\r
+#define SH 240\r
+//#define VW 560\r
+//#define VH 416
+#define VW (SW+64)\r
+#define VH (SH+64)
+#define BS (VH*2) // buffer space! not BULLSHIT
+#define BH BS+(TILEWH*BUFFMX) // buffer resolution
\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 setvideo(/*byte mode, */short vq);\r
//void setvbuff(int vq);\r
//void updatevbuff();\r
void cls(byte color, byte *Where);\r
//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 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
-int colortest();\r
-int colorz();\r
-void ssd(int svq);\r
-//void pdump(int mult);\r
+short colortest();\r
+short colorz();\r
+void ssd(short svq);\r
+void pdump();\r
//void tulip();\r
-int ding(int q);\r
+short ding(int q);\r
\r
#endif/*_DOSLIB_GFX_H_*/\r