diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-27 15:22:34 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-27 15:22:34 +0530 |
commit | 5684de7409e72c5ded581455409981cc5786a662 (patch) | |
tree | 825362c04803c81562f8d467e05e86ea575ef73e /crawl-ref/source/env.h | |
parent | ec717839b67f5acc52044fca7820df71680f5ff6 (diff) | |
download | crawl-ref-5684de7409e72c5ded581455409981cc5786a662.tar.gz crawl-ref-5684de7409e72c5ded581455409981cc5786a662.zip |
Save Shoals heightmap in level tag, increment tag minor version.
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; |