diff options
author | David Walter Seikel | 2016-02-05 16:51:03 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-02-05 16:51:03 +1000 |
commit | 961b40ccf5ac8128819f12ac34065995f68db4f6 (patch) | |
tree | a580bd43712ccd6dcf982c2588909ff7a7417cd9 /TODO | |
parent | The next step in cleaning up the network Lua messages. (diff) | |
download | SledjHamr-961b40ccf5ac8128819f12ac34065995f68db4f6.zip SledjHamr-961b40ccf5ac8128819f12ac34065995f68db4f6.tar.gz SledjHamr-961b40ccf5ac8128819f12ac34065995f68db4f6.tar.bz2 SledjHamr-961b40ccf5ac8128819f12ac34065995f68db4f6.tar.xz |
A little bit of clean up of the Lua network messaging TODO.
Diffstat (limited to '')
-rw-r--r-- | TODO | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -17,13 +17,15 @@ LuaSL Script server in C. | |||
17 | otherwise send2script(SID, command) | 17 | otherwise send2script(SID, command) |
18 | NOTE: treats "return ..." different to "function(...)". | 18 | NOTE: treats "return ..." different to "function(...)". |
19 | 19 | ||
20 | send2script C function that adds the message to the scripts messages, then runs the script worker thread. | 20 | send2script() C function that adds the message to the scripts messages, then runs the script worker thread. |
21 | Runnr.c | 21 | Runnr.c |
22 | send2server() C function that either directly runs certain LSL functions, or - | 22 | |
23 | send2server() C function that sends the message to the love server. send2parser() will intercept the send2() call. | ||
23 | LuaSL_main.c | 24 | LuaSL_main.c |
24 | takeScript(me); | 25 | takeScript(me); |
25 | send2(me->client, me->SID, message); | 26 | send2(me->client, me->SID, message); |
26 | releaseScript(me); | 27 | releaseScript(me); |
28 | send2parser() C function that intercepts send2(), and deals with time, script states, and resetting scripts. | ||
27 | 29 | ||
28 | Runnr.c | 30 | Runnr.c |
29 | worker thread | 31 | worker thread |
@@ -234,7 +236,7 @@ LuaSL | |||
234 | otherwise send2script() | 236 | otherwise send2script() |
235 | bitch | 237 | bitch |
236 | outgoing -> send2() | 238 | outgoing -> send2() |
237 | commands scripts.state(), scripts.reset(), scripts.link_message(), and timer.*() commands currently in LuaSL_main.c->send2server() | 239 | commands scripts.state(), scripts.reset(), scripts.link_message(), and timer.*() commands currently in LuaSL_main.c->send2parser() |
238 | unknown NULL | 240 | unknown NULL |
239 | actually send it | 241 | actually send it |
240 | 242 | ||