aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
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
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')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs1
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs3
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs1
4 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
index 575cb43..3580d71 100644
--- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
@@ -2239,6 +2239,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2239 public const int DATA_SIM_POS = 5; 2239 public const int DATA_SIM_POS = 5;
2240 public const int DATA_SIM_STATUS = 6; 2240 public const int DATA_SIM_STATUS = 6;
2241 public const int DATA_SIM_RATING = 7; 2241 public const int DATA_SIM_RATING = 7;
2242 public const int DATA_SIM_RELEASE = 128;
2242 2243
2243 public const int ANIM_ON = 1; 2244 public const int ANIM_ON = 1;
2244 public const int LOOP = 2; 2245 public const int LOOP = 2;
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 89202b2..702cbfa 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -6604,6 +6604,9 @@ namespace OpenSim.Region.ScriptEngine.Common
6604 else 6604 else
6605 reply = "UNKNOWN"; 6605 reply = "UNKNOWN";
6606 break; 6606 break;
6607 case 128: // SIM_RELEASE
6608 reply = m_ScriptEngine.World.GetSimulatorVersion();
6609 break;
6607 default: 6610 default:
6608 return LLUUID.Zero.ToString(); // Raise no event 6611 return LLUUID.Zero.ToString(); // Raise no event
6609 } 6612 }
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;