]> 4ch.mooo.com Git - 16.git/commitdiff
WWWWWWWWWWWWwwwwwwwwwwWWWWWWWwwwwWWwwWWwwWwwWww
authorsparky4 <sparky4@cock.li>
Wed, 8 Feb 2017 19:55:06 +0000 (13:55 -0600)
committersparky4 <sparky4@cock.li>
Wed, 8 Feb 2017 19:55:06 +0000 (13:55 -0600)
src/lib/scroll16.c

index 42561f3d4488153d36a00e2f0d2c78cc1a3b8a51..a5b453a1d5e4454fab586911e7e2be92dd59e106 100755 (executable)
@@ -583,12 +583,7 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
                        case 0:\r
 #endif\r
 #ifndef TILERENDER\r
-                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
-                               if(!pagenorendermap)\r
-                               {\r
-                                       sprintf(global_temp_status_text2, "%d", i);\r
-                                       modexprint(page, x, y, 1, 1, 2, global_temp_status_text2);\r
-                               }\r
+                               if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
 #else\r
                                modexDrawBmpRegion              (page, x, y, rx, ry, t->tileWidth, t->tileHeight, i);\r
                                /* then the sprite. note modding ram ptr means we just draw to (x&3,0) */\r
@@ -598,15 +593,9 @@ mapDrawTile(tiles_t *t, word i, page_t *page, word x, word y)
 #ifdef __DEBUG_MAP__\r
                        break;\r
                        case 1:\r
-                               modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
-                               //modexprintbig(page, x, y, 1, 15, 0, (t->debug_data));\r
-                               /*for(texty=0; texty<2; texty++)\r
-                               {\r
-                                       for(textx=0; textx<2; textx++)\r
-                                       {*/\r
-//                                             modexprint(page, x+(textx*8), y+(texty*8), 1, (word)(t->debug_data), 0, (t->debug_data));\r
-/*                                     }\r
-                               }*/\r
+                               if(!pagenorendermap) modexClearRegion(page, x, y, t->tileWidth, t->tileHeight, i);\r
+                               sprintf(global_temp_status_text2, "%d", i);\r
+                               modexprint(page, x, y, 1, 1, 2, global_temp_status_text2);\r
                        break;\r
                }\r
 #endif\r