X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_gfx.h;h=7a0b100ec0b66a3d14b12e02c0d59f3f11dc54d8;hb=1d73b7e77c527ee5b7b5f94cfef74bbf8d16dffa;hp=02f72c34c95d3d7c279a38fd2cd3b5f2b8c5c380;hpb=0dde01d5cf8929d8f9faadef139c2e0f77b307ba;p=16.git diff --git a/16/dos_gfx.h b/16/dos_gfx.h index 02f72c34..7a0b100e 100644 --- a/16/dos_gfx.h +++ b/16/dos_gfx.h @@ -2,7 +2,8 @@ #define _DOSLIB_GFX_H_ #include #include -#include "lib\lib_com.h" +#include "lib\lib_com.h" +#include "lib\x\modex.h" #define NUM_COLORS 256 // number of colors in vga mode //static lgq=NUM_COLORS/(1/8) @@ -11,12 +12,11 @@ #define LGQ 32 #define HGQ 56 #define TILEWH 16 -byte SIZE = 80; // Size = 40 = 1 across, 4 down +/*byte SIZE = 80; // Size = 40 = 1 across, 4 down // Size = 80 = 2 across, 2 down - // Size = 160 = 4 across, 1 down + // Size = 160 = 4 across, 1 down*/ //#define VMEM 0xA000 // = vga -//int width = 320; -//int height = 240; +byte Xfont[2048]; void drawChar(int x, int y, int color, byte c); void drawText(int x, int y, int color, byte string); @@ -30,7 +30,8 @@ void cls(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 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);