summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dungeon.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-24 20:43:26 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-24 20:43:26 +0000
commit376669c4079cfc19380a15b7791f744d06fe0ed1 (patch)
tree51a7bba01b01c48dd5b6a6461a04303e2dab30a2 /crawl-ref/source/dungeon.h
parentb369e7edc13b4f3528ffcaa93dfc427281e70758 (diff)
downloadcrawl-ref-376669c4079cfc19380a15b7791f744d06fe0ed1.tar.gz
crawl-ref-376669c4079cfc19380a15b7791f744d06fe0ed1.zip
Add pillars to ziggurat, more utility functions for Lua to handle maps.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7591 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/dungeon.h')
-rw-r--r--crawl-ref/source/dungeon.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/crawl-ref/source/dungeon.h b/crawl-ref/source/dungeon.h
index 3d01688f29..e0b2c9b31b 100644
--- a/crawl-ref/source/dungeon.h
+++ b/crawl-ref/source/dungeon.h
@@ -50,13 +50,6 @@ const int MAKE_GOOD_ITEM = 351;
typedef FixedArray<unsigned short, GXM, GYM> map_mask;
-extern map_mask dgn_Map_Mask;
-extern bool Generating_Level;
-extern std::string dgn_Layout_Type;
-
-extern std::set<std::string> Level_Unique_Maps;
-extern std::set<std::string> Level_Unique_Tags;
-
// Map mask constants.
enum map_mask_type
@@ -168,6 +161,16 @@ public:
void draw_at(const coord_def &c);
};
+extern map_mask dgn_Map_Mask;
+extern bool Generating_Level;
+extern std::string dgn_Layout_Type;
+
+extern std::set<std::string> Level_Unique_Maps;
+extern std::set<std::string> Level_Unique_Tags;
+
+extern std::vector<vault_placement> Level_Vaults;
+extern std::vector<vault_placement> Temp_Vaults;
+
//////////////////////////////////////////////////////////////////////////
template <typename fgrd, typename bound_check>
class flood_find : public travel_pathfind
@@ -375,6 +378,8 @@ void dgn_set_lt_callback(std::string level_type_name,
// vaults used in the current level).
bool dgn_square_is_passable(const coord_def &c);
+void dgn_register_place(const vault_placement &place, bool register_vault);
+
struct spec_room
{
bool created;