X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftape.c;h=86a8b2154acf9a1897b82605962c24cadcdc8c71;hb=5abed77f4575375756d228a2afc749589a25c87a;hp=782db9be781affbca9471a3678b0c198195e056f;hpb=d41504f21368105b5818ccee3b33d5acd739aa6c;p=rocksndiamonds.git diff --git a/src/tape.c b/src/tape.c index 782db9be..86a8b215 100644 --- a/src/tape.c +++ b/src/tape.c @@ -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();