aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-17 12:11:00 +1000
committerDavid Walter Seikel2014-05-17 12:11:00 +1000
commit1230aa56bf960553cc2e73f270c886f95f577d40 (patch)
tree4db6dcb5f306e38918c85dcfb6dd256d92d14c5e /src
parentFake llSameGroup(). (diff)
downloadSledjHamr-1230aa56bf960553cc2e73f270c886f95f577d40.zip
SledjHamr-1230aa56bf960553cc2e73f270c886f95f577d40.tar.gz
SledjHamr-1230aa56bf960553cc2e73f270c886f95f577d40.tar.bz2
SledjHamr-1230aa56bf960553cc2e73f270c886f95f577d40.tar.xz
Faked llListen().
Diffstat (limited to 'src')
-rw-r--r--src/love/love.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/love/love.c b/src/love/love.c
index 5ac6ac3..b47418e 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -320,6 +320,11 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e
320 sendForth(ourGlobals->serverLuaSL, SID, "return \".POSITIONS\""); 320 sendForth(ourGlobals->serverLuaSL, SID, "return \".POSITIONS\"");
321 else if (0 == strcmp(command, "llGetInventoryName(7, 0)")) 321 else if (0 == strcmp(command, "llGetInventoryName(7, 0)"))
322 sendForth(ourGlobals->serverLuaSL, SID, "return \".MENUITEMS\""); 322 sendForth(ourGlobals->serverLuaSL, SID, "return \".MENUITEMS\"");
323 else if (0 == strncmp(command, "llListen(", 9))
324 {
325 PI("Random listen requested %s", command);
326 sendForth(ourGlobals->serverLuaSL, SID, "return %d", random());
327 }
323 else if (0 == strncmp(command, "llSameGroup(", 12)) 328 else if (0 == strncmp(command, "llSameGroup(", 12))
324 sendForth(ourGlobals->serverLuaSL, SID, "return true"); 329 sendForth(ourGlobals->serverLuaSL, SID, "return true");
325 else if (0 == strncmp(command, "llKey2Name(", 11)) 330 else if (0 == strncmp(command, "llKey2Name(", 11))