]> 4ch.mooo.com Git - 16.git/commitdiff
boink
authorsparky4 <sparky4@cock.li>
Tue, 3 Nov 2015 21:29:13 +0000 (15:29 -0600)
committersparky4 <sparky4@cock.li>
Tue, 3 Nov 2015 21:29:13 +0000 (15:29 -0600)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/planrpcx.c
test.exe

diff --git a/16.exe b/16.exe
index 71b2ae7a54e6c1b5aa91063eabb72dd31692df72..da6ea057b05d3b2f9365fe33c7840e8dd01e168d 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 0c2635f17e773f30b8a3971c3945772b33dfde44..0b61405b6d99e15e80313b940ab54187e4f63d22 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 8a243e6176e0e58b8ce5a7e8f5e0af502665eb8c..5d63517bf9b70628e1d87f2a32d6a41640c5fb9e 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index ac9ffd550e1f15eed2024faf6f18bb7f4cd57616..053f420dd138da3fff5a84c63ffe8609c843c905 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 9de942b3f64504fa3116ccaed15b3d6c778629df..eb533f925b724db0556f4d4c7b0410c696824c12 100755 (executable)
@@ -30,6 +30,7 @@
 global_game_variables_t gvar;\r
 bitmap_t bmp, ptmpbt;\r
 planar_buf_t *p, *ptmp;\r
+planar_buf_t pnp;\r
 \r
 void main(int argc, char *argv[])\r
 {\r
@@ -57,6 +58,7 @@ baka = 1;
 \r
        bmp = bitmapLoadPcx(bakapeee);\r
        p = planar_buf_from_bitmap(&bmp);\r
+       pnp = planar_buf_from_bitmap0(&bmp);\r
        ptmpbt = bitmapLoadPcx("data/ptmp.pcx");\r
        ptmp = planar_buf_from_bitmap(&ptmpbt);\r
        VGAmodeX(baka, &gvar);\r
@@ -77,7 +79,8 @@ baka = 1;
        start = *clockw;\r
 //             oldDrawBmp(VGA, 20, 20, &bmp, 0);\r
        for(i=0; i<100 ;i++) {\r
-               modexDrawBmpPBuf(&gvar.video.page[0], 32, 32, p);\r
+               modexDrawBmpPBufRegion  (&gvar.video.page[0], 32, 32, 0, 0, pnp.width, pnp.height, &pnp);\r
+//             modexDrawBmpPBuf                (&gvar.video.page[0], 32, 32, p);\r
        }\r
        t1 = (*clockw-start) /18.2;\r
 //     start = *clockw;\r
index cb31632d36bb61d83de3db6139edc0dd3d8f578b..f92927c485ccc241864eb2242aa2938872c4ce5e 100755 (executable)
Binary files a/test.exe and b/test.exe differ