summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/clua.h
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 07:49:52 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2007-06-27 07:49:52 +0000
commit9ba7349f93aeca1bb45a083235f3576f5096a995 (patch)
tree278d98ebd1d6811ef8d2e5496e3630cb87054c2c /crawl-ref/source/clua.h
parentea6a050bf6b67faf4f9cce0cd8ee802f75ba21e3 (diff)
downloadcrawl-ref-9ba7349f93aeca1bb45a083235f3576f5096a995.tar.gz
crawl-ref-9ba7349f93aeca1bb45a083235f3576f5096a995.zip
The dungeon builder now caches compiled Lua chunks instead of Lua source in the
.dsc to save on compile time (at the expense of larger .dsc files). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1663 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/clua.h')
-rw-r--r--crawl-ref/source/clua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/clua.h b/crawl-ref/source/clua.h
index 2fd6bf835e..b9190021b6 100644
--- a/crawl-ref/source/clua.h
+++ b/crawl-ref/source/clua.h
@@ -63,6 +63,7 @@ public:
void setregistry(const char *name);
void getregistry(const char *name);
+ int loadbuffer(const char *buf, size_t size, const char *context);
int loadstring(const char *str, const char *context);
int execstring(const char *str, const char *context = "init.txt");
int execfile(const char *filename, bool trusted = false,