projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030111-1-src
[rocksndiamonds.git]
/
src
/
editor.c
diff --git
a/src/editor.c
b/src/editor.c
index 3682bbd09774435d13555bcb0c98ad30d75571d9..c1a03a7cfa192fe29b80f1e9c93b47c5ae9f598f 100644
(file)
--- a/
src/editor.c
+++ b/
src/editor.c
@@
-2650,7
+2650,7
@@
static void PickDrawingElement(int button, int element)
static void DrawDrawingWindow()
{
static void DrawDrawingWindow()
{
- SetMainBackgroundImage(IMG_
NONE
);
+ SetMainBackgroundImage(IMG_
UNDEFINED
);
ClearWindow();
UnmapLevelEditorWindowGadgets();
ClearWindow();
UnmapLevelEditorWindowGadgets();
@@
-2956,7
+2956,7
@@
static void DrawPropertiesWindow()
DrawGraphicAnimationExt(drawto,
SX + xstart * MINI_TILEX,
SY + ystart * MINI_TILEY + MINI_TILEY / 2,
DrawGraphicAnimationExt(drawto,
SX + xstart * MINI_TILEX,
SY + ystart * MINI_TILEY + MINI_TILEY / 2,
- el2img(properties_element), NO_MASKING);
+ el2img(properties_element),
-1,
NO_MASKING);
FrameCounter = 0; /* restart animation frame counter */
FrameCounter = 0; /* restart animation frame counter */
@@
-4347,7
+4347,7
@@
void HandleLevelEditorIdle()
DrawGraphicAnimationExt(drawto,
SX + xpos * TILEX,
SY + ypos * TILEY + MINI_TILEY / 2,
DrawGraphicAnimationExt(drawto,
SX + xpos * TILEX,
SY + ypos * TILEY + MINI_TILEY / 2,
- el2img(properties_element), NO_MASKING);
+ el2img(properties_element),
-1,
NO_MASKING);
#else
DrawGraphicAnimationExt(drawto,
#else
DrawGraphicAnimationExt(drawto,
@@
-4355,7
+4355,7
@@
void HandleLevelEditorIdle()
SY + ypos * TILEY + MINI_TILEY / 2,
el_dir_act2img(properties_element,
MV_NO_MOVING,
SY + ypos * TILEY + MINI_TILEY / 2,
el_dir_act2img(properties_element,
MV_NO_MOVING,
- ...));
+ ...)
, -1, NO_MASKING
);
#endif
MarkTileDirty(xpos, ypos);
#endif
MarkTileDirty(xpos, ypos);