aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_test.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-25 09:43:05 +1000
committerDavid Walter Seikel2012-02-25 09:43:05 +1000
commitbd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8 (patch)
tree47fb8b023eceb67bb94751d307d7486ced3fed0b /LuaSL/src/LuaSL_test.c
parentPartial rewrite of the luaproc messages. Still not fixed yet. (diff)
downloadSledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.zip
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.gz
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.bz2
SledjHamr-bd82e0ebd6db7ab7a9577c9ec6d9a9a9c2d73db8.tar.xz
Beat the script messsage passing into shape, mostly by knocking large chunks off. lol
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_test.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c
index ec76a32..463ae3b 100644
--- a/LuaSL/src/LuaSL_test.c
+++ b/LuaSL/src/LuaSL_test.c
@@ -112,19 +112,17 @@ static Eina_Bool _timer_cb(void *data)
112 { 112 {
113 case 5 : 113 case 5 :
114 { 114 {
115 // TODO - do it as one line, coz sendToChannel() locks up if I do them one at a time too quickly. 115 sendForth(game, me->SID, "events.detectedKeys({\"%s\"})", ownerKey);
116 sendForth(game, me->SID, "events.detectedKeys({\"%s\"}); events.detectedNames({\"%s\"}); events.touch_start(1)", ownerKey, ownerName); 116 sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName);
117// sendForth(game, me->SID, "events.detectedKeys({\"%s\"})", ownerKey); 117 sendForth(game, me->SID, "events.touch_start(1)");
118// sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName);
119// sendForth(game, me->SID, "events.touch_start(1)");
120 break; 118 break;
121 } 119 }
122 case 9+3 : 120 case 9 :
123 { 121 {
124 sendForth(game, me->SID, "quit()"); 122 sendForth(game, me->SID, "quit()");
125 break; 123 break;
126 } 124 }
127 case 11+3 : 125 case 11 :
128 { 126 {
129 exit = TRUE; 127 exit = TRUE;
130 break; 128 break;