projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added configuration handling for global animations (yet to be implemented)
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 7a15c03e81b4973bbf5d29a533252ade5b43d30d..4d8222e023cf196310b65e0a25d3fba33b84814c 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-1239,13
+1239,12
@@
void DrawGraphicThruMaskExt(DrawBuffer *d, int dst_x, int dst_y, int graphic,
void DrawFixedGraphicThruMaskExt(DrawBuffer *d, int dst_x, int dst_y,
int graphic, int frame)
{
void DrawFixedGraphicThruMaskExt(DrawBuffer *d, int dst_x, int dst_y,
int graphic, int frame)
{
- struct GraphicInfo *g = &graphic_info[graphic];
Bitmap *src_bitmap;
int src_x, src_y;
getFixedGraphicSource(graphic, frame, &src_bitmap, &src_x, &src_y);
Bitmap *src_bitmap;
int src_x, src_y;
getFixedGraphicSource(graphic, frame, &src_bitmap, &src_x, &src_y);
- BlitBitmapMasked(src_bitmap, d, src_x, src_y,
g->width, g->height
,
+ BlitBitmapMasked(src_bitmap, d, src_x, src_y,
TILEX, TILEY
,
dst_x, dst_y);
}
dst_x, dst_y);
}
@@
-2392,13
+2391,6
@@
void AnimateEnvelopeRequest(int anim_mode, int action)
ystart = yend;
end = 0;
}
ystart = yend;
end = 0;
}
- else
- {
- if (action == ACTION_OPENING)
- PlayMenuSoundStereo(SND_DOOR_OPENING, SOUND_MIDDLE);
- else if (action == ACTION_CLOSING)
- PlayMenuSoundStereo(SND_DOOR_CLOSING, SOUND_MIDDLE);
- }
for (i = start; i <= end; i++)
{
for (i = start; i <= end; i++)
{