projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20031104-1-src
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index d98a4c1bb7085590176e46f3ed4f07274bc452e1..b66404ab0e7409a01d88279564cc3bb6ddec85c5 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-486,7
+486,7
@@
void DrawLevelGraphicAnimation(int x, int y, int graphic)
void DrawLevelElementAnimation(int x, int y, int element)
{
#if 1
void DrawLevelElementAnimation(int x, int y, int element)
{
#if 1
- int graphic = el_act_dir2img(element, GfxAction[x][y],
Mov
Dir[x][y]);
+ int graphic = el_act_dir2img(element, GfxAction[x][y],
Gfx
Dir[x][y]);
DrawGraphicAnimation(SCREENX(x), SCREENY(y), graphic);
#else
DrawGraphicAnimation(SCREENX(x), SCREENY(y), graphic);
#else
@@
-518,7
+518,7
@@
void DrawLevelElementAnimationIfNeeded(int x, int y, int element)
if (!IN_LEV_FIELD(x, y) || !IN_SCR_FIELD(sx, sy))
return;
if (!IN_LEV_FIELD(x, y) || !IN_SCR_FIELD(sx, sy))
return;
- graphic = el_act_dir2img(element, GfxAction[x][y],
Mov
Dir[x][y]);
+ graphic = el_act_dir2img(element, GfxAction[x][y],
Gfx
Dir[x][y]);
if (!IS_NEW_FRAME(GfxFrame[x][y], graphic))
return;
if (!IS_NEW_FRAME(GfxFrame[x][y], graphic))
return;
@@
-1072,7
+1072,7
@@
void DrawScreenElementExt(int x, int y, int dx, int dy, int element,
{
SetRandomAnimationValue(lx, ly);
{
SetRandomAnimationValue(lx, ly);
- graphic = el_act_dir2img(element, GfxAction[lx][ly],
Mov
Dir[lx][ly]);
+ graphic = el_act_dir2img(element, GfxAction[lx][ly],
Gfx
Dir[lx][ly]);
frame = getGraphicAnimationFrame(graphic, GfxFrame[lx][ly]);
}
else /* border element */
frame = getGraphicAnimationFrame(graphic, GfxFrame[lx][ly]);
}
else /* border element */