diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 00:40:33 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-20 00:44:30 +0200 |
commit | 378834da4d947a1a06c90ff3c20705b976714109 (patch) | |
tree | 30b18b1323dad6ded5ba020581a738ae411ebbaa /crawl-ref/source/l_libs.h | |
parent | a4f9da4c2defdeedba6e172d8c8538f4b1aefe78 (diff) | |
download | crawl-ref-378834da4d947a1a06c90ff3c20705b976714109.tar.gz crawl-ref-378834da4d947a1a06c90ff3c20705b976714109.zip |
Split some parts of lua library "dgn" out.
Specifically, item and monster-related functions to l_dgnit.cc and
l_dgnmon.cc.
Diffstat (limited to 'crawl-ref/source/l_libs.h')
-rw-r--r-- | crawl-ref/source/l_libs.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/l_libs.h b/crawl-ref/source/l_libs.h index bf721ab3a2..f6903f5118 100644 --- a/crawl-ref/source/l_libs.h +++ b/crawl-ref/source/l_libs.h @@ -3,11 +3,16 @@ * Summary: Library definitions for dlua. */ +#ifndef L_LIBS_H +#define L_LIBS_H + #include "clua.h" extern const struct luaL_reg crawl_lib[]; extern const struct luaL_reg dgn_lib[]; extern const struct luaL_reg dgn_event_lib[]; +extern const struct luaL_reg dgn_item_lib[]; +extern const struct luaL_reg dgn_mons_lib[]; extern const struct luaL_reg file_lib[]; extern const struct luaL_reg los_lib[]; extern const struct luaL_reg mapmarker_lib[]; @@ -17,6 +22,9 @@ void luaopen_dgnevent(lua_State *ls); void luaopen_mapmarker(lua_State *ls); void luaopen_ray(lua_State *ls); -void register_mapdef_tables(lua_State *ls); +void register_monslist(lua_State *ls); +void register_itemlist(lua_State *ls); void register_builder_funcs(lua_State *ls); +#endif + |