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/env.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/env.h')
-rw-r--r-- | crawl-ref/source/env.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h index 027be74a3a..8479f89172 100644 --- a/crawl-ref/source/env.h +++ b/crawl-ref/source/env.h @@ -57,12 +57,14 @@ struct crawl_environment #ifdef USE_TILE FixedArray<tile_fg_store, GXM, GYM> tile_bk_fg; FixedArray<tileidx_t, GXM, GYM> tile_bk_bg; + FixedArray<tileidx_t, GXM, GYM> tile_bk_cloud; #endif FixedArray<tile_flavour, GXM, GYM> tile_flv; // indexed by (show-1) coords #ifdef USE_TILE FixedArray<tileidx_t, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER> tile_fg; FixedArray<tileidx_t, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER> tile_bg; + FixedArray<tileidx_t, ENV_SHOW_DIAMETER, ENV_SHOW_DIAMETER> tile_cloud; #endif tile_flavour tile_default; vector<string> tile_names; |