]> 4ch.mooo.com Git - 16.git/commitdiff
ok tweaking rendering
authorsparky4 <sparky4@cock.li>
Tue, 3 Nov 2015 19:30:02 +0000 (13:30 -0600)
committersparky4 <sparky4@cock.li>
Tue, 3 Nov 2015 19:30:02 +0000 (13:30 -0600)
16.exe
exmmtest.exe
planrpcx.exe
scroll.exe
src/lib/scroll16.c
src/scroll.c
test.exe

diff --git a/16.exe b/16.exe
index 077bad7d2ec232e75eee55d30f5d5c84648d8bdc..d21b01027135d82db6ecd7d111d1f025d2f46f68 100755 (executable)
Binary files a/16.exe and b/16.exe differ
index b4cf37313da1295a3e812242b3bc1d2edac11f53..fd8518a5dd05397edff8591fdf93fccf93f26636 100755 (executable)
Binary files a/exmmtest.exe and b/exmmtest.exe differ
index bab8377f4cb5f984c90807e1bc3439bdfb4f4c29..efd9b91c521822d86abe46836a2c242792f05df3 100755 (executable)
Binary files a/planrpcx.exe and b/planrpcx.exe differ
index 546f80a8617b9ee6fa1564508c3c9cfdb5599da7..207f8bf9f25e5fb36e75705d8f59f7939573e040 100755 (executable)
Binary files a/scroll.exe and b/scroll.exe differ
index 7dd610f772586167c56d823935415e4266940fff..16fd5d0796f9cf18ad6d2a514bb7e66a07caa53d 100755 (executable)
@@ -485,7 +485,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
                {
                        case 0:
 #ifndef TILERENDER
-                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, ((t->debug_data[i])+1)*2);
+                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, ((t->debug_data[i])+1));
                                //cannot print number value du to it being slow as bakapee
 #else
                                PBUFBFUN(page, x, y, rx, ry, t->tileWidth, t->tileHeight, &(t->data));
@@ -493,7 +493,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
 #endif
                        break;
                        case 1:
-                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i])+1);
+                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, (t->debug_data[i]+1));
                                //modexprintbig(page, x, y, 1, 15, 0, (t->debug_data));
                                /*for(texty=0; texty<2; texty++)
                                {
index ecfa672543d9814e9073ccbe0330a7b0a5283baf..f7865cc339cc6b6cf48d063edc9c153b1fed9194 100755 (executable)
@@ -125,7 +125,8 @@ void main(int argc, char *argv[])
 //     printf("Total used @ before palette initiation:         %zu\n", oldfreemem-GetFreeSize());
 //++++ player[0].data.offset=(paloffset/3);
 //++++ modexPalUpdate1(&player[0].data, &paloffset, 0, 0);
-               modexPalUpdate1(p.palette);
+               //modexPalUpdate1(p.palette);
+               modexPalUpdate1(map.tiles->btdata->palette);
        //printf("      %d\n", sizeof(ptmp->data));
        //printf("1:    %d\n", paloffset);
 //++++ map.tiles->data->offset=(paloffset/3);
index 31682613b66888554a993e47d1a0b0b916867acd..abbe29f46c75999001b22c10fc047f51cc727210 100755 (executable)
Binary files a/test.exe and b/test.exe differ