aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorMelanie Thielker2008-07-31 10:51:30 +0000
committerMelanie Thielker2008-07-31 10:51:30 +0000
commitaf3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd (patch)
treeb96aa0c172a7491edbc99ad54df832d896907410 /OpenSim/Region/ScriptEngine/Shared/Api
parentThanks, M. Igarashi & nlin, for a patch that implements unary minus operator (diff)
downloadopensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.zip
opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.gz
opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.bz2
opensim-SC_OLD-af3e2c6e1ccd1bf26e139ec6fcb20f0165d439cd.tar.xz
Thank you, sacha magne, for a patch that implements
llRequestSimulatorData("simname", DATA_SIM_RELEASE) Fixes Mantis #1866
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs1
2 files changed, 4 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 7080ad1..8bf149d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -6381,6 +6381,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6381 else 6381 else
6382 reply = "UNKNOWN"; 6382 reply = "UNKNOWN";
6383 break; 6383 break;
6384 case 128: // SIM_RELEASE
6385 reply = m_ScriptEngine.World.GetSimulatorVersion();
6386 break;
6384 default: 6387 default:
6385 return LLUUID.Zero.ToString(); // Raise no event 6388 return LLUUID.Zero.ToString(); // Raise no event
6386 } 6389 }
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index fd9e1aa..1472144 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -233,6 +233,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
233 public const int DATA_SIM_STATUS = 6; 233 public const int DATA_SIM_STATUS = 6;
234 public const int DATA_SIM_RATING = 7; 234 public const int DATA_SIM_RATING = 7;
235 public const int DATA_PAYINFO = 8; 235 public const int DATA_PAYINFO = 8;
236 public const int DATA_SIM_RELEASE = 128;
236 237
237 public const int ANIM_ON = 1; 238 public const int ANIM_ON = 1;
238 public const int LOOP = 2; 239 public const int LOOP = 2;