diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-05-25 16:41:36 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-05-25 17:05:49 +0100 |
commit | 32fdd823f23af661fe32849db5c787ecd87f55aa (patch) | |
tree | af35a5cba3211cacd318c2713b365dbcf51be880 /crawl-ref/source/tilebuf.h | |
parent | 8b2a8f1c623a15c677a3b30a89df9c172ff2a657 (diff) | |
download | crawl-ref-32fdd823f23af661fe32849db5c787ecd87f55aa.tar.gz crawl-ref-32fdd823f23af661fe32849db5c787ecd87f55aa.zip |
Give cloud overlays an alpha gradient
This creates the effect that the top half of the engulfed
character is emerging slightly out of the cloud.
Diffstat (limited to 'crawl-ref/source/tilebuf.h')
-rw-r--r-- | crawl-ref/source/tilebuf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/tilebuf.h b/crawl-ref/source/tilebuf.h index 911b906368..0fc4bd4a39 100644 --- a/crawl-ref/source/tilebuf.h +++ b/crawl-ref/source/tilebuf.h @@ -89,6 +89,9 @@ public: bool ghost = false, int ox = 0, int oy = 0, int ymax = -1); void add_alpha(tileidx_t idx, int x, int y, int z, int ox, int oy, int ymax, int alpha); + void add_masked(tileidx_t idx, int x, int y, int z, + int ox, int oy, int ymax, + int alpha_above, int alpha_below, int water_level = 0); void draw() const; void clear(); |