aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-14 20:27:10 +1000
committerDavid Walter Seikel2014-05-14 20:27:10 +1000
commite5214b6dee6b778ca705dde941f3c62a4084d5cf (patch)
tree334032804472a68e3a577514862c79fa99dd2a93
parentComment this out for the moment, currently that's a meaningless test coz it's... (diff)
downloadSledjHamr-e5214b6dee6b778ca705dde941f3c62a4084d5cf.zip
SledjHamr-e5214b6dee6b778ca705dde941f3c62a4084d5cf.tar.gz
SledjHamr-e5214b6dee6b778ca705dde941f3c62a4084d5cf.tar.bz2
SledjHamr-e5214b6dee6b778ca705dde941f3c62a4084d5cf.tar.xz
Fake llGetFreeMemory().
-rw-r--r--src/love/love.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/love/love.c b/src/love/love.c
index 858ba40..c3f1e3e 100644
--- a/src/love/love.c
+++ b/src/love/love.c
@@ -327,6 +327,8 @@ static Eina_Bool _dataLuaSL(void *data, int type, Ecore_Con_Event_Server_Data *e
327 sendForth(ourGlobals->serverLuaSL, SID, "return {x=128.0, y=128.0, z=128.0}"); 327 sendForth(ourGlobals->serverLuaSL, SID, "return {x=128.0, y=128.0, z=128.0}");
328 else if (0 == strcmp(command, "llGetRot()")) 328 else if (0 == strcmp(command, "llGetRot()"))
329 sendForth(ourGlobals->serverLuaSL, SID, "return {x=0.0, y=0.0, z=0.0, s=1.0}"); 329 sendForth(ourGlobals->serverLuaSL, SID, "return {x=0.0, y=0.0, z=0.0, s=1.0}");
330 else if (0 == strcmp(command, "llGetFreeMemory()"))
331 sendForth(ourGlobals->serverLuaSL, SID, "return 654321");
330 else if (0 == strcmp(command, "llGetObjectDesc()")) 332 else if (0 == strcmp(command, "llGetObjectDesc()"))
331 sendForth(ourGlobals->serverLuaSL, SID, "return \"\""); 333 sendForth(ourGlobals->serverLuaSL, SID, "return \"\"");
332 else if (0 == strncmp(command, "llGetAlpha(", 11)) 334 else if (0 == strncmp(command, "llGetAlpha(", 11))