X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_gfx.h;h=82368d906cbc6cfbaa2b877df61e96612fcddef6;hb=240ba660932b53de8912026596031edcc1e3e4b9;hp=8fd92704bbde4c76cf5fe3a76612f228ff6756bb;hpb=56316bec27f56a2b4af64c586be6030ea425629a;p=16.git diff --git a/16/dos_gfx.h b/16/dos_gfx.h index 8fd92704..82368d90 100644 --- a/16/dos_gfx.h +++ b/16/dos_gfx.h @@ -11,35 +11,41 @@ #define BONK 400 #define LGQ 32 #define HGQ 56 -#define TILEWH 16 +#define TILEWH 16 +#define QUADWH TILEWH/4 +#define BUFFMX 3 /*byte SIZE = 80; // Size = 40 = 1 across, 4 down // Size = 80 = 2 across, 2 down // Size = 160 = 4 across, 1 down*/ //#define VMEM 0xA000 // = vga -byte Xfont[2048]; + +#define SW 320 +#define SH 240 +#define VW 560 +#define VH 416 //void drawChar(int x, int y, int color, byte c); //void drawText(int x, int y, int color, byte string); -void setvideo(/*byte mode, */int vq); +void setvideo(/*byte mode, */short vq); //void setvbuff(int vq); //void updatevbuff(); void cls(byte color, byte *Where); //void clearscr(); //void plotpixel(int x, int y, byte color, byte *Where); //void plotpixelfast(int x, int y, byte color, byte *Where); -void putPixel_X(int x, int y, byte color); -void putColorBox_X(int x, int y, int w, int h, byte color); -void vScroll(int rows); -void scrolly(int bong); +//void putPixel_X(int x, int y, byte color); +//void putColorBox_X(int x, int y, int w, int h, byte color); +//void vScroll(int rows); +//void scrolly(int bong); //void wait_for_retrace(void); // Waits for vertical retrace //void BlockMove(); //void eraseplayer(int x, int y); //void drawplayer(int x, int y, int color); -int colortest(); -int colorz(); -void ssd(int svq); +short colortest(); +short colorz(); +void ssd(short svq); //void pdump(int mult); //void tulip(); -int ding(int q); +short ding(int q); #endif/*_DOSLIB_GFX_H_*/