aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs40
1 files changed, 28 insertions, 12 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 078a22a..a19427d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -10949,34 +10949,50 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
10949 return 1; 10949 return 1;
10950 } 10950 }
10951 10951
10952 #region Not Implemented 10952 public LSL_Integer llGetMemoryLimit()
10953 // 10953 {
10954 // Listing the unimplemented lsl functions here, please move 10954 m_host.AddScriptLPS(1);
10955 // them from this region as they are completed 10955 // The value returned for LSO scripts in SL
10956 // 10956 return 16384;
10957 }
10957 10958
10958 public void llGetEnv(LSL_String name) 10959 public LSL_Integer llSetMemoryLimit(LSL_Integer limit)
10959 { 10960 {
10960 m_host.AddScriptLPS(1); 10961 m_host.AddScriptLPS(1);
10961 NotImplemented("llGetEnv"); 10962 // Treat as an LSO script
10963 return ScriptBaseClass.FALSE;
10962 } 10964 }
10963 10965
10964 public void llGetSPMaxMemory() 10966 public LSL_Integer llGetSPMaxMemory()
10965 { 10967 {
10966 m_host.AddScriptLPS(1); 10968 m_host.AddScriptLPS(1);
10967 NotImplemented("llGetSPMaxMemory"); 10969 // The value returned for LSO scripts in SL
10970 return 16384;
10968 } 10971 }
10969 10972
10970 public void llGetUsedMemory() 10973 public LSL_Integer llGetUsedMemory()
10971 { 10974 {
10972 m_host.AddScriptLPS(1); 10975 m_host.AddScriptLPS(1);
10973 NotImplemented("llGetUsedMemory"); 10976 // The value returned for LSO scripts in SL
10977 return 16384;
10974 } 10978 }
10975 10979
10976 public void llScriptProfiler(LSL_Integer flags) 10980 public void llScriptProfiler(LSL_Integer flags)
10977 { 10981 {
10978 m_host.AddScriptLPS(1); 10982 m_host.AddScriptLPS(1);
10979 NotImplemented("llScriptProfiler"); 10983 // This does nothing for LSO scripts in SL
10984 }
10985
10986 #region Not Implemented
10987 //
10988 // Listing the unimplemented lsl functions here, please move
10989 // them from this region as they are completed
10990 //
10991
10992 public void llGetEnv(LSL_String name)
10993 {
10994 m_host.AddScriptLPS(1);
10995 NotImplemented("llGetEnv");
10980 } 10996 }
10981 10997
10982 public void llSetSoundQueueing(int queue) 10998 public void llSetSoundQueueing(int queue)