X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=16%2Fdos_gfx.h;h=6c59aa787b9a6cdab2a2a58087037dd7d67cced0;hb=52275bd67b49fbf71b94d63d7d9e5d5a933744b7;hp=82368d906cbc6cfbaa2b877df61e96612fcddef6;hpb=240ba660932b53de8912026596031edcc1e3e4b9;p=16.git diff --git a/16/dos_gfx.h b/16/dos_gfx.h index 82368d90..6c59aa78 100644 --- a/16/dos_gfx.h +++ b/16/dos_gfx.h @@ -3,17 +3,18 @@ #include #include #include "lib\lib_com.h" -#include "lib\x\modex.h" +#include "lib\x\modex.h" +//#include "lib\modex16.h" //____ #define NUM_COLORS 256 // number of colors in vga mode //static lgq=NUM_COLORS/(1/8) //static hgq=NUM_COLORS/(1/8) #define BONK 400 #define LGQ 32 -#define HGQ 56 +#define HGQ 55 #define TILEWH 16 -#define QUADWH TILEWH/4 -#define BUFFMX 3 +#define QUADWH TILEWH/2 +#define BUFFMX 4 /*byte SIZE = 80; // Size = 40 = 1 across, 4 down // Size = 80 = 2 across, 2 down // Size = 160 = 4 across, 1 down*/ @@ -21,8 +22,12 @@ #define SW 320 #define SH 240 -#define VW 560 -#define VH 416 +//#define VW 560 +//#define VH 416 +#define VW (SW+64) +#define VH (SH+64) +#define BS (VH*2) // buffer space! not BULLSHIT +#define BH BS+(TILEWH*BUFFMX) // buffer resolution //void drawChar(int x, int y, int color, byte c); //void drawText(int x, int y, int color, byte string); @@ -44,7 +49,7 @@ void cls(byte color, byte *Where); short colortest(); short colorz(); void ssd(short svq); -//void pdump(int mult); +void pdump(); //void tulip(); short ding(int q);