fixed some bugs and added some speed when scaling in-game tile size
[rocksndiamonds.git] / src / tape.c
index 782db9be781affbca9471a3678b0c198195e056f..86a8b2154acf9a1897b82605962c24cadcdc8c71 100644 (file)
@@ -544,6 +544,20 @@ void DrawCompleteVideoDisplay()
         tape.date, tape.length);
 #endif
 
+#if 1
+
+  struct GraphicInfo *g_tape = &graphic_info[IMG_BACKGROUND_TAPE];
+
+  /* draw tape background */
+  BlitBitmap(g_tape->bitmap, drawto, g_tape->src_x, g_tape->src_y,
+            gfx.vxsize, gfx.vysize, gfx.vx, gfx.vy);
+
+  /* draw tape buttons (forced) */
+  UnmapTapeButtons();
+  MapTapeButtons();
+
+#else
+
 #if 1
   struct GraphicInfo *g_tape = &graphic_info[IMG_BACKGROUND_TAPE];
   int tape_button_graphics[] =
@@ -584,6 +598,8 @@ void DrawCompleteVideoDisplay()
             DOOR_GFX_PAGEY2 + VIDEO_CONTROL_YPOS,
             VIDEO_CONTROL_XSIZE, VIDEO_CONTROL_YSIZE,
             gfx.vx + VIDEO_CONTROL_XPOS, gfx.vy + VIDEO_CONTROL_YPOS);
+#endif
+
 #endif
 
   DrawVideoDisplay(VIDEO_ALL_OFF, 0);
@@ -1163,6 +1179,10 @@ void TapeQuickLoad()
 
   if (CheckEngineSnapshot())
   {
+#if 0
+    printf("::: MARK 1\n");
+#endif
+
     TapeStartGamePlaying();
 
     LoadEngineSnapshot();
@@ -1179,6 +1199,10 @@ void TapeQuickLoad()
       return;
   }
 
+#if 0
+  printf("::: MARK 2\n");
+#endif
+
   TapeStop();
   TapeErase();