]> 4ch.mooo.com Git - 16.git/commitdiff
updating
authorsparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 23:42:50 +0000 (18:42 -0500)
committersparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 23:42:50 +0000 (18:42 -0500)
planrpcx.exe
src/planrpcx.c

index a00b1d8004aa5287403d7cbff720e4b76e8bf77c..84fc7c13a560d5b26497e0c82f31ee8f57e95946 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index 375d2c2445620823a36eda1b4fa98cdd21719d85..bd1973ea7c96a40fd1f10cda9136d422a0434e2e 100755 (executable)
 #include "src/lib/planar.h"\r
 \r
 global_game_variables_t gvar;\r
+bitmap_t bmp;\r
+planar_buf_t near *p;\r
 \r
 void main(int argc, char *argv[])\r
 {\r
-       bitmap_t bmp;\r
-       planar_buf_t *p;\r
        int i;\r
        word start;\r
        int plane;\r
@@ -78,7 +78,7 @@ void main(int argc, char *argv[])
 //     t2 = (*clockw-start)/18.2;\r
        start = *clockw;\r
        for(i=0; i<100 ;i++) {\r
-               DrawPBuf(&gvar.video.page[0], gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height), p, 0);\r
+               DrawPBuf(&gvar.video.page[0], 0, 0, p, 0);\r
        }\r
        t2 = (*clockw-start) /18.2;\r
        while(!kbhit())\r
@@ -108,6 +108,7 @@ void main(int argc, char *argv[])
        fprintf(stderr,"ph=%d\n", p->height);\r
        fprintf(stderr,"ppw=%d\n", p->pwidth);\r
        fprintf(stderr,"%d\n", sizeof(bmp));\r
+       fprintf(stderr,"%dx%d\n", gvar.video.page[0].sw-(p->width), gvar.video.page[0].sh-(p->height));\r
        planar_buf_free(p);\r
        fprintf(stderr, "modexDrawBmp:  %f\n", t1);\r
        fprintf(stderr, "DrawPBuf:      %f\n", t2);\r