aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-13 17:01:40 +1000
committerDavid Walter Seikel2014-05-13 17:01:40 +1000
commitb0e2903acf2c0d926b134c3a165f0160e85e87bc (patch)
tree323265729ff8e03e28054d769d822364e956c15e /docs
parentTODO++ (diff)
downloadSledjHamr-b0e2903acf2c0d926b134c3a165f0160e85e87bc.zip
SledjHamr-b0e2903acf2c0d926b134c3a165f0160e85e87bc.tar.gz
SledjHamr-b0e2903acf2c0d926b134c3a165f0160e85e87bc.tar.bz2
SledjHamr-b0e2903acf2c0d926b134c3a165f0160e85e87bc.tar.xz
Add a TCP link between love and extantz, and have love pass on some of the commands that go to the viewer.
Diffstat (limited to 'docs')
-rw-r--r--docs/README.LuaSL18
1 files changed, 11 insertions, 7 deletions
diff --git a/docs/README.LuaSL b/docs/README.LuaSL
index f278c59..7a6c7a2 100644
--- a/docs/README.LuaSL
+++ b/docs/README.LuaSL
@@ -280,18 +280,21 @@ Extantz fires up love, which in turn fires up LuaSL. Love then
280basically does what LuaSL_test does, sending it scripts to compile and 280basically does what LuaSL_test does, sending it scripts to compile and
281run from test sim/objects. Except for the timed fake events. 281run from test sim/objects. Except for the timed fake events.
282 282
283Generate touch events when user touchs the 3D cube. It will pretend to be
284the "onefang's test bed" object. Fake up llDetected* stuff.
285
286extantz -> love -> LuaSL
287
288
289Respond to llSay() and friends by putting them in purkle's history box. 283Respond to llSay() and friends by putting them in purkle's history box.
290With time stamps. 284With time stamps.
291 285
286SID.llSay(123, "foo")
292LuaSL -> love -> extantz 287LuaSL -> love -> extantz
293 288
294 289
290Generate touch events when user touchs the 3D cube. It will pretend to be
291the "onefang's test bed" object. Fake up llDetected* stuff.
292
293CUBE_UUID.events.detected*(USER_UUID)
294CUBE_UUID.events.touch_start(1)
295extantz -> love -> LuaSL
296
297
295Fake llGetOwner(), llGetFreeMemory(), and llSameGroup(). 298Fake llGetOwner(), llGetFreeMemory(), and llSameGroup().
296 299
297LuaSL -> love -> LuaSL 300LuaSL -> love -> LuaSL
@@ -334,5 +337,6 @@ LuaSL (maybe with a round trip to love as well)
334 337
335Implement llListen(), llDialog() and generate listen() events. 338Implement llListen(), llDialog() and generate listen() events.
336 339
340SID.llDialog(USER_UUID, "My menu", arseBackwardsMenuList, 456)
341USER_UUID.llRegionSay(456, "button text")
337LuaSL -> love -> extantz -> love -> LuaSL 342LuaSL -> love -> extantz -> love -> LuaSL
338