From 83e8ab596d26e449cb8749a4f91abb4ed417d031 Mon Sep 17 00:00:00 2001 From: dshaligram Date: Wed, 11 Jul 2007 10:25:58 +0000 Subject: Updated INSTALL for 0.3. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1833 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/AppHdr.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'crawl-ref/source/AppHdr.h') diff --git a/crawl-ref/source/AppHdr.h b/crawl-ref/source/AppHdr.h index a96eb04111..d7d2cb608b 100644 --- a/crawl-ref/source/AppHdr.h +++ b/crawl-ref/source/AppHdr.h @@ -43,12 +43,6 @@ #ifndef APPHDR_H #define APPHDR_H -// Uncomment to enable the Crawl Lua bindings. You can also set this -// in your makefile by adding -DCLUA_BINDINGS to the CFLAGS line (this -// is preferred to editing AppHdr.h directly). -// -// #define CLUA_BINDINGS - // The maximum memory that the user-script Lua interpreter can // allocate, in kilobytes. This limit is enforced to prevent // badly-written or malicious user scripts from consuming too much @@ -292,6 +286,18 @@ #endif #endif +// ========================================================================= +// Lua user scripts (NOTE: this may also be enabled in your makefile!) +// ========================================================================= +// +// Enables Crawl's Lua bindings for user scripts. See the section on +// Lua in INSTALL for more information. NOTE: CLUA_BINDINGS is enabled +// by default in all standard makefiles. Commenting it out here may +// not be sufficient to disable user-Lua - you must also check your +// makefile and remove -DCLUA_BINDINGS. You can use V in-game to check +// whether user-scripts are enabled. +// +// #define CLUA_BINDINGS // ========================================================================= // Game Play Defines -- cgit v1.2.3-54-g00ecf