diff options
author | Pete Hurst <pete@streamuniverse.tv> | 2013-05-24 00:19:30 +0100 |
---|---|---|
committer | Pete Hurst <pete@streamuniverse.tv> | 2013-05-25 17:05:48 +0100 |
commit | 8f2e336bb97bcaf7a0193c443bb682424dc52b7e (patch) | |
tree | 0367ec5a5d7ecf353212e951622526694cf9ef82 /crawl-ref/source/tilepick.h | |
parent | 60f276de766666d1f2852beb8c5f3a2159ce8750 (diff) | |
download | crawl-ref-8f2e336bb97bcaf7a0193c443bb682424dc52b7e.tar.gz crawl-ref-8f2e336bb97bcaf7a0193c443bb682424dc52b7e.zip |
Implement cloud alpha overlay tiles layer
This works very well for the most part with
two small problems:
- Webtiles will not support this yet (in probability,
this will stop any clouds showing in webtiles)
- Floor items interact strangely and will draw over
the top of clouds instead of behind them
Diffstat (limited to 'crawl-ref/source/tilepick.h')
-rw-r--r-- | crawl-ref/source/tilepick.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/tilepick.h b/crawl-ref/source/tilepick.h index 76cdcee3d7..3588f92c23 100644 --- a/crawl-ref/source/tilepick.h +++ b/crawl-ref/source/tilepick.h @@ -21,7 +21,7 @@ bool is_door_tile(tileidx_t tile); // Tile index lookup from Crawl data. tileidx_t tileidx_feature(const coord_def &gc); tileidx_t tileidx_out_of_bounds(int branch); -void tileidx_out_of_los(tileidx_t *fg, tileidx_t *bg, const coord_def& gc); +void tileidx_out_of_los(tileidx_t *fg, tileidx_t *bg, tileidx_t *cloud, const coord_def& gc); tileidx_t tileidx_monster(const monster_info& mon); tileidx_t tileidx_draco_base(const monster_info& mon); @@ -62,7 +62,7 @@ static inline void bind_item_tile(item_def &item) {} // For a given fg/bg set of tile indices and a 1 character prefix, // return index, flag, and tile name as a printable string. -string tile_debug_string(tileidx_t fg, tileidx_t bg, char prefix); +string tile_debug_string(tileidx_t fg, tileidx_t bg, tileidx_t cloud, char prefix); void tile_init_props(monster* mon); |