]> 4ch.mooo.com Git - 16.git/commitdiff
i got it to work to a deree!
authorsparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 17:38:17 +0000 (11:38 -0600)
committersparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 17:38:17 +0000 (11:38 -0600)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/lib/modex16/16planar.c
test.exe

diff --git a/16.exe b/16.exe
index e23d9aa2e14d2c9dfc4017fbc42b3151ba10948b..d5d82999831a24d97476d01d64e8ce3b5f42a2a5 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index e66ee13cbdfc351526c1a6c9646455a27bf14853..058950a10b711e904204232457159f91c863a492 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index c80c0c678cb81ae48b272f5cc9a2fba5af41b1f2..489d0e8784a56cfc5173f28ed18aae181f34d330 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index a51c857775d4269c7a2452d5d9805b5c1bf122fa..8c3a3e17d4f2d2abe428e76d3e81066fc8892778 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index ea5675bcd8569831e9a067d8f4c46e187880deb7..4c167597c292b135026234d81b4719598aa9bdb0 100755 (executable)
@@ -123,8 +123,6 @@ planar_buf_t planarLoadPcx(char *filename)
        word index[4], plane;\r
        byte count, val;\r
 \r
-       word px,py,i,pla;\r
-\r
 /*word w=0;\r
 fprintf(stderr, "\nplanarLoadPcx: ");\r
 fprintf(stderr, "%u ", w++);*/\r
@@ -205,18 +203,6 @@ fprintf(stderr, "%u ", w++);*/
        } while((index[0]+index[1]+index[2]+index[3]) < bufSize);\r
        loadPcxpbufPalette(file, &result);\r
        fclose(file);\r
-\r
-//     //dump value!!\r
-//     for(pla=0; pla < 4; pla++) {\r
-//             i=0;\r
-//             printf("Plane %d\n", pla);\r
-//             for(py=0; py < result.height; py++) {\r
-//                     for(px=0; px < result.pwidth; px++) {\r
-//                             printf("%02X ", (int) result.plane[pla][i++]);\r
-//                     }\r
-//                     printf("\n");\r
-//             }\r
-//     }\r
 // fprintf(stderr, "\n\n%s     count=%d        index=%d        plane=%d\n", filename, count, (dword)(index[0]+index[1]+index[2]+index[3]), pla);\r
 // exit(0);\r
        return result;\r
index 8f53c0d843d929ab7bbc191feea5442395a2dfce..c42ae469723f550f66d5cc587c9e37291fd395da 100755 (executable)
Binary files a/test.exe and b/test.exe differ