diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 22:05:19 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 22:27:33 +0200 |
commit | c6df756b86ae4e28bc342dffa6ab41a7c865fa9a (patch) | |
tree | bf186cca4cd530cc72229f1998626187e0665afd /crawl-ref/source/dlua.cc | |
parent | 52818f7c83ffb5143f798412ee8d4800fc9de7b7 (diff) | |
download | crawl-ref-c6df756b86ae4e28bc342dffa6ab41a7c865fa9a.tar.gz crawl-ref-c6df756b86ae4e28bc342dffa6ab41a7c865fa9a.zip |
Move remaining libraries from clua.cc.
That's l_file.cc, l_food.cc, l_global.cc.
Diffstat (limited to 'crawl-ref/source/dlua.cc')
-rw-r--r-- | crawl-ref/source/dlua.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crawl-ref/source/dlua.cc b/crawl-ref/source/dlua.cc index dc800406ca..a49f2e9fd6 100644 --- a/crawl-ref/source/dlua.cc +++ b/crawl-ref/source/dlua.cc @@ -307,6 +307,7 @@ void init_dungeon_lua() lua_stack_cleaner clean(dlua); dluaopen_crawl(dlua); + dluaopen_file(dlua); dluaopen_mapgrd(dlua); dluaopen_you(dlua); @@ -318,9 +319,7 @@ void init_dungeon_lua() luaL_openlib(dlua, "dgn", dgn_level_dlib, 0); luaL_openlib(dlua, "dgn", dgn_mons_dlib, 0); luaL_openlib(dlua, "dgn", dgn_tile_dlib, 0); - luaL_openlib(dlua, "debug", debug_dlib, 0); - luaL_openlib(dlua, "file", file_dlib, 0); luaL_openlib(dlua, "los", los_dlib, 0); dlua.execfile("clua/dungeon.lua", true, true); |