X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fdos_gfx.h;h=cb4119cb1b545e9cc23b38ead734d8514f70dfe4;hb=52483d8c2e16d2298a30e8b5aca4a90c07ea1816;hp=eba4462561698e9238596169ae5d2288332539e1;hpb=3a52257904294d63b42250039dc6d01067af8df1;p=16.git diff --git a/src/lib/dos_gfx.h b/src/lib/dos_gfx.h index eba44625..cb4119cb 100644 --- a/src/lib/dos_gfx.h +++ b/src/lib/dos_gfx.h @@ -6,15 +6,15 @@ #define SW 320 // width in pixels of vga mode #define SH 200 // height in pixels of vga mode -#define NUM_COLORS 16 // number of colors in vga mode -static lgq=NUM_COLORS/(1/8) -static hgq=NUM_COLORS/(1/8) +#define NUM_COLORS 256 // number of colors in vga mode +//static lgq=NUM_COLORS/(1/8) +//static hgq=NUM_COLORS/(1/8) /*#define SW 320 #define SH 200 #define NUM_COLORS 4*/ // cga #define BONK 400 -#define LGQ lgq -#define HGQ hgq +#define LGQ 32 +#define HGQ 56 #define VMEM 0xA000 // = vga //#define VMEM 0xB800 // = cga //#define VMOD 0x13 @@ -27,11 +27,13 @@ void clearscr(); void plotpixel(int x, int y, byte color, byte *Where); void plotpixelfast(int x, int y, byte color, byte *Where); void BlockMove(); -void etesuto(int x, int y); -void qtesuto(int x, int y, int color); +void eraseplayer(int x, int y); +void drawplayer(int x, int y, int color); int colortest(); int colorz(); -void ssd(int svq); -int ding(int q); +void ssd(int svq); +void pdump(int mult); +void tulip(); +int ding(int q); #endif/*_DOSLIB_GFX_H_*/