projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20070914-1-src
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index e7664ed0b87a9916135cb55ebedb860efd654022..fe8976f21c9254c4ad2cb7c0b14efbb95b1f85be 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-7000,6
+7000,11
@@
void CheckElementDescriptions()
void DrawLevelEd()
{
CloseDoor(DOOR_CLOSE_ALL);
void DrawLevelEd()
{
CloseDoor(DOOR_CLOSE_ALL);
+
+#if 1
+ FadeOut(REDRAW_FIELD);
+#endif
+
OpenDoor(DOOR_OPEN_2 | DOOR_NO_DELAY);
#if DEBUG
OpenDoor(DOOR_OPEN_2 | DOOR_NO_DELAY);
#if DEBUG
@@
-7047,7
+7052,7
@@
void DrawLevelEd()
#endif
MapControlButtons();
#endif
MapControlButtons();
-#if
1
+#if
0
FadeOut(REDRAW_FIELD);
#endif
FadeOut(REDRAW_FIELD);
#endif
@@
-7061,6
+7066,12
@@
void DrawLevelEd()
BlitBitmap(drawto, bitmap_db_door,
DX, DY, DXSIZE, DYSIZE, DOOR_GFX_PAGEX1, DOOR_GFX_PAGEY1);
BlitBitmap(drawto, bitmap_db_door,
DX, DY, DXSIZE, DYSIZE, DOOR_GFX_PAGEX1, DOOR_GFX_PAGEY1);
+#if 1
+ /* draw new control window (with border) to window */
+ redraw_mask |= REDRAW_ALL;
+ BackToFront();
+#endif
+
OpenDoor(DOOR_OPEN_1);
}
OpenDoor(DOOR_OPEN_1);
}
@@
-7313,7
+7324,7
@@
static void DrawDrawingWindow()
stick_element_properties_window = FALSE;
SetMainBackgroundImage(IMG_UNDEFINED);
stick_element_properties_window = FALSE;
SetMainBackgroundImage(IMG_UNDEFINED);
- Clear
Window
();
+ Clear
Field
();
UnmapLevelEditorWindowGadgets();
UnmapLevelEditorToolboxCustomGadgets();
UnmapLevelEditorWindowGadgets();
UnmapLevelEditorToolboxCustomGadgets();
@@
-7336,7
+7347,7
@@
static void DrawLevelInfoWindow()
stick_element_properties_window = FALSE;
SetMainBackgroundImage(IMG_BACKGROUND_EDITOR);
stick_element_properties_window = FALSE;
SetMainBackgroundImage(IMG_BACKGROUND_EDITOR);
- Clear
Window
();
+ Clear
Field
();
UnmapLevelEditorWindowGadgets();
#if 0
UnmapLevelEditorWindowGadgets();
#if 0
@@
-8306,7
+8317,7
@@
static void DrawPropertiesWindow()
MapLevelEditorToolboxCustomGadgets();
SetMainBackgroundImage(IMG_BACKGROUND_EDITOR);
MapLevelEditorToolboxCustomGadgets();
SetMainBackgroundImage(IMG_BACKGROUND_EDITOR);
- Clear
Window
();
+ Clear
Field
();
#if 0
DrawTextSCentered(ED_SETTINGS1_YPOS, FONT_TITLE_1, "Element Settings");
#if 0
DrawTextSCentered(ED_SETTINGS1_YPOS, FONT_TITLE_1, "Element Settings");