From 5684de7409e72c5ded581455409981cc5786a662 Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Sun, 27 Dec 2009 15:22:34 +0530 Subject: Save Shoals heightmap in level tag, increment tag minor version. --- crawl-ref/source/env.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'crawl-ref/source/env.h') 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 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 heightmap; + // Player-remembered terrain. TODO: move to class player. FixedArray< map_cell, GXM, GYM > map_knowledge; -- cgit v1.2.3-54-g00ecf