From: sparky4 Date: Wed, 15 Feb 2017 23:35:53 +0000 (-0600) Subject: == code at e0b1c7a and data to 588e089 == X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=0de956727ac86a5ed1f561fe22759bb871582994;p=16.git == code at e0b1c7a and data to 588e089 == --- diff --git a/data/G.PAL b/data/G.PAL index d453ea35..8092380a 100755 Binary files a/data/G.PAL and b/data/G.PAL differ diff --git a/src/lib/16_tdef.h b/src/lib/16_tdef.h index 24552c73..58b4e01a 100755 --- a/src/lib/16_tdef.h +++ b/src/lib/16_tdef.h @@ -320,7 +320,6 @@ typedef struct nibble __near *p; // pointer to video's render page num nibble __near *sp; // pointer to video's show page num int dx, dy; // draw row and col var - word dxt,dyt; //newer vars! int delta, d; } map_view_t; diff --git a/src/lib/doslib b/src/lib/doslib index 77b88234..73d44631 160000 --- a/src/lib/doslib +++ b/src/lib/doslib @@ -1 +1 @@ -Subproject commit 77b882341bd1c404c8a5a2e07534aae205d71593 +Subproject commit 73d44631cbd6ff2e577fd1fa9a12750ebbcd8c54 diff --git a/src/lib/scroll16.c b/src/lib/scroll16.c index d4583b99..469ed1f7 100755 --- a/src/lib/scroll16.c +++ b/src/lib/scroll16.c @@ -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); for(z=1;z<=2;z++){ if(mv[id].map->layerdata[z].data[i]){ - 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); + 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); //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, mv[id].dx, y); } } @@ -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); for(z=1;z<=2;z++){ if(mv[id].map->layerdata[z].data[i]){ - 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); + 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); //mapDrawTile(mv[id].map->MAPTILESPTR, mv[id].map->layerdata[z].data[i], mv[id].page, x, mv[id].dy); } }