X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.c;h=ebb52194469b79b30d33fe7483dd29fa20ff5532;hb=c12ae4bec59aed267be508426df06b948732daec;hp=9b972e7df955a0557e9876d2c413142ab35859eb;hpb=aed278e72703016e2729b55d8b629b7e1b31469e;p=rocksndiamonds.git diff --git a/src/tools.c b/src/tools.c index 9b972e7d..ebb52194 100644 --- a/src/tools.c +++ b/src/tools.c @@ -2395,7 +2395,11 @@ void DrawSpecialEditorDoor() { /* draw bigger toolbox window */ BlitBitmap(new_graphic_info[IMG_MENU_DOOR].bitmap, drawto, - DOOR_GFX_PAGEX7, 0, 108, 56, EX - 4, EY - 12); + DOOR_GFX_PAGEX7, 0, EXSIZE + 8, 8, + EX - 4, EY - 12); + BlitBitmap(new_graphic_info[IMG_MENU_BACK].bitmap, drawto, + EX - 4, VY - 4, EXSIZE + 8, EYSIZE - VYSIZE + 4, + EX - 4, EY - 4); redraw_mask |= REDRAW_ALL; } @@ -2404,7 +2408,8 @@ void UndrawSpecialEditorDoor() { /* draw normal tape recorder window */ BlitBitmap(new_graphic_info[IMG_MENU_BACK].bitmap, drawto, - 562, 344, 108, 56, EX - 4, EY - 12); + EX - 4, EY - 12, EXSIZE + 8, EYSIZE - VYSIZE + 12, + EX - 4, EY - 12); redraw_mask |= REDRAW_ALL; }