From: sparky4 Date: Tue, 10 Nov 2015 22:59:50 +0000 (-0600) Subject: fack X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=576ffdd95878015ef717f72caa87a29f2db460ad;p=16.git fack --- diff --git a/16.exe b/16.exe index 9c4b8195..9bcd86e9 100755 Binary files a/16.exe and b/16.exe differ diff --git a/exmmtest.exe b/exmmtest.exe index 621d34e0..f9cfdb01 100755 Binary files a/exmmtest.exe and b/exmmtest.exe differ diff --git a/planrpcx.exe b/planrpcx.exe index 4cfd67d9..e6c231e8 100755 Binary files a/planrpcx.exe and b/planrpcx.exe differ diff --git a/scroll.exe b/scroll.exe index 5da97c8d..109b3b6f 100755 Binary files a/scroll.exe and b/scroll.exe differ diff --git a/src/scroll.c b/src/scroll.c index eef7a87d..b89d1291 100755 --- a/src/scroll.c +++ b/src/scroll.c @@ -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 diff --git a/test.exe b/test.exe index 51669ada..14c26655 100755 Binary files a/test.exe and b/test.exe differ