]> 4ch.mooo.com Git - 16.git/commitdiff
^^ yay!!
authorsparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 22:01:24 +0000 (16:01 -0600)
committersparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 22:01:24 +0000 (16:01 -0600)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/lib/modex16/16render.c
src/planrpcx.c
test.exe

diff --git a/16.exe b/16.exe
index b8d3955caeb461f8ad7d540a0171eeefec42ddcb..664643b971ee286560afd67cae8cdc44dd2d60fb 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 535e3f15f130ffb123b0013b77f5210cab74cdfe..a2e34d8ca6828c7b2e2bed5a19ecb940ce1af946 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 8fde3f24600335b89f34fa4b4c7ab6c002b6d455..a3c3ad64d2bc4dfdb6ce25f4a3344947e5fb9de0 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index 3488f5ecc511b984c30c9c68cab670b9e3a18ce9..0f05113039aac5b7eb2770297d086fd2262844ef 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index f80d5ea8fc367bcd1a2aa9460d7758c0cd30e441..fdc2215e82ff0dcf7527afb4a0cd663b85106387 100755 (executable)
@@ -36,8 +36,12 @@ void modexDrawPBufRegion     (page_t *page, int x, int y, int rx, int ry, int rw, in
        const int px=x+page->dx;\r
        const int py=y+page->dy;\r
        const int prw = rw/4;\r
+\r
+       //fine tuning\r
        rx+=1;\r
        ry+=1;\r
+\r
+       //^^;\r
        #define PEEE    rx-prw\r
        #define PE              (p->pwidth)\r
        #define PEEEE   (PE*(ry))\r
@@ -48,17 +52,12 @@ void modexDrawPBufRegion    (page_t *page, int x, int y, int rx, int ry, int rw, in
                i=PEEE+PEEEE;\r
                modexSelectPlane(PLANE(plane-1));\r
                for(; y < py+rh; y++) {\r
-                       //for(px=0; px < p->width; px++) {\r
-                               //printf("%02X ", (int) p->plane[plane][i++]);\r
-//                           _fmemcpy(buff, &(p->plane[plane][i+=p->pwidth]), p->pwidth);\r
-//                           printf("buff %u==%s\n", y, *buff);\r
                                _fmemcpy(page->data + (((page->width/4) * (y)) + ((x) / 4)), &(p->plane[plane][i]), prw);\r
                                i+=PE;\r
-                       //}\r
                }\r
                x=px;\r
                y=py;\r
-               }\r
+       }\r
 }\r
 \r
 \r
index bb473178e11221650b389cf03611fa484b4ed352..bf671423e19769622ad5b4115aed120c2866f35b 100755 (executable)
@@ -97,7 +97,7 @@ baka = 1;
 getch();\r
        for(i=0; i<100 ;i++) {\r
                                                //(page_t *page, int x, int y, int rx, int ry, int rw, int rh, planar_buf_t *p, boolean sprite);\r
-               modexDrawPBufRegion     (&gvar.video.page[0], p.width, 0, p.width-16, p.height-16, 16, 16, &p, 0);//(&gvar.video.page[0], 0, 0, 0+p.width, 0, p.width, p.height, &p, 0);\r
+               modexDrawPBufRegion     (&gvar.video.page[0], p.width, 0, p.width-(p.width/4), p.height-(p.height/4), p.width/4, p.height/4, &p, 0);//(&gvar.video.page[0], 0, 0, 0+p.width, 0, p.width, p.height, &p, 0);\r
        }\r
        t4 = (*clockw-start) /18.2;\r
        //++++  modexPalUpdate1(ptmp.palette);\r
index 798f4b1b00f8aefb94244ab2d5d95fd6d340b98f..60cd3ffa79355253ef4cc999cd8395c7aa6f0e21 100755 (executable)
Binary files a/test.exe and b/test.exe differ