From ed0614af8d97a0ffd10f6d55017ca0ee8f6c5175 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Wed, 7 Oct 2009 21:59:42 +0200 Subject: Wrap more() for lua (crawl.more()). --- crawl-ref/source/clua.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source') 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 }, -- cgit v1.2.3-54-g00ecf