]> 4ch.mooo.com Git - 16.git/blob - 16/dos_gfx.h
modified: 16/DOS_GFX.EXE
[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"
6 #include "lib\x\modex.h"\r
7 \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
11 #define BONK        400\r
12 #define LGQ          32\r
13 #define HGQ          56\r
14 #define TILEWH                    16\r
15 /*byte SIZE = 80;       // Size =  40 = 1 across, 4 down\r
16                      // Size =  80 = 2 across, 2 down\r
17                      // Size = 160 = 4 across, 1 down*/\r
18 //#define VMEM      0xA000 // = vga\r
19 byte Xfont[2048];
20 #define SW      320\r
21 #define SH      240\r
22 #define VW      560\r
23 #define VH      416
24 \r
25 //void drawChar(int x, int y, int color, byte c);\r
26 //void drawText(int x, int y, int color, byte string);\r
27 void setvideo(/*byte mode, */int vq);\r
28 //void setvbuff(int vq);\r
29 //void updatevbuff();\r
30 void cls(byte color, byte *Where);\r
31 //void clearscr();\r
32 //void plotpixel(int x, int y, byte color, byte *Where);\r
33 //void plotpixelfast(int x, int y, byte color, byte *Where);\r
34 //void putPixel_X(int x, int y, byte color);\r
35 //void putColorBox_X(int x, int y, int w, int h, byte color);
36 //void vScroll(int rows);
37 //void scrolly(int bong);
38 //void wait_for_retrace(void); // Waits for vertical retrace\r
39 //void BlockMove();\r
40 //void eraseplayer(int x, int y);\r
41 //void drawplayer(int x, int y, int color);\r
42 int colortest();\r
43 int colorz();\r
44 void ssd(int svq);\r
45 //void pdump(int mult);\r
46 //void tulip();\r
47 int ding(int q);\r
48 \r
49 #endif/*_DOSLIB_GFX_H_*/\r