summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/util/levcomp.lpp
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-20 20:16:30 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2010-01-20 20:32:14 +0530
commit569c3326919a59d91ac92e848b7e4aee28fe8e8b (patch)
tree8697b9826887a948ee8fe31785e9d2457ce7c92e /crawl-ref/source/util/levcomp.lpp
parentbbfb1fdf5058353174ab9be45fd43ec6ebfbf477 (diff)
downloadcrawl-ref-569c3326919a59d91ac92e848b7e4aee28fe8e8b.tar.gz
crawl-ref-569c3326919a59d91ac92e848b7e4aee28fe8e8b.zip
shoals_atoll support: FHEIGHT sets heights for map squares, tide_seed property requests that a marker be treated as a source for tide effects.
Added support for setting heightmap heights using FHEIGHT: xyz = <height>. Any property marker can return a non-empty property value for "tide_seed" to use that marker's position as a seed point for the tide. Tide effects will otherwise propagate in only from the open sea at the four corners of Shoals maps, and can only affect squares connected by water to the four default tide seeds. Removed code that forces features to floor or shallow water when placing items in vaults.
Diffstat (limited to 'crawl-ref/source/util/levcomp.lpp')
-rw-r--r--crawl-ref/source/util/levcomp.lpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/util/levcomp.lpp b/crawl-ref/source/util/levcomp.lpp
index 0de769b58a..7cf69e0c2a 100644
--- a/crawl-ref/source/util/levcomp.lpp
+++ b/crawl-ref/source/util/levcomp.lpp
@@ -252,6 +252,7 @@ LROCKTILE: { CBEGIN(ARGUMENT); return LROCKTILE; }
FTILE: { CBEGIN(ITEM_LIST); return FTILE; }
RTILE: { CBEGIN(ITEM_LIST); return RTILE; }
TILE: { CBEGIN(ITEM_LIST); return TILE; }
+FHEIGHT: { CBEGIN(ITEM_LIST); return FHEIGHT; }
MONS: { CBEGIN(MNAME); return MONS; }
ITEM: { CBEGIN(ITEM_LIST); return ITEM; }
MARKER: { CBEGIN(ARGUMENT); return MARKER; }