X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Ftape.c;h=9a5aaa9191c08b4211b3bc147c766d4102368864;hp=782db9be781affbca9471a3678b0c198195e056f;hb=90e8811a711b5daa481c1c3a36a9cbeae4ad233c;hpb=d41504f21368105b5818ccee3b33d5acd739aa6c diff --git a/src/tape.c b/src/tape.c index 782db9be..9a5aaa91 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);