]> 4ch.mooo.com Git - 16.git/commitdiff
==== INITIAL LAYER MAP STUFF DONE, added mapdraw layer ontop of bg, going to implemen...
authorsparky4 <sparky4@cock.li>
Wed, 15 Feb 2017 22:42:34 +0000 (16:42 -0600)
committersparky4 <sparky4@cock.li>
Wed, 15 Feb 2017 22:42:34 +0000 (16:42 -0600)
data/G.PAL
pee [deleted file]
src/lib/scroll16.c

index 8092380af954e11b165eae773d83f03429619756..d453ea3551f3fad803eed197d05e4ebbf5b74915 100755 (executable)
Binary files a/data/G.PAL and b/data/G.PAL differ
diff --git a/pee b/pee
deleted file mode 100755 (executable)
index e69de29..0000000
index c50ebb4a3a1be36c33e1edf158fd8271b17fb932..d4583b9915524a34766a72a57a5538be048405a1 100755 (executable)
@@ -603,7 +603,7 @@ if(pagedelayrendermap){ sprintf(global_temp_status_text, "%-3u", mv[id].dx); mod
                if(i>=0){\r
                        mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, mv[id].dx, y);\r
                        for(z=1;z<=2;z++){\r
-                               if(mv[id].map->layerdata[z].data[i] && mv->dy<mv->map->height){\r
+                               if(mv[id].map->layerdata[z].data[i]){\r
                                        sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, mv[id].dx, y, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2);\r
                                        //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, mv[id].dx, y);\r
                                }\r
@@ -629,7 +629,7 @@ if(pagedelayrendermap){ sprintf(global_temp_status_text, "%-3u", mv[id].dy); mod
                if(i>=0){\r
                        mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[0].data[i], mv[id].page, x, mv[id].dy);\r
                        for(z=1;z<=2;z++){\r
-                               if(mv[id].map->layerdata[z].data[i] && mv->dx<mv->map->width){\r
+                               if(mv[id].map->layerdata[z].data[i]){\r
                                        sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, x, mv[id].dy, 1, 0, PALMAPDRAWW, z+2, global_temp_status_text2);\r
                                        //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, x, mv[id].dy);\r
                                }\r