]> 4ch.mooo.com Git - 16.git/blob - 16/dos_gfx.h
modified: 16/Project 16.bfproject
[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\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\r
13 #define TILEWH                          16\r
14 byte SIZE = 80;      // Size =  40 = 1 across, 4 down\r
15                      // Size =  80 = 2 across, 2 down\r
16                      // Size = 160 = 4 across, 1 down\r
17 //#define VMEM            0xA000 // = vga\r
18 //int width = 320;\r
19 //int height = 240;\r
20 \r
21 void drawChar(int x, int y, int color, byte c);\r
22 void drawText(int x, int y, int color, byte string);\r
23 void setvideo(/*byte mode, */int vq);\r
24 //void setvbuff(int vq);\r
25 //void updatevbuff();\r
26 void cls(byte color, byte *Where);\r
27 //void clearscr();\r
28 //void plotpixel(int x, int y, byte color, byte *Where);\r
29 //void plotpixelfast(int x, int y, byte color, byte *Where);\r
30 void putPixel_X(int x, int y, byte color);\r
31 void putColorBox_X(int x, int y, int w, int h, byte color);
32 void vScroll(int rows);
33 void scrolly(int bong);\r
34 //void BlockMove();\r
35 //void eraseplayer(int x, int y);\r
36 //void drawplayer(int x, int y, int color);\r
37 int colortest();\r
38 int colorz();\r
39 void ssd(int svq);\r
40 //void pdump(int mult);\r
41 //void tulip();\r
42 int ding(int q);\r
43 \r
44 #endif/*_DOSLIB_GFX_H_*/\r