X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fmodex16.h;h=fe96a78fde3dc98afda722dba483c540469b6ef0;hb=54e80274a159f2c8f12bbb284403927616c686c5;hp=fff256c30b7dedb19b15c154978a1d3f6d41022b;hpb=720b56814204aec44521cd687d1644786e001070;p=16.git diff --git a/src/lib/modex16.h b/src/lib/modex16.h index fff256c3..fe96a78f 100755 --- a/src/lib/modex16.h +++ b/src/lib/modex16.h @@ -31,20 +31,17 @@ #include "src/lib/modex16/16planar.h" #include "src/lib/16text.h" #include "src/lib/modex16/16render.h" -#include "src/lib/modex16/320x240.h" -#include "src/lib/modex16/320x200.h" -#include "src/lib/modex16/256x192.h" -#include "src/lib/modex16/192x144_.h" -#include "src/lib/modex16/160x120.h" +// #include "src/lib/modex16/320x240.h" +// #include "src/lib/modex16/320x200.h" +// #include "src/lib/modex16/256x192.h" +// #include "src/lib/modex16/192x144_.h" +// #include "src/lib/modex16/160x120.h" #include #include #include #include -//TODO dos lib vga implementation ^^ -//#define DOSLIBVGA - static struct pcxHeader { byte id; byte version; @@ -89,7 +86,7 @@ typedef union /* mode switching, page, and plane functions */ void VGAmodeX(sword vq, boolean cmem, global_game_variables_t *gv); void modexEnter(sword vq, boolean cmem, global_game_variables_t *gv); -long vgaGetMode(); +byte vgaGetMode(); void modexLeave(); void modexsetBaseXMode(); page_t modexDefaultPage(page_t *p); @@ -123,15 +120,16 @@ void modexPalUpdate(bitmap_t *bmp, word *i, word qp, word aqoffset); void modexPalUpdate1(byte *p); void modexPalUpdate0(byte *p); void modexPalOverscan(byte *p, word col); -void chkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/); +void modexchkcolor(bitmap_t *bmp, word *q, word *a, word *aa, word *z, word *i/*, word *offset*/); void modexputPixel(page_t *page, int x, int y, byte color); byte modexgetPixel(page_t *page, int x, int y); void modexhlin(page_t *page, word xl, word xh, word y, word color); void modexprint(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str, boolean q); void modexprintbig(page_t *page, word x, word y, word t, word col, word bgcol, const byte *str); -void pdump(page_t *pee); -void cls(page_t *page, byte color, byte *Where); -void modexWaitBorder(); +void modexpdump(page_t *pee); +void modexcls(page_t *page, byte color, byte *Where); +//void modexWaitBorder(); +void bios_cls(); /* -======================= Constants & Vars ==========================- */ extern byte far* VGA; /* The VGA Memory */