From: Holger Schemel Date: Sat, 27 Nov 2004 17:48:07 +0000 (+0100) Subject: rnd-20041127-3-src X-Git-Tag: 3.1.1^2~42 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=bdb859038a8e2a419aa326bd38eff7e1045da834;hp=7bb60f12d6369c20c459e165fa30beda8af67576;p=rocksndiamonds.git rnd-20041127-3-src --- diff --git a/src/conftime.h b/src/conftime.h index ef7de38c..0c3b9b48 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2004-11-27 16:19]" +#define COMPILE_DATE_STRING "[2004-11-27 18:45]" diff --git a/src/tools.c b/src/tools.c index 3c341ec5..9f8e3dda 100644 --- a/src/tools.c +++ b/src/tools.c @@ -5728,6 +5728,10 @@ void InitGraphicInfo_EM(void) struct GraphicInfo_EM *g_em = &graphic_info_em_object[i][7 - j]; Bitmap *src_bitmap; int src_x, src_y; + /* ensure to get symmetric 3-frame, 2-delay animations as used in EM */ + boolean special_animation = (g->anim_frames == 3 && + g->anim_delay == 2 && + g->anim_mode & ANIM_LINEAR); int sync_frame = (i == Xdrip_stretch ? 7 : i == Xdrip_stretchB ? 7 : i == Ydrip_s2 ? j + 8 : @@ -5819,6 +5823,7 @@ void InitGraphicInfo_EM(void) i == Xboom_2 && j == 5 ? 12 : i == Xboom_2 && j == 6 ? 12 : i == Xboom_2 && j == 7 ? 12 : + special_animation && j == 4 ? 3 : effective_action != action ? 0 : j);