From 961b40ccf5ac8128819f12ac34065995f68db4f6 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 5 Feb 2016 16:51:03 +1000 Subject: A little bit of clean up of the Lua network messaging TODO. --- TODO | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index 42d60a4..d43df86 100644 --- a/TODO +++ b/TODO @@ -17,13 +17,15 @@ LuaSL Script server in C. otherwise send2script(SID, command) NOTE: treats "return ..." different to "function(...)". - send2script C function that adds the message to the scripts messages, then runs the script worker thread. + send2script() C function that adds the message to the scripts messages, then runs the script worker thread. Runnr.c - send2server() C function that either directly runs certain LSL functions, or - + + send2server() C function that sends the message to the love server. send2parser() will intercept the send2() call. LuaSL_main.c takeScript(me); send2(me->client, me->SID, message); releaseScript(me); + send2parser() C function that intercepts send2(), and deals with time, script states, and resetting scripts. Runnr.c worker thread @@ -234,7 +236,7 @@ LuaSL otherwise send2script() bitch outgoing -> send2() - commands scripts.state(), scripts.reset(), scripts.link_message(), and timer.*() commands currently in LuaSL_main.c->send2server() + commands scripts.state(), scripts.reset(), scripts.link_message(), and timer.*() commands currently in LuaSL_main.c->send2parser() unknown NULL actually send it -- cgit v1.1