diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 11:19:41 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 11:19:41 +0200 |
commit | e4018b3ebf7d7e14787a04420014acf581d69978 (patch) | |
tree | 743aeabfc897ac9eac50334aefdd55254173a2d9 /crawl-ref/source/dlua.cc | |
parent | b00943ff50ceecafa35b13e6286f04b4e4e30070 (diff) | |
download | crawl-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.cc | 3 |
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); |