From: Holger Schemel Date: Mon, 25 Nov 2002 01:16:06 +0000 (+0100) Subject: rnd-20021125-1-src X-Git-Tag: 3.0.0^2~212 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=9ea3a68945e6bc7ce3b6fd15b7ded06fd6c6ea59;p=rocksndiamonds.git rnd-20021125-1-src --- diff --git a/src/conftime.h b/src/conftime.h index c238250f..82bd6c5d 100644 --- a/src/conftime.h +++ b/src/conftime.h @@ -1 +1 @@ -#define COMPILE_DATE_STRING "[2002-11-23 14:09]" +#define COMPILE_DATE_STRING "[2002-11-25 02:15]" diff --git a/src/game.c b/src/game.c index 8db4cefb..0a98a0b4 100644 --- a/src/game.c +++ b/src/game.c @@ -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); }