summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.cc
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2009-10-07 21:59:42 +0200
committerRobert Vollmert <rvollmert@gmx.net>2009-10-07 22:20:08 +0200
commited0614af8d97a0ffd10f6d55017ca0ee8f6c5175 (patch)
tree0aa8861cedff004d133cf02318064a7a64d057e8 /crawl-ref/source/clua.cc
parent50b9bb4b63d32d75b429469415e71f477116e2ae (diff)
downloadcrawl-ref-ed0614af8d97a0ffd10f6d55017ca0ee8f6c5175.tar.gz
crawl-ref-ed0614af8d97a0ffd10f6d55017ca0ee8f6c5175.zip
Wrap more() for lua (crawl.more()).
Diffstat (limited to 'crawl-ref/source/clua.cc')
-rw-r--r--crawl-ref/source/clua.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.cc b/crawl-ref/source/clua.cc
index 7eb2a7d42a..77022ff1f7 100644
--- a/crawl-ref/source/clua.cc
+++ b/crawl-ref/source/clua.cc
@@ -1823,6 +1823,7 @@ static int crawl_formatted_mpr(lua_State *ls)
return (0);
}
+LUAWRAP(crawl_more, more())
LUAWRAP(crawl_mesclr, mesclr())
LUAWRAP(crawl_redraw_screen, redraw_screen())
@@ -2283,6 +2284,7 @@ static const struct luaL_reg crawl_lib[] =
{
{ "mpr", crawl_mpr },
{ "formatted_mpr", crawl_formatted_mpr },
+ { "more", crawl_more },
{ "mesclr", crawl_mesclr },
{ "random2", crawl_random2 },
{ "one_chance_in", crawl_one_chance_in },