From b96977724164fc9f973b4d30b697b4ed228fa882 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 21 Jan 2012 10:46:28 +1000 Subject: Add LSL constants by simply compiling an LSL script with them all, and keeping the result. --- LuaSL/src/LuaSL_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'LuaSL/src/LuaSL_main.c') diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index 3891cb4..e0d2629 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c @@ -164,12 +164,12 @@ main(int argc, char **argv) compilerSetup(&game); // snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR); - if (compileLSL(&game, buf)) + if (compileLSL(&game, buf, FALSE)) PIm("Against all odds, the compile of %s worked! lol", buf); else PEm("The compile of %s failed!", buf); snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR); - compileLSL(&game, buf); + compileLSL(&game, buf, FALSE); // ecore_main_loop_begin(); -- cgit v1.1