]> 4ch.mooo.com Git - 16.git/commitdiff
hmmm
authorsparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 18:41:11 +0000 (13:41 -0500)
committersparky4 <sparky4@cock.li>
Fri, 23 Oct 2015 18:41:11 +0000 (13:41 -0500)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/planrpcx.c
test.exe

diff --git a/16.exe b/16.exe
index 71b7fff47ecab1762c398f5ed926cae380188695..a9f53ec49d6d78644b7187e7d90f4e628de92842 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 29d5fa9e4146ce20484bc57765c418ceb5303668..7ad8da46fb9d5cffa75d5f9c1d7892cc26d838e0 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 8cc2e95d2e7edd6122f60723023aa7a52a695047..96810a75bc4c5cf27ff33b90bf346e16487121d9 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index 1a70a03947dde33867a597e334b13a71f008ebce..e819a693507580054255d688b6535a162e885e37 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index b8c8578423af721902c077667ce8e763c65e85d8..fe3a085aa2f8a0fa56c1b896c5e6fab4aff058ba 100755 (executable)
 \r
 global_game_variables_t gvar;\r
 \r
-\r
 void\r
 DrawPBuf(page_t *page, int x, int y, planar_buf_t *p, byte sprite)\r
 {\r
        word plane;\r
        word px, py;\r
        word offset;\r
+       word i;\r
 \r
        // TODO Make this fast.  It's SLOOOOOOW\r
        for(plane=0; plane < 4; plane++) {\r
+               i=0;\r
                modexSelectPlane(PLANE(plane+x));\r
                        for(px = plane; px < p->width; px+=4) {\r
                                offset=px;\r
                                for(py=0; py<p->height/2; py++) {\r
                                        //SELECT_ALL_PLANES();\r
                                        if(!sprite || p->plane[offset])\r
-                                               page->data = (p->plane[offset]);\r
+                                               page->data = &(p->plane[offset][i++]);\r
                                offset+=p->width;\r
                                offset++;\r
                }\r
index f3a146ae6c3ad2a08549b118edacc7e9ddfab463..d53989ecbe7ddf76d30e815771a48500dadd4c79 100755 (executable)
Binary files a/test.exe and b/test.exe differ