From: sparky4 Date: Tue, 3 Nov 2015 21:29:13 +0000 (-0600) Subject: boink X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=880f81af339356de5e0535fa35919b8c455a743b;p=16.git boink --- diff --git a/16.exe b/16.exe index 71b2ae7a..da6ea057 100755 Binary files a/16.exe and b/16.exe differ diff --git a/exmmtest.exe b/exmmtest.exe index 0c2635f1..0b61405b 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index 8a243e61..5d63517b 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index ac9ffd55..053f420d 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/planrpcx.c b/src/planrpcx.c index 9de942b3..eb533f92 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -30,6 +30,7 @@ global_game_variables_t gvar; bitmap_t bmp, ptmpbt; planar_buf_t *p, *ptmp; +planar_buf_t pnp; void main(int argc, char *argv[]) { @@ -57,6 +58,7 @@ baka = 1; bmp = bitmapLoadPcx(bakapeee); p = planar_buf_from_bitmap(&bmp); + pnp = planar_buf_from_bitmap0(&bmp); ptmpbt = bitmapLoadPcx("data/ptmp.pcx"); ptmp = planar_buf_from_bitmap(&ptmpbt); VGAmodeX(baka, &gvar); @@ -77,7 +79,8 @@ baka = 1; start = *clockw; // oldDrawBmp(VGA, 20, 20, &bmp, 0); for(i=0; i<100 ;i++) { - modexDrawBmpPBuf(&gvar.video.page[0], 32, 32, p); + modexDrawBmpPBufRegion (&gvar.video.page[0], 32, 32, 0, 0, pnp.width, pnp.height, &pnp); +// modexDrawBmpPBuf (&gvar.video.page[0], 32, 32, p); } t1 = (*clockw-start) /18.2; // start = *clockw; diff --git a/test.exe b/test.exe index cb31632d..f92927c4 100755 Binary files a/test.exe and b/test.exe differ