diff options
author | David Walter Seikel | 2012-01-21 10:46:28 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-21 10:46:28 +1000 |
commit | b96977724164fc9f973b4d30b697b4ed228fa882 (patch) | |
tree | acc5866b1f99c0aae0d41d94143689ca2e10bf4a /LuaSL/src/LuaSL_main.c | |
parent | Vectors and rotations are broken, but I'll deal with those next. Just commen... (diff) | |
download | SledjHamr-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 'LuaSL/src/LuaSL_main.c')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 4 |
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 | ||