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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index fef67c6..dfa7f91 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -116,6 +116,7 @@ main(int argc, char **argv)
116 unsigned int i; 116 unsigned int i;
117 struct timeval lastTime2; 117 struct timeval lastTime2;
118 struct timeval thisTime2; 118 struct timeval thisTime2;
119 float diff;
119 120
120 /* this will give you a window with an Evas canvas under the first engine available */ 121 /* this will give you a window with an Evas canvas under the first engine available */
121 game.ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL); 122 game.ee = ecore_evas_new(NULL, 0, 0, WIDTH, HEIGHT, NULL);
@@ -189,7 +190,8 @@ main(int argc, char **argv)
189 compilerSetup(&game); 190 compilerSetup(&game);
190 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR); 191 snprintf(buf, sizeof(buf), "%s/Test sim/objects", PACKAGE_DATA_DIR);
191 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game); 192 eina_file_dir_list(buf, EINA_TRUE, dirList_cb, &game);
192 printf("Compiling %d scripts took %f seconds.\n", scriptCount, timeDiff(&thisTime2, &lastTime2)); 193 diff = timeDiff(&thisTime2, &lastTime2);
194 printf("Compiling %d scripts took %f seconds, that's %f scripts per second. B-).\n", scriptCount, diff, scriptCount / diff);
193 195
194// ecore_main_loop_begin(); 196// ecore_main_loop_begin();
195 197