From: sparky4 Date: Fri, 23 Oct 2015 23:42:50 +0000 (-0500) Subject: updating X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=4b4d651b9caaceeb632ce8dee606cfdc2a12ff1e;p=16.git updating --- diff --git a/planrpcx.exe b/planrpcx.exe index a00b1d80..84fc7c13 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/src/planrpcx.c b/src/planrpcx.c index 375d2c24..bd1973ea 100755 --- a/src/planrpcx.c +++ b/src/planrpcx.c @@ -28,11 +28,11 @@ #include "src/lib/planar.h" global_game_variables_t gvar; +bitmap_t bmp; +planar_buf_t near *p; void main(int argc, char *argv[]) { - bitmap_t bmp; - planar_buf_t *p; int i; word start; int plane; @@ -78,7 +78,7 @@ void main(int argc, char *argv[]) // t2 = (*clockw-start)/18.2; start = *clockw; for(i=0; i<100 ;i++) { - DrawPBuf(&gvar.video.page[0], gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height), p, 0); + DrawPBuf(&gvar.video.page[0], 0, 0, p, 0); } t2 = (*clockw-start) /18.2; while(!kbhit()) @@ -108,6 +108,7 @@ void main(int argc, char *argv[]) fprintf(stderr,"ph=%d\n", p->height); fprintf(stderr,"ppw=%d\n", p->pwidth); fprintf(stderr,"%d\n", sizeof(bmp)); + fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height)); planar_buf_free(p); fprintf(stderr, "modexDrawBmp: %f\n", t1); fprintf(stderr, "DrawPBuf: %f\n", t2);