summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_defs.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-21 12:15:06 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-21 12:15:06 +0200
commit5b65cad7433ded2e76bd162c21709133f7cfc439 (patch)
treeb4cebdc6bab1596381ede422d14b998ed2405588 /crawl-ref/source/l_defs.h
parentcaae98284820a7ce9cf47868ba621f613e611e1e (diff)
downloadcrawl-ref-5b65cad7433ded2e76bd162c21709133f7cfc439.tar.gz
crawl-ref-5b65cad7433ded2e76bd162c21709133f7cfc439.zip
Create l_defs.h and move stuff there.
l_defs.h contains headers for things defined in the Lua functions but used elsewhere. This should probably not exist long-term.
Diffstat (limited to 'crawl-ref/source/l_defs.h')
-rw-r--r--crawl-ref/source/l_defs.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/crawl-ref/source/l_defs.h b/crawl-ref/source/l_defs.h
new file mode 100644
index 0000000000..439e9e7d0e
--- /dev/null
+++ b/crawl-ref/source/l_defs.h
@@ -0,0 +1,18 @@
+/*
+ * File: l_defs.h
+ * Summary: Functions defined in the Lua bindings but used elsewhere.
+ *
+ * TODO: Move these where they belong.
+ */
+
+#ifndef L_DEFS_H
+#define L_DEFS_H
+
+dungeon_feature_type dungeon_feature_by_name(const std::string &name);
+std::vector<std::string> dungeon_feature_matches(const std::string &name);
+const char *dungeon_feature_name(dungeon_feature_type feat);
+std::string dgn_set_default_depth(const std::string &s);
+void dgn_reset_default_depth();
+
+#endif
+