1 #ifndef _DOSLIB_GFX_H_
\r
2 #define _DOSLIB_GFX_H_
\r
3 #include <iostream.h>
\r
5 #include "lib\lib_com.h"
6 #include "lib\x\modex.h"
\r
8 #define NUM_COLORS 256 // number of colors in vga mode
\r
9 //static lgq=NUM_COLORS/(1/8)
\r
10 //static hgq=NUM_COLORS/(1/8)
\r
15 #define QUADWH TILEWH/4
\r
16 /*byte SIZE = 80; // Size = 40 = 1 across, 4 down
\r
17 // Size = 80 = 2 across, 2 down
\r
18 // Size = 160 = 4 across, 1 down*/
\r
19 //#define VMEM 0xA000 // = vga
\r
26 //void drawChar(int x, int y, int color, byte c);
\r
27 //void drawText(int x, int y, int color, byte string);
\r
28 void setvideo(/*byte mode, */short vq);
\r
29 //void setvbuff(int vq);
\r
30 //void updatevbuff();
\r
31 void cls(byte color, byte *Where);
\r
33 //void plotpixel(int x, int y, byte color, byte *Where);
\r
34 //void plotpixelfast(int x, int y, byte color, byte *Where);
\r
35 //void putPixel_X(int x, int y, byte color);
\r
36 //void putColorBox_X(int x, int y, int w, int h, byte color);
37 //void vScroll(int rows);
38 //void scrolly(int bong);
39 //void wait_for_retrace(void); // Waits for vertical retrace
\r
41 //void eraseplayer(int x, int y);
\r
42 //void drawplayer(int x, int y, int color);
\r
45 void ssd(short svq);
\r
46 //void pdump(int mult);
\r
50 #endif/*_DOSLIB_GFX_H_*/
\r