]> 4ch.mooo.com Git - 16.git/blob - src/lib/dos_gfx.h
eba4462561698e9238596169ae5d2288332539e1
[16.git] / src / lib / dos_gfx.h
1 #ifndef _DOSLIB_GFX_H_\r
2 #define _DOSLIB_GFX_H_\r
3 #include <iostream.h>\r
4 #include <stdlib.h>\r
5 #include "src\lib\lib_com.h"\r
6 \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      16 // number of colors in vga mode
10 static lgq=NUM_COLORS/(1/8)
11 static hgq=NUM_COLORS/(1/8)\r
12 /*#define SW            320\r
13 #define SH              200\r
14 #define NUM_COLORS      4*/ // cga\r
15 #define BONK            400\r
16 #define LGQ             lgq\r
17 #define HGQ             hgq\r
18 #define VMEM            0xA000 // = vga\r
19 //#define VMEM          0xB800 // = cga\r
20 //#define VMOD          0x13\r
21 \r
22 void setvideo(byte mode, int vq);\r
23 void setvbuff(int vq);\r
24 void updatevbuff();\r
25 void cls(byte color, byte *Where);\r
26 void clearscr();\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
29 void BlockMove();\r
30 void etesuto(int x, int y);\r
31 void qtesuto(int x, int y, int color);\r
32 int colortest();\r
33 int colorz();\r
34 void ssd(int svq);\r
35 int ding(int q);\r
36 \r
37 #endif/*_DOSLIB_GFX_H_*/\r