X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest.c;h=84a8323699855b657c370a37a64cbd96939d91a3;hb=8e974b9ed72a1521714ea3cf96a9b87c68db8025;hp=d73171e7bf6bfc83134f0788060b9877cbbb114b;hpb=2accbf2668001e82a8fec1e75f37c195996186b0;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index d73171e7..84a83236 100755 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -23,15 +23,16 @@ #include #include #include -#include "src/lib/modex16.h" +#include "src/lib/16_vl.h" #include "src/lib/bitmap.h" -#include "src/lib/planar.h" +//----#include "src/lib/planar.h" global_game_variables_t gvar; +static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ void main() { bitmap_t bmp; - planar_buf_t *p; +//---- planar_buf_t *p; int i; word start; int plane; @@ -62,7 +63,7 @@ void main() { bmp = bitmapLoadPcx("data/chikyuu.pcx"); // bmp = bitmapLoadPcx("data/koishi^^.pcx"); // bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx"); - p = planar_buf_from_bitmap(&bmp); +//---- p = planar_buf_from_bitmap(&bmp); VGAmodeX(1, 1, &gvar); gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);