projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
409606a
)
added support for setting alpha value for envelope style request dialogs
author
Holger Schemel
<info@artsoft.org>
Wed, 6 Dec 2023 19:59:28 +0000
(20:59 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 6 Dec 2023 19:59:28 +0000
(20:59 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 9a82f34625db6adc01bf345b869bf18514d1ffe8..8d1844479ea9b8c45785e57e57243f716565745f 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-3071,7
+3071,11
@@
void DrawEnvelopeRequestToScreen(int drawing_target)
game.request_active &&
drawing_target == DRAW_TO_SCREEN)
{
- if (graphic_info[IMG_BACKGROUND_REQUEST].draw_masked)
+ struct GraphicInfo *g = &graphic_info[IMG_BACKGROUND_REQUEST];
+
+ SetBitmapAlphaNextBlit(request.bitmap, g->alpha);
+
+ if (g->draw_masked)
BlitToScreenMasked(request.bitmap, 0, 0, request.xsize, request.ysize,
request.sx, request.sy);
else