X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Fpcxtest.c;h=1f366fed8c0d626965a7cf0a8b1c9519e7def1cc;hb=5847e594212977917e1f8ce6330bd35ae9c45213;hp=5325303c9bd6c4b1a749018136cee484105ed62e;hpb=c7e6c3d9447e917f4149be3885f0c3bedf9bec67;p=16.git diff --git a/src/pcxtest.c b/src/pcxtest.c index 5325303c..1f366fed 100755 --- a/src/pcxtest.c +++ b/src/pcxtest.c @@ -25,7 +25,7 @@ #include #include "src/lib/16_vl.h" #include "src/lib/bitmap.h" -//----#include "src/lib/planar.h" +#include "src/lib/16render.h" static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */ @@ -33,9 +33,7 @@ void main() { static global_game_variables_t gvar; bitmap_t bmp; //---- planar_buf_t *p; - int i; word start; - int plane; float t1, t2; // DOSLIB: check our environment @@ -60,7 +58,7 @@ void main() { } //0000 bmp = bitmapLoadPcx("data/koishi~~.pcx"); - bmp = bitmapLoadPcx("data/chikyuu.pcx"); + bmp = bitmapLoadPcx("data/chikyuu.pcx", &gvar); // bmp = bitmapLoadPcx("data/koishi^^.pcx"); // bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx"); //---- p = planar_buf_from_bitmap(&bmp);