summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/env.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2010-11-08 11:58:06 +0100
committerRaphael Langella <raphael.langella@gmail.com>2010-11-08 23:23:58 +0100
commit5e120389ebf48d61b4d25e6656f8d39a67c1dc9f (patch)
tree95f378c0fc6e3730a4428fc2e1f2b053002d48c1 /crawl-ref/source/env.h
parent1626249cf6c969a6993fbf55c1e849551bab3bc9 (diff)
downloadcrawl-ref-5e120389ebf48d61b4d25e6656f8d39a67c1dc9f.tar.gz
crawl-ref-5e120389ebf48d61b4d25e6656f8d39a67c1dc9f.zip
Move the static mapshadow to a member of env
This is to avoid having several static shadow maps in different place of the code.
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r--crawl-ref/source/env.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h
index f8d69a2cf8..9ee307a224 100644
--- a/crawl-ref/source/env.h
+++ b/crawl-ref/source/env.h
@@ -46,6 +46,8 @@ struct crawl_environment
// Player-remembered terrain and LOS
FixedArray< map_cell, GXM, GYM > map_knowledge;
+ // Previous map knowledge (last step)
+ FixedArray< map_cell, GXM, GYM > map_shadow;
std::set<coord_def> visible;
#ifdef USE_TILE