summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/l_libs.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-20 16:54:58 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-20 16:57:51 +0200
commita99ad56b2d84c930ee7c0ff4628c96eed1d200dc (patch)
tree9c1dd0b895c0236c6b7ffff078569dab781a8d9a /crawl-ref/source/l_libs.h
parentdd65128ada0a1e92cebe85f5353113a8427ab043 (diff)
downloadcrawl-ref-a99ad56b2d84c930ee7c0ff4628c96eed1d200dc.tar.gz
crawl-ref-a99ad56b2d84c930ee7c0ff4628c96eed1d200dc.zip
Move grd_lib out of clua.cc into l_mapgrd.cc.
Rest of commit comment only as accurate as my understanding... Renaming from grd to mapgrd to avoid confusion with grd == env.grid: This grd is the maplines-section of a vault definition. Also move mapgrd_lib from clua to dlua since it's only used for dungeon building. clua and dlua need more descriptive names.
Diffstat (limited to 'crawl-ref/source/l_libs.h')
-rw-r--r--crawl-ref/source/l_libs.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/l_libs.h b/crawl-ref/source/l_libs.h
index a101e423c4..9fe6d97eb3 100644
--- a/crawl-ref/source/l_libs.h
+++ b/crawl-ref/source/l_libs.h
@@ -15,7 +15,6 @@
void cluaopen_crawl(lua_State *ls);
void cluaopen_you(lua_State *ls);
-
/*
* Libraries and loaders, accessed from init_dungeon_lua().
*/
@@ -42,7 +41,9 @@ void register_itemlist(lua_State *ls);
void register_builder_funcs(lua_State *ls);
void dluaopen_crawl(lua_State *ls);
-void dluaopen_you(lua_State *ls);
+void dluaopen_mapgrd(lua_State *ls);
+void dluaopen_you(lua_State *ls);
+
/*
* Macros for processing object arguments.
*/