summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/dlua.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-20 11:19:41 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-20 11:19:41 +0200
commite4018b3ebf7d7e14787a04420014acf581d69978 (patch)
tree743aeabfc897ac9eac50334aefdd55254173a2d9 /crawl-ref/source/dlua.cc
parentb00943ff50ceecafa35b13e6286f04b4e4e30070 (diff)
downloadcrawl-ref-e4018b3ebf7d7e14787a04420014acf581d69978.tar.gz
crawl-ref-e4018b3ebf7d7e14787a04420014acf581d69978.zip
Split debug lua bindings out to new library "debug".
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r--crawl-ref/source/dlua.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc
index c5a2b04bb2..4461a99748 100644
--- a/crawl-ref/source/dlua.cc
+++ b/crawl-ref/source/dlua.cc
@@ -314,8 +314,9 @@ void init_dungeon_lua()
luaL_openlib(dlua, "dgn", dgn_level_lib, 0);
luaL_openlib(dlua, "dgn", dgn_mons_lib, 0);
luaL_openlib(dlua, "dgn", dgn_tile_lib, 0);
- // Add additional function to the Crawl module.
+
luaL_openlib(dlua, "crawl", crawl_lib, 0);
+ luaL_openlib(dlua, "debug", debug_lib, 0);
luaL_openlib(dlua, "file", file_lib, 0);
luaL_openlib(dlua, "you", you_lib, 0);
luaL_openlib(dlua, "los", los_lib, 0);