diff options
Diffstat (limited to 'crawl-ref/source/env.h')
-rw-r--r-- | crawl-ref/source/env.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crawl-ref/source/env.h b/crawl-ref/source/env.h index 1f3c02f142..aa78f2ac0f 100644 --- a/crawl-ref/source/env.h +++ b/crawl-ref/source/env.h @@ -6,6 +6,7 @@ #include "show.h" #include "trap_def.h" +typedef FixedArray<short, GXM, GYM> grid_heightmap; struct crawl_environment { public: @@ -22,6 +23,8 @@ public: FixedArray< unsigned short, GXM, GYM > cgrid; // cloud grid FixedArray< unsigned short, GXM, GYM > grid_colours; // colour overrides + std::auto_ptr<grid_heightmap> heightmap; + // Player-remembered terrain. TODO: move to class player. FixedArray< map_cell, GXM, GYM > map_knowledge; |