]> 4ch.mooo.com Git - 16.git/commitdiff
== code at e0b1c7a and data to 588e089 ==
authorsparky4 <sparky4@cock.li>
Wed, 15 Feb 2017 23:35:53 +0000 (17:35 -0600)
committersparky4 <sparky4@cock.li>
Wed, 15 Feb 2017 23:35:53 +0000 (17:35 -0600)
data/G.PAL
src/lib/16_tdef.h
src/lib/doslib
src/lib/scroll16.c

index d453ea3551f3fad803eed197d05e4ebbf5b74915..8092380af954e11b165eae773d83f03429619756 100755 (executable)
Binary files a/data/G.PAL and b/data/G.PAL differ
index 24552c73877b3810d6bce11013e8ede783aa0d51..58b4e01a379d773b38fb4d4d5fe4447d0b9bf47a 100755 (executable)
@@ -320,7 +320,6 @@ typedef struct
        nibble __near *p;       // pointer to video's render page num\r
        nibble __near *sp;      // pointer to video's show page num\r
        int dx, dy;     // draw row and col var\r
-       word dxt,dyt;\r
 //newer vars!\r
        int delta, d;\r
 } map_view_t;\r
index 77b882341bd1c404c8a5a2e07534aae205d71593..73d44631cbd6ff2e577fd1fa9a12750ebbcd8c54 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 77b882341bd1c404c8a5a2e07534aae205d71593
+Subproject commit 73d44631cbd6ff2e577fd1fa9a12750ebbcd8c54
index d4583b9915524a34766a72a57a5538be048405a1..469ed1f710051551cdeaceddf20d51a13130ac92 100755 (executable)
@@ -604,7 +604,7 @@ if(pagedelayrendermap){ sprintf(global_temp_status_text, "%-3u", mv[id].dx); mod
                        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]){\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
+                                       sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, mv[id].dx, (y+((z-1)*4))>>2, 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
                        }\r
@@ -630,7 +630,7 @@ if(pagedelayrendermap){ sprintf(global_temp_status_text, "%-3u", mv[id].dy); mod
                        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]){\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
+                                       sprintf(global_temp_status_text2, "%u", mv[id].map->layerdata[z].data[i]); modexprint(mv[id].page, (x+((z-1)*4))>>2, 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
                        }\r