diff options
author | Darshan Shaligram <scintilla@gmail.com> | 2013-02-03 17:24:51 -0500 |
---|---|---|
committer | Darshan Shaligram <scintilla@gmail.com> | 2013-02-03 21:56:11 -0500 |
commit | ea21e6f68b80c4be47bd11ebed260bb85b29f90a (patch) | |
tree | 5fca950852f0bf86b188198c10c7c83b3d9b2570 /crawl-ref/source/dgn-shoals.h | |
parent | 7af4ce618f40e4bee0bb796d0cad9b5bd07c355e (diff) | |
download | crawl-ref-ea21e6f68b80c4be47bd11ebed260bb85b29f90a.tar.gz crawl-ref-ea21e6f68b80c4be47bd11ebed260bb85b29f90a.zip |
Fix Shoals map connections.
Shoals maps used join-the-dots which produces unnatural corridors. Fixed to
postprocess the join-the-dots path and update the heightmap around the path to
make it look less artificial.
Diffstat (limited to 'crawl-ref/source/dgn-shoals.h')
-rw-r--r-- | crawl-ref/source/dgn-shoals.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/dgn-shoals.h b/crawl-ref/source/dgn-shoals.h index 24e17da41a..62c04ecd3f 100644 --- a/crawl-ref/source/dgn-shoals.h +++ b/crawl-ref/source/dgn-shoals.h @@ -3,6 +3,8 @@ void dgn_build_shoals_level(); void dgn_shoals_generate_flora(); +bool dgn_shoals_connect_point(const coord_def &point, + bool (*overwriteable)(dungeon_feature_type)); void shoals_postprocess_level(); void shoals_apply_tides(int turns_elapsed, bool force, bool incremental_tide); |