aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorCharles Krinke2009-05-13 01:47:29 +0000
committerCharles Krinke2009-05-13 01:47:29 +0000
commit6257bb8b0997d1615f6e2ecfcbd6a8f1123945b1 (patch)
tree410336c0925d54d2340e466e6b8b0e08917ab774 /OpenSim/Region/ScriptEngine/Shared
parentThank you kindly, BlueWall sir, for a patch that: (diff)
downloadopensim-SC_OLD-6257bb8b0997d1615f6e2ecfcbd6a8f1123945b1.zip
opensim-SC_OLD-6257bb8b0997d1615f6e2ecfcbd6a8f1123945b1.tar.gz
opensim-SC_OLD-6257bb8b0997d1615f6e2ecfcbd6a8f1123945b1.tar.bz2
opensim-SC_OLD-6257bb8b0997d1615f6e2ecfcbd6a8f1123945b1.tar.xz
Add interface, implementation stub and
script stub for llGetFreeURLs().
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs5
3 files changed, 14 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index f0e585a..862ff50 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -5557,6 +5557,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5557 return 16384; 5557 return 16384;
5558 } 5558 }
5559 5559
5560 public LSL_Integer llGetFreeURLs()
5561 {
5562 m_host.AddScriptLPS(1);
5563 NotImplemented("llGetFreeURLs");
5564 return new LSL_Integer(0);
5565 }
5566
5567
5560 public LSL_String llGetRegionName() 5568 public LSL_String llGetRegionName()
5561 { 5569 {
5562 m_host.AddScriptLPS(1); 5570 m_host.AddScriptLPS(1);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
index 9c24750..9ebc041 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/ILSL_Api.cs
@@ -120,6 +120,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
120 LSL_Float llGetEnergy(); 120 LSL_Float llGetEnergy();
121 LSL_Vector llGetForce(); 121 LSL_Vector llGetForce();
122 LSL_Integer llGetFreeMemory(); 122 LSL_Integer llGetFreeMemory();
123 LSL_Integer llGetFreeURLs();
123 LSL_Vector llGetGeometricCenter(); 124 LSL_Vector llGetGeometricCenter();
124 LSL_Float llGetGMTclock(); 125 LSL_Float llGetGMTclock();
125 LSL_Key llGetInventoryCreator(string item); 126 LSL_Key llGetInventoryCreator(string item);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
index 187052a..202130e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs
@@ -459,6 +459,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
459 return m_LSL_Functions.llGetFreeMemory(); 459 return m_LSL_Functions.llGetFreeMemory();
460 } 460 }
461 461
462 public LSL_Integer llGetFreeURLs()
463 {
464 return m_LSL_Functions.llGetFreeURLs();
465 }
466
462 public LSL_Vector llGetGeometricCenter() 467 public LSL_Vector llGetGeometricCenter()
463 { 468 {
464 return m_LSL_Functions.llGetGeometricCenter(); 469 return m_LSL_Functions.llGetGeometricCenter();