diff options
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_main.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c index 9a6c256..fb2a8ba 100644 --- a/LuaSL/src/LuaSL_main.c +++ b/LuaSL/src/LuaSL_main.c | |||
@@ -160,13 +160,16 @@ main(int argc, char **argv) | |||
160 | ecore_evas_callback_delete_request_set(game.ee, _on_delete); | 160 | ecore_evas_callback_delete_request_set(game.ee, _on_delete); |
161 | edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); | 161 | edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); |
162 | 162 | ||
163 | snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR); | 163 | // Setup for the compler. |
164 | compilerSetup(); | ||
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); | ||
164 | if (compileLSL(&game, buf)) | 167 | if (compileLSL(&game, buf)) |
165 | PIm("Against all odds, the compile of %s worked! lol", buf); | 168 | PIm("Against all odds, the compile of %s worked! lol", buf); |
166 | else | 169 | else |
167 | PEm("The compile of %s failed, as expected!", buf); | 170 | PEm("The compile of %s failed, as expected!", buf); |
168 | 171 | ||
169 | ecore_main_loop_begin(); | 172 | // ecore_main_loop_begin(); |
170 | 173 | ||
171 | ecore_animator_del(ani); | 174 | ecore_animator_del(ani); |
172 | ecore_evas_free(game.ee); | 175 | ecore_evas_free(game.ee); |