#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
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