static int get_graphic_parameter_value(char *, char *, int);
-static Bitmap *getLoadingBackgroundBitmap(int graphic)
+static int getLoadingBackgroundImage(int graphic)
{
- return getBitmapFromGraphicOrDefault(graphic, INITIAL_IMG_BACKGROUND);
+ return getImageFromGraphicOrDefault(graphic, INITIAL_IMG_BACKGROUND);
}
static void SetLoadingWindowBackgroundImage(int graphic)
{
- SetWindowBackgroundBitmap(getLoadingBackgroundBitmap(graphic));
+ SetBackgroundImage(getLoadingBackgroundImage(graphic), REDRAW_ALL);
}
static void SetLoadingBackgroundImage(void)
// animation synchronized with global frame counter, not move position
g->anim_global_sync = parameter[GFX_ARG_GLOBAL_SYNC];
+ // animation synchronized with global anim frame counter, not move position
+ g->anim_global_anim_sync = parameter[GFX_ARG_GLOBAL_ANIM_SYNC];
+
// optional element for cloning crumble graphics
if (parameter[GFX_ARG_CRUMBLED_LIKE] != ARG_UNDEFINED_VALUE)
g->crumbled_like = parameter[GFX_ARG_CRUMBLED_LIKE];
EL_BD_AMOEBA,
EL_EMC_MAGIC_BALL,
EL_EMC_ANDROID,
+ EL_MM_GRAY_BALL,
-1
};
}
ReCreateBitmap(&bitmap_db_field, FXSIZE, FYSIZE);
- ReCreateBitmap(&bitmap_db_panel, DXSIZE, DYSIZE);
ReCreateBitmap(&bitmap_db_door_1, 3 * DXSIZE, DYSIZE);
ReCreateBitmap(&bitmap_db_door_2, 3 * VXSIZE, VYSIZE);