projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added support for setting alpha value for global animations
[rocksndiamonds.git]
/
src
/
anim.c
diff --git
a/src/anim.c
b/src/anim.c
index 222369e1abb3b0c364e6198dfae4f23bae4256b8..5967bb735525e288e93621c3379ff248c2af75d1 100644
(file)
--- a/
src/anim.c
+++ b/
src/anim.c
@@
-781,6
+781,8
@@
static void BlitGlobalAnimation(struct GlobalAnimPartControlInfo *part,
dst_x += part->viewport_x;
dst_y += part->viewport_y;
+ SetBitmapAlphaNextBlit(src_bitmap, g->alpha);
+
if (drawing_target == DRAW_TO_SCREEN)
blit_screen(src_bitmap, src_x, src_y, width, height,
dst_x, dst_y);