rnd-20021125-1-src
authorHolger Schemel <info@artsoft.org>
Mon, 25 Nov 2002 01:16:06 +0000 (02:16 +0100)
committerHolger Schemel <info@artsoft.org>
Sat, 30 Aug 2014 08:39:02 +0000 (10:39 +0200)
src/conftime.h
src/game.c

index c238250f03e90134ac875742cad856150c2b2e5d..82bd6c5d2d09f86b3289effce0f99eb8caa7b6b6 100644 (file)
@@ -1 +1 @@
-#define COMPILE_DATE_STRING "[2002-11-23 14:09]"
+#define COMPILE_DATE_STRING "[2002-11-25 02:15]"
index 8db4cefb8a6c0183add60ec991e90ae445e7cf7c..0a98a0b4692f7a23a70d9277ced4ee5766300eae 100644 (file)
@@ -4234,7 +4234,11 @@ void EdelsteinFunkeln(int x, int y)
       if (setup.direct_draw && MovDelay[x][y])
        SetDrawtoField(DRAW_BUFFERED);
 
+#if 0
       DrawGraphic(SCREENX(x), SCREENY(y), el2img(Feld[x][y]), 0);
+#else
+      DrawGraphicAnimation(x, y, el2img(Feld[x][y]));
+#endif
 
       if (MovDelay[x][y])
       {
@@ -4884,6 +4888,13 @@ void GameActions()
     {
       StartMoving(x, y);
 
+#if 1
+      if (Feld[x][y] == EL_EMERALD &&
+         new_graphic_info[IMG_EMERALD].anim_frames > 1 &&
+         !IS_MOVING(x, y))
+       DrawGraphicAnimation(x, y, IMG_EMERALD);
+#endif
+
       if (IS_GEM(element) || element == EL_SP_INFOTRON)
        EdelsteinFunkeln(x, y);
     }