]> 4ch.mooo.com Git - 16.git/blob - 16/dos_gfx.h
b95f0159732d133716ec9d8bbb4583793c8210ac
[16.git] / 16 / 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 "lib_com.h"\r
6 \r
7 #define NUM_COLORS      256 // number of colors in vga mode\r
8 //static lgq=NUM_COLORS/(1/8)\r
9 //static hgq=NUM_COLORS/(1/8)\r
10 #define BONK            400\r
11 #define LGQ             32\r
12 #define HGQ             56
13 #define TILEWH                          16
14 #define ABS(a)   ((a < 0) ? -a : a)\r
15 #define SGN(a)   ((a < 0) ? -1 : 1)\r
16 //#define VMEM            0xA000 // = vga\r
17 //int width = 320;\r
18 //int height = 240;\r
19
20 void drawChar(int x, int y, int color, byte c);\r
21 void drawText(int x, int y, int color, byte string);\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);
29 void putPixel_X(int x, int y, byte color);
30 void putTile(int x, int y, byte color);\r
31 //void BlockMove();\r
32 //void eraseplayer(int x, int y);\r
33 //void drawplayer(int x, int y, int color);\r
34 int colortest();\r
35 int colorz();\r
36 void ssd(int svq);\r
37 //void pdump(int mult);\r
38 //void tulip();\r
39 int ding(int q);\r
40 \r
41 #endif/*_DOSLIB_GFX_H_*/\r