aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Interface
diff options
context:
space:
mode:
authorTalun2012-04-14 00:37:55 +0100
committernebadon2012-04-13 17:08:00 -0700
commit4d652c704186e9e399ffc6fc1bdf1f1dca056370 (patch)
tree9ec3bf715b1b4f70d9c430e52c545239480cf606 /OpenSim/Region/ScriptEngine/Shared/Api/Interface
parentAdd very basic TestGetRootPartPosition() test (diff)
downloadopensim-SC-4d652c704186e9e399ffc6fc1bdf1f1dca056370.zip
opensim-SC-4d652c704186e9e399ffc6fc1bdf1f1dca056370.tar.gz
opensim-SC-4d652c704186e9e399ffc6fc1bdf1f1dca056370.tar.bz2
opensim-SC-4d652c704186e9e399ffc6fc1bdf1f1dca056370.tar.xz
Missing or unimplemented LSL memory functions.
Implemented to behave as if scripts were LSO. Signed-off-by: nebadon <michael@osgrid.org>
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Interface')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
index 0f53bc3..11b21d4 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
@@ -147,7 +147,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
147 LSL_Vector llGetLocalPos(); 147 LSL_Vector llGetLocalPos();
148 LSL_Rotation llGetLocalRot(); 148 LSL_Rotation llGetLocalRot();
149 LSL_Float llGetMass(); 149 LSL_Float llGetMass();
150 void llGetNextEmail(string address, string subject); 150 LSL_Integer llGetMemoryLimit();
151 void llGetNextEmail(string address, string subject);
151 LSL_String llGetNotecardLine(string name, int line); 152 LSL_String llGetNotecardLine(string name, int line);
152 LSL_Key llGetNumberOfNotecardLines(string name); 153 LSL_Key llGetNumberOfNotecardLines(string name);
153 LSL_Integer llGetNumberOfPrims(); 154 LSL_Integer llGetNumberOfPrims();
@@ -185,6 +186,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
185 LSL_String llGetScriptName(); 186 LSL_String llGetScriptName();
186 LSL_Integer llGetScriptState(string name); 187 LSL_Integer llGetScriptState(string name);
187 LSL_String llGetSimulatorHostname(); 188 LSL_String llGetSimulatorHostname();
189 LSL_Integer llGetSPMaxMemory();
188 LSL_Integer llGetStartParameter(); 190 LSL_Integer llGetStartParameter();
189 LSL_Integer llGetStatus(int status); 191 LSL_Integer llGetStatus(int status);
190 LSL_String llGetSubString(string src, int start, int end); 192 LSL_String llGetSubString(string src, int start, int end);
@@ -198,6 +200,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
198 LSL_String llGetTimestamp(); 200 LSL_String llGetTimestamp();
199 LSL_Vector llGetTorque(); 201 LSL_Vector llGetTorque();
200 LSL_Integer llGetUnixTime(); 202 LSL_Integer llGetUnixTime();
203 LSL_Integer llGetUsedMemory();
201 LSL_Vector llGetVel(); 204 LSL_Vector llGetVel();
202 LSL_Float llGetWallclock(); 205 LSL_Float llGetWallclock();
203 void llGiveInventory(string destination, string inventory); 206 void llGiveInventory(string destination, string inventory);
@@ -319,6 +322,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
319 void llSay(int channelID, string text); 322 void llSay(int channelID, string text);
320 void llScaleTexture(double u, double v, int face); 323 void llScaleTexture(double u, double v, int face);
321 LSL_Integer llScriptDanger(LSL_Vector pos); 324 LSL_Integer llScriptDanger(LSL_Vector pos);
325 void llScriptProfiler(LSL_Integer flag);
322 LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata); 326 LSL_Key llSendRemoteData(string channel, string dest, int idata, string sdata);
323 void llSensor(string name, string id, int type, double range, double arc); 327 void llSensor(string name, string id, int type, double range, double arc);
324 void llSensorRemove(); 328 void llSensorRemove();
@@ -342,6 +346,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
342 void llSetLinkTexture(int linknumber, string texture, int face); 346 void llSetLinkTexture(int linknumber, string texture, int face);
343 void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate); 347 void llSetLinkTextureAnim(int linknum, int mode, int face, int sizex, int sizey, double start, double length, double rate);
344 void llSetLocalRot(LSL_Rotation rot); 348 void llSetLocalRot(LSL_Rotation rot);
349 LSL_Integer llSetMemoryLimit(LSL_Integer limit);
345 void llSetObjectDesc(string desc); 350 void llSetObjectDesc(string desc);
346 void llSetObjectName(string name); 351 void llSetObjectName(string name);
347 void llSetObjectPermMask(int mask, int value); 352 void llSetObjectPermMask(int mask, int value);