aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorBlueWall2011-05-22 14:59:18 -0400
committerBlueWall2011-05-22 14:59:18 -0400
commitdc95e38e42dbc2d1386375a2ff70341f4a92be94 (patch)
treeaf2ceac4d1623179ba6f1ae66e46ee2860fc9244 /OpenSim
parentGet rid of OpenSim.Tests.Common.Setup subpackage in favour of just OpenSim.Te... (diff)
downloadopensim-SC-dc95e38e42dbc2d1386375a2ff70341f4a92be94.zip
opensim-SC-dc95e38e42dbc2d1386375a2ff70341f4a92be94.tar.gz
opensim-SC-dc95e38e42dbc2d1386375a2ff70341f4a92be94.tar.bz2
opensim-SC-dc95e38e42dbc2d1386375a2ff70341f4a92be94.tar.xz
Add stubs for unimplemented lsl functions
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs85
1 files changed, 67 insertions, 18 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 1cf03b8..e3d0dac 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -3316,12 +3316,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3316 return m_ScriptEngine.GetStartParameter(m_itemID); 3316 return m_ScriptEngine.GetStartParameter(m_itemID);
3317 } 3317 }
3318 3318
3319 public void llGodLikeRezObject(string inventory, LSL_Vector pos)
3320 {
3321 m_host.AddScriptLPS(1);
3322 NotImplemented("llGodLikeRezObject");
3323 }
3324
3325 public void llRequestPermissions(string agent, int perm) 3319 public void llRequestPermissions(string agent, int perm)
3326 { 3320 {
3327 UUID agentID = new UUID(); 3321 UUID agentID = new UUID();
@@ -4189,12 +4183,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4189 m_host.CollisionSoundVolume = (float)impact_volume; 4183 m_host.CollisionSoundVolume = (float)impact_volume;
4190 } 4184 }
4191 4185
4192 public void llCollisionSprite(string impact_sprite)
4193 {
4194 m_host.AddScriptLPS(1);
4195 NotImplemented("llCollisionSprite");
4196 }
4197
4198 public LSL_String llGetAnimation(string id) 4186 public LSL_String llGetAnimation(string id)
4199 { 4187 {
4200 // This should only return a value if the avatar is in the same region 4188 // This should only return a value if the avatar is in the same region
@@ -5526,12 +5514,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
5526 ScriptSleep(100); 5514 ScriptSleep(100);
5527 } 5515 }
5528 5516
5529 public void llSetSoundQueueing(int queue)
5530 {
5531 m_host.AddScriptLPS(1);
5532 NotImplemented("llSetSoundQueueing");
5533 }
5534
5535 public void llSetSoundRadius(double radius) 5517 public void llSetSoundRadius(double radius)
5536 { 5518 {
5537 m_host.AddScriptLPS(1); 5519 m_host.AddScriptLPS(1);
@@ -10312,6 +10294,73 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
10312 10294
10313 return rq.ToString(); 10295 return rq.ToString();
10314 } 10296 }
10297
10298 #region Not Implemented
10299 //
10300 // Listing the unimplemented lsl functions here, please move
10301 // them from this region as they are completed
10302 //
10303 public void llCastRay(LSL_Vector start, LSL_Vector end, LSL_List options)
10304 {
10305 m_host.AddScriptLPS(1);
10306 NotImplemented("llCastRay");
10307
10308 }
10309
10310 public void llGetEnv(LSL_String name)
10311 {
10312 m_host.AddScriptLPS(1);
10313 NotImplemented("llGetEnv");
10314
10315 }
10316
10317 public void llGetSPMaxMemory()
10318 {
10319 m_host.AddScriptLPS(1);
10320 NotImplemented("llGetSPMaxMemory");
10321
10322 }
10323
10324 public void llGetUsedMemory()
10325 {
10326 m_host.AddScriptLPS(1);
10327 NotImplemented("llGetUsedMemory");
10328
10329 }
10330
10331 public void llRegionSayTo( LSL_Key target, LSL_Integer channel, LSL_String msg )
10332 {
10333 m_host.AddScriptLPS(1);
10334 NotImplemented("llRegionSayTo");
10335
10336 }
10337
10338 public void llScriptProfiler( LSL_Integer flags )
10339 {
10340 m_host.AddScriptLPS(1);
10341 NotImplemented("llScriptProfiler");
10342
10343 }
10344
10345 public void llSetSoundQueueing(int queue)
10346 {
10347 m_host.AddScriptLPS(1);
10348 NotImplemented("llSetSoundQueueing");
10349 }
10350
10351 public void llCollisionSprite(string impact_sprite)
10352 {
10353 m_host.AddScriptLPS(1);
10354 NotImplemented("llCollisionSprite");
10355 }
10356
10357 public void llGodLikeRezObject(string inventory, LSL_Vector pos)
10358 {
10359 m_host.AddScriptLPS(1);
10360 NotImplemented("llGodLikeRezObject");
10361 }
10362
10363 #endregion
10315 } 10364 }
10316 10365
10317 public class NotecardCache 10366 public class NotecardCache