]> 4ch.mooo.com Git - 16.git/commitdiff
fack
authorsparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 22:59:50 +0000 (16:59 -0600)
committersparky4 <sparky4@cock.li>
Tue, 10 Nov 2015 22:59:50 +0000 (16:59 -0600)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/scroll.c
test.exe

diff --git a/16.exe b/16.exe
index 9c4b81956b8685686b3e63e148c00013b34e45f3..9bcd86e9a7275b37bdf535fda35b72abc33b76cd 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index 621d34e01ce3265f13048abda2eebc931babc80e..f9cfdb013ba30dafb45915fd53ae7ee7cbf06cce 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index 4cfd67d919642e126567c50310be360609b312c5..e6c231e8cb8781c64cce35712b0005c86e6e208e 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index 5da97c8d8ede7ad2e9b56f9b18bbf6e81835f0a7..109b3b6f303f159187db1c9113ef43776bd76ff6 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index eef7a87d6f5e08e17db42d3faee0b5c9d73610bb..b89d1291b45e5065797457dfac96500056cf4cd2 100755 (executable)
@@ -88,7 +88,7 @@ void main(int argc, char *argv[])
        /* draw the tiles */
 #ifdef MODEX
        ptr = map.data;
-       mappalptr = map.tiles->data->palette;
+       //mappalptr = map.tiles->btdata->palette;
 
        /* data */
        p = bitmapLoadPcx("data/ptmp.pcx"); // load sprite
@@ -126,7 +126,7 @@ void main(int argc, char *argv[])
 //++++ player[0].data.offset=(paloffset/3);
 //++++ modexPalUpdate1(&player[0].data, &paloffset, 0, 0);
                //modexPalUpdate1(p.palette);
-               modexPalUpdate1(map.tiles->data->palette);
+               modexPalUpdate1(map.tiles->btdata->palette);
        //printf("      %d\n", sizeof(ptmp->data));
        //printf("1:    %d\n", paloffset);
 //++++ map.tiles->data->offset=(paloffset/3);
@@ -356,9 +356,9 @@ void main(int argc, char *argv[])
        if(IN_KeyDown(22)){
        paloffset=0; modexPalBlack(); modexPalUpdate(&player[0].data, &paloffset, 0, 0);
        printf("1paloffset      =       %d\n", paloffset/3);
-       modexPalUpdate(map.tiles->data, &paloffset, 0, 0);
+        modexPalUpdate(map.tiles->data, &paloffset, 0, 0);
        printf("2paloffset      =       %d\n", paloffset/3);
-       pdump(bg->page); pdump(spri->page); }
+        pdump(bg->page); pdump(spri->page); }
 #endif
 #endif
        //pan switch
index 51669ada89ec965b7135143be75376109c0309f0..14c26655c8184dfdc30fa0c9ac012896a0fdac94 100755 (executable)
Binary files a/test.exe and b/test.exe differ