summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tileweb.cc
diff options
context:
space:
mode:
authorFlorian Diebold <flodiebold@gmail.com>2013-05-24 14:36:16 +0200
committerPete Hurst <pete@streamuniverse.tv>2013-05-25 17:05:49 +0100
commit65bbc6cf12d980cd56f539e8bba8836311bac564 (patch)
treedea4ebd9cef4796a486b96c73f1c41dc6901a077 /crawl-ref/source/tileweb.cc
parent8f2e336bb97bcaf7a0193c443bb682424dc52b7e (diff)
downloadcrawl-ref-65bbc6cf12d980cd56f539e8bba8836311bac564.tar.gz
crawl-ref-65bbc6cf12d980cd56f539e8bba8836311bac564.zip
Implement the cloud overlay in Webtiles.
Diffstat (limited to 'crawl-ref/source/tileweb.cc')
-rw-r--r--crawl-ref/source/tileweb.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/tileweb.cc b/crawl-ref/source/tileweb.cc
index 1275124231..4013fa48f1 100644
--- a/crawl-ref/source/tileweb.cc
+++ b/crawl-ref/source/tileweb.cc
@@ -1023,6 +1023,11 @@ void TilesFramework::_send_cell(const coord_def &gc,
_write_tileidx(next_pc.bg);
}
+ if (next_pc.cloud != current_pc.cloud)
+ {
+ json_write_int("cloud", next_pc.cloud);
+ }
+
if (next_pc.is_bloody != current_pc.is_bloody)
json_write_bool("bloody", next_pc.is_bloody);