diff options
author | David Walter Seikel | 2012-02-25 06:13:18 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-25 06:13:18 +1000 |
commit | 4f7d3205f502db5942ae18732f7aa634a72d72b2 (patch) | |
tree | 1a11da78cb21c0afda5cab94c5f9108cdb3ae864 /LuaSL/src/LuaSL_test.c | |
parent | Merge the luaproc structure into the script structure, and use that instead. (diff) | |
download | SledjHamr-4f7d3205f502db5942ae18732f7aa634a72d72b2.zip SledjHamr-4f7d3205f502db5942ae18732f7aa634a72d72b2.tar.gz SledjHamr-4f7d3205f502db5942ae18732f7aa634a72d72b2.tar.bz2 SledjHamr-4f7d3205f502db5942ae18732f7aa634a72d72b2.tar.xz |
Partial rewrite of the luaproc messages. Still not fixed yet.
Diffstat (limited to '')
-rw-r--r-- | LuaSL/src/LuaSL_test.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/LuaSL/src/LuaSL_test.c b/LuaSL/src/LuaSL_test.c index 1008e8f..ec76a32 100644 --- a/LuaSL/src/LuaSL_test.c +++ b/LuaSL/src/LuaSL_test.c | |||
@@ -114,16 +114,17 @@ static Eina_Bool _timer_cb(void *data) | |||
114 | { | 114 | { |
115 | // TODO - do it as one line, coz sendToChannel() locks up if I do them one at a time too quickly. | 115 | // TODO - do it as one line, coz sendToChannel() locks up if I do them one at a time too quickly. |
116 | sendForth(game, me->SID, "events.detectedKeys({\"%s\"}); events.detectedNames({\"%s\"}); events.touch_start(1)", ownerKey, ownerName); | 116 | sendForth(game, me->SID, "events.detectedKeys({\"%s\"}); events.detectedNames({\"%s\"}); events.touch_start(1)", ownerKey, ownerName); |
117 | // sendForth(game, me->SID, "events.detectedKeys({\"%s\"})", ownerKey); | ||
117 | // sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName); | 118 | // sendForth(game, me->SID, "events.detectedNames({\"%s\"})", ownerName); |
118 | // sendForth(game, me->SID, "events.touch_start(1)"); | 119 | // sendForth(game, me->SID, "events.touch_start(1)"); |
119 | break; | 120 | break; |
120 | } | 121 | } |
121 | case 9 : | 122 | case 9+3 : |
122 | { | 123 | { |
123 | sendForth(game, me->SID, "quit()"); | 124 | sendForth(game, me->SID, "quit()"); |
124 | break; | 125 | break; |
125 | } | 126 | } |
126 | case 11 : | 127 | case 11+3 : |
127 | { | 128 | { |
128 | exit = TRUE; | 129 | exit = TRUE; |
129 | break; | 130 | break; |