aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-21 10:46:28 +1000
committerDavid Walter Seikel2012-01-21 10:46:28 +1000
commitb96977724164fc9f973b4d30b697b4ed228fa882 (patch)
treeacc5866b1f99c0aae0d41d94143689ca2e10bf4a /LuaSL/src/LuaSL_main.c
parentVectors and rotations are broken, but I'll deal with those next. Just commen... (diff)
downloadSledjHamr-b96977724164fc9f973b4d30b697b4ed228fa882.zip
SledjHamr-b96977724164fc9f973b4d30b697b4ed228fa882.tar.gz
SledjHamr-b96977724164fc9f973b4d30b697b4ed228fa882.tar.bz2
SledjHamr-b96977724164fc9f973b4d30b697b4ed228fa882.tar.xz
Add LSL constants by simply compiling an LSL script with them all, and keeping the result.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_main.c4
1 files changed, 2 insertions, 2 deletions
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)
164 compilerSetup(&game); 164 compilerSetup(&game);
165// snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); 165// snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR);
166 snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR); 166 snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR);
167 if (compileLSL(&game, buf)) 167 if (compileLSL(&game, buf, FALSE))
168 PIm("Against all odds, the compile of %s worked! lol", buf); 168 PIm("Against all odds, the compile of %s worked! lol", buf);
169 else 169 else
170 PEm("The compile of %s failed!", buf); 170 PEm("The compile of %s failed!", buf);
171 snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR); 171 snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR);
172 compileLSL(&game, buf); 172 compileLSL(&game, buf, FALSE);
173 173
174// ecore_main_loop_begin(); 174// ecore_main_loop_begin();
175 175