diff options
author | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-26 22:21:09 +0530 |
---|---|---|
committer | Darshan Shaligram <dshaligram@users.sourceforge.net> | 2009-12-26 22:21:53 +0530 |
commit | 61e082e6697779272d5f3503e2751a0ec91283c7 (patch) | |
tree | f0a6b52ba4790cd2f37d010cb59923514859cd0d /crawl-ref/source/dungeon.h | |
parent | 7024702fd974bd3e993eec789237df0d4d29d1df (diff) | |
download | crawl-ref-61e082e6697779272d5f3503e2751a0ec91283c7.tar.gz crawl-ref-61e082e6697779272d5f3503e2751a0ec91283c7.zip |
Move Shoals code out into its own file.
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r-- | crawl-ref/source/dungeon.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h index 590a91b897..bc140c3f2e 100644 --- a/crawl-ref/source/dungeon.h +++ b/crawl-ref/source/dungeon.h @@ -163,6 +163,7 @@ public: extern bool Generating_Level; extern std::string dgn_Layout_Type; +extern std::string dgn_Build_Method; extern std::set<std::string> Level_Unique_Maps; extern std::set<std::string> Level_Unique_Tags; @@ -187,6 +188,7 @@ void dgn_set_grid_colour_at(const coord_def &c, int colour); bool dgn_place_map(const map_def *map, bool clobber, bool make_no_exits, const coord_def &pos = coord_def(-1, -1)); + void level_clear_vault_memory(); void level_welcome_messages(); @@ -256,6 +258,16 @@ bool octa_room(spec_room &sr, int oblique_max, int count_feature_in_box(int x0, int y0, int x1, int y1, dungeon_feature_type feat); + +void dgn_replace_area(const coord_def& p1, const coord_def& p2, + dungeon_feature_type replace, + dungeon_feature_type feature, + unsigned mmask = 0, bool needs_update = false); +void dgn_replace_area(int sx, int sy, int ex, int ey, + dungeon_feature_type replace, + dungeon_feature_type feature, + unsigned mmask = 0, bool needs_update = false); + inline int count_feature_in_box( const coord_def& p1, const coord_def& p2, dungeon_feature_type feat ) { |