rnd-20140313-2-src
[rocksndiamonds.git] / src / editor.c
index 2791934f678473d79b61c34a90eb875565adf6dc..1fe6e544b86c631277e8a35ac611a8225c28177a 100644 (file)
@@ -7751,6 +7751,7 @@ void DrawLevelEd()
 
 #if 1
   FadeOut(REDRAW_FIELD);
+  // FadeOut(REDRAW_ALL);
 #endif
 
 #if 1
@@ -7758,7 +7759,11 @@ void DrawLevelEd()
   ChangeViewportPropertiesIfNeeded();
 #endif
 
+#if 1
+  OpenDoor(DOOR_OPEN_1 | DOOR_OPEN_2 | DOOR_NO_DELAY);
+#else
   OpenDoor(DOOR_OPEN_2 | DOOR_NO_DELAY);
+#endif
 
 #if DEBUG
   CheckElementDescriptions();
@@ -7832,11 +7837,16 @@ void DrawLevelEd()
 
 #if 1
   FadeIn(REDRAW_FIELD);
+  // FadeIn(REDRAW_ALL);
 #endif
 
   /* copy actual editor door content to door double buffer for OpenDoor() */
+#if 1
+  BlitBitmap(drawto, bitmap_db_door_1, DX, DY, DXSIZE, DYSIZE, 0, 0);
+#else
   BlitBitmap(drawto, bitmap_db_door,
             DX, DY, DXSIZE, DYSIZE, DOOR_GFX_PAGEX1, DOOR_GFX_PAGEY1);
+#endif
 
 #if 1
   /* draw new control window (with border) to window */
@@ -7844,7 +7854,9 @@ void DrawLevelEd()
   BackToFront();
 #endif
 
+#if 0
   OpenDoor(DOOR_OPEN_1);
+#endif
 }
 
 static void AdjustDrawingAreaGadgets()