aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/love/love.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/love/love.c')
-rw-r--r--src/love/love.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/love/love.c b/src/love/love.c
index d8972d1..05f07db 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -197,7 +197,7 @@ static Eina_Bool LuaSLParser(void *data, Connection *conn, char *SID, char *comm
197 char buf[PATH_MAX]; 197 char buf[PATH_MAX];
198 LoveScript *me; 198 LoveScript *me;
199 199
200PW("COMMAND - %s - %s", SID, command); 200PD("COMMAND - %s - %s", SID, command);
201 me = eina_hash_find(ourGlobals->scripts, SID); 201 me = eina_hash_find(ourGlobals->scripts, SID);
202 if (0 == strncmp(command, "compilerWarning(", 16)) 202 if (0 == strncmp(command, "compilerWarning(", 16))
203 { 203 {
@@ -260,7 +260,7 @@ PW("COMMAND - %s - %s", SID, command);
260 if (compiledCount == scriptCount) 260 if (compiledCount == scriptCount)
261 { 261 {
262 float total = timeDiff(&now, &startTime); 262 float total = timeDiff(&now, &startTime);
263 PD("Compile speed scripts: %d time: %fs total: %f scripts per second", compiledCount, total, compiledCount / total); 263 PI("Compile speed scripts: %d time: %fs total: %f scripts per second", compiledCount, total, compiledCount / total);
264 } 264 }
265 } 265 }
266 } 266 }
@@ -274,10 +274,10 @@ PW("COMMAND - %s - %s", SID, command);
274 if (compiledCount == scriptCount) 274 if (compiledCount == scriptCount)
275 { 275 {
276 float total = timeDiff(&now, &startTime); 276 float total = timeDiff(&now, &startTime);
277 PD("Compile speed scripts: %d time: %fs total: %f scripts per second", compiledCount, total, compiledCount / total); 277 PI("Compile speed scripts: %d time: %fs total: %f scripts per second", compiledCount, total, compiledCount / total);
278 } 278 }
279 } 279 }
280 PD("About to run %s", me->fileName); 280//PD("About to run %s", me->fileName);
281 sendForth(ourGlobals->serverLuaSL, SID, "run(%s)", me->fileName); 281 sendForth(ourGlobals->serverLuaSL, SID, "run(%s)", me->fileName);
282 } 282 }
283 else 283 else
@@ -676,11 +676,11 @@ int main(int argc, char **argv)
676 edje_object_signal_callback_add(ourGlobals.edje, "*", "game_*", _edje_signal_cb, &ourGlobals); 676 edje_object_signal_callback_add(ourGlobals.edje, "*", "game_*", _edje_signal_cb, &ourGlobals);
677 } 677 }
678 678
679 PD("About to try connecting to a LuaSL server."); 679// PD("About to try connecting to a LuaSL server.");
680 // Try to connect to a local LuaSL server. 680 // Try to connect to a local LuaSL server.
681 reachOut("LuaSL", "./LuaSL", "127.0.0.1", ourGlobals.port, &ourGlobals, (Ecore_Event_Handler_Cb) _addLuaSL, /*(Ecore_Event_Handler_Cb) _dataLuaSL*/ NULL, (Ecore_Event_Handler_Cb) _delLuaSL, LuaSLParser); 681 reachOut("LuaSL", "./LuaSL", "127.0.0.1", ourGlobals.port, &ourGlobals, (Ecore_Event_Handler_Cb) _addLuaSL, /*(Ecore_Event_Handler_Cb) _dataLuaSL*/ NULL, (Ecore_Event_Handler_Cb) _delLuaSL, LuaSLParser);
682 682
683 PD("Love is about to try creating a love server."); 683// PD("Love is about to try creating a love server.");
684 if (openArms("love", ourGlobals.address, ourGlobals.port + 1, &ourGlobals, (Ecore_Event_Handler_Cb) _addClient, NULL, (Ecore_Event_Handler_Cb) _delClient, clientParser)) 684 if (openArms("love", ourGlobals.address, ourGlobals.port + 1, &ourGlobals, (Ecore_Event_Handler_Cb) _addClient, NULL, (Ecore_Event_Handler_Cb) _delClient, clientParser))
685 { 685 {
686 ecore_main_loop_begin(); 686 ecore_main_loop_begin();