static void DrawDrawingWindow()
{
- SetMainBackgroundBitmap(NULL);
+ SetMainBackgroundImage(IMG_UNDEFINED);
ClearWindow();
UnmapLevelEditorWindowGadgets();
int font_color = FC_GREEN;
int i, x, y;
- SetMainBackgroundBitmap(new_graphic_info[IMG_BACKGROUND_DEFAULT].bitmap);
+ SetMainBackgroundImage(IMG_BACKGROUND_EDITOR_SETTINGS_LEVEL);
ClearWindow();
UnmapLevelEditorWindowGadgets();
{ -1, NULL, NULL }
};
- SetMainBackgroundBitmap(new_graphic_info[IMG_BACKGROUND_DEFAULT].bitmap);
+ SetMainBackgroundImage(IMG_BACKGROUND_EDITOR_SETTINGS_ELEMENT);
ClearWindow();
UnmapLevelEditorWindowGadgets();
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 */
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,
SY + ypos * TILEY + MINI_TILEY / 2,
el_dir_act2img(properties_element,
MV_NO_MOVING,
- ...));
+ ...), -1, NO_MASKING);
#endif
MarkTileDirty(xpos, ypos);