1 #ifndef _DOSLIB_GFX_H_
\r
2 #define _DOSLIB_GFX_H_
\r
3 #include <iostream.h>
\r
5 #include "src\lib\lib_com.h"
\r
7 #define SW 320 // width in pixels of vga mode
\r
8 #define SH 200 // height in pixels of vga mode
\r
9 #define NUM_COLORS 256 // number of colors in vga mode
\r
10 //static lgq=NUM_COLORS/(1/8)
\r
11 //static hgq=NUM_COLORS/(1/8)
\r
14 #define NUM_COLORS 4*/ // cga
\r
18 #define VMEM 0xA000 // = vga
\r
19 //#define VMEM 0xB800 // = cga
\r
22 void setvideo(byte mode, int vq);
\r
23 void setvbuff(int vq);
\r
25 void cls(byte color, byte *Where);
\r
27 void plotpixel(int x, int y, byte color, byte *Where);
\r
28 void plotpixelfast(int x, int y, byte color, byte *Where);
\r
30 void eraseplayer(int x, int y);
\r
31 void drawplayer(int x, int y, int color);
\r
39 #endif/*_DOSLIB_GFX_H_*/
\r