projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a750ba6
)
rnd-20021125-1-src
author
Holger Schemel
<info@artsoft.org>
Mon, 25 Nov 2002 01:16:06 +0000
(
02:16
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 30 Aug 2014 08:39:02 +0000
(10:39 +0200)
src/conftime.h
patch
|
blob
|
history
src/game.c
patch
|
blob
|
history
diff --git
a/src/conftime.h
b/src/conftime.h
index c238250f03e90134ac875742cad856150c2b2e5d..82bd6c5d2d09f86b3289effce0f99eb8caa7b6b6 100644
(file)
--- a/
src/conftime.h
+++ b/
src/conftime.h
@@
-1
+1
@@
-#define COMPILE_DATE_STRING "[2002-11-2
3 14:09
]"
+#define COMPILE_DATE_STRING "[2002-11-2
5 02:15
]"
diff --git
a/src/game.c
b/src/game.c
index 8db4cefb8a6c0183add60ec991e90ae445e7cf7c..0a98a0b4692f7a23a70d9277ced4ee5766300eae 100644
(file)
--- 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);
}