aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_main.c')
-rw-r--r--LuaSL/src/LuaSL_main.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 2fb8512..4820dbb 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -78,7 +78,7 @@ void dirList_cb(const char *name, const char *path, void *data)
78 { 78 {
79 snprintf(buf, sizeof(buf), "%s/%s", path, name); 79 snprintf(buf, sizeof(buf), "%s/%s", path, name);
80 if (compileLSL(game, buf, FALSE)) 80 if (compileLSL(game, buf, FALSE))
81 PI("Against all odds, the compile of %s worked! lol", buf); 81 PD("Against all odds, the compile of %s worked! lol", buf);
82 else 82 else
83 PE("The compile of %s failed!", buf); 83 PE("The compile of %s failed!", buf);
84 } 84 }
@@ -179,19 +179,10 @@ main(int argc, char **argv)
179 ecore_evas_callback_delete_request_set(game.ee, _on_delete); 179 ecore_evas_callback_delete_request_set(game.ee, _on_delete);
180 edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game); 180 edje_object_signal_callback_add(game.edje, "*", "game_*", _edje_signal_cb, &game);
181 181
182 // Setup for the compiler. 182 // Do the compiles.
183 compilerSetup(&game); 183 compilerSetup(&game);
184
185 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); 184 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR);
186 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); 185 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game);
187// snprintf(buf, sizeof(buf), "%s/Test sim/objects/onefang's test bed/~run", PACKAGE_DATA_DIR);
188// snprintf(buf, sizeof(buf), "%s/test2.lsl", PACKAGE_DATA_DIR);
189// if (compileLSL(&game, buf, FALSE))
190// PIm("Against all odds, the compile of %s worked! lol", buf);
191// else
192// PEm("The compile of %s failed!", buf);
193 snprintf(buf, sizeof(buf), "%s/test.lsl", PACKAGE_DATA_DIR);
194 compileLSL(&game, buf, FALSE);
195 186
196// ecore_main_loop_begin(); 187// ecore_main_loop_begin();
197 188