aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs5
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs2
-rw-r--r--bin/ScriptSyntax.xml25
6 files changed, 27 insertions, 11 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index e59bfe8..980b2a5 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -14343,7 +14343,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
14343 case "5": 14343 case "5":
14344 ret.Add(new LSL_Key(land.GlobalID.ToString())); 14344 ret.Add(new LSL_Key(land.GlobalID.ToString()));
14345 break; 14345 break;
14346 case "20": 14346 case "64":
14347 ret.Add(new LSL_Integer(land.Dwell)); 14347 ret.Add(new LSL_Integer(land.Dwell));
14348 break; 14348 break;
14349 default: 14349 default:
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index ab3a768..62da221 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -1600,7 +1600,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
1600 return 0.0f; 1600 return 0.0f;
1601 } 1601 }
1602 1602
1603 public int osGetParcelDwell(LSL_Vector pos) 1603 public LSL_Integer osGetParcelDwell(LSL_Vector pos)
1604 { 1604 {
1605 LandData land = World.GetLandData(pos); 1605 LandData land = World.GetLandData(pos);
1606 if (land != null) 1606 if (land != null)
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
index 5d964b8..7c5ced8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs
@@ -260,7 +260,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
260 LSL_Float osGetWindParam(string plugin, string param); 260 LSL_Float osGetWindParam(string plugin, string param);
261 261
262 // Parcel commands 262 // Parcel commands
263 int osGetParcelDwell(vector pos); 263 LSL_Integer osGetParcelDwell(vector pos);
264 void osParcelJoin(vector pos1, vector pos2); 264 void osParcelJoin(vector pos1, vector pos2);
265 void osParcelSubdivide(vector pos1, vector pos2); 265 void osParcelSubdivide(vector pos1, vector pos2);
266 void osSetParcelDetails(vector pos, LSL_List rules); 266 void osSetParcelDetails(vector pos, LSL_List rules);
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index 371460a..f93cea8 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
35 public partial class ScriptBaseClass 35 public partial class ScriptBaseClass
36 { 36 {
37 // SCRIPTS CONSTANTS 37 // SCRIPTS CONSTANTS
38 public static readonly LSLInteger OS_APIVERSION = 4; 38 public static readonly LSLInteger OS_APIVERSION = 5;
39 39
40 public static readonly LSLInteger TRUE = 1; 40 public static readonly LSLInteger TRUE = 1;
41 public static readonly LSLInteger FALSE = 0; 41 public static readonly LSLInteger FALSE = 0;
@@ -721,7 +721,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
721 // constants for llGetParcelDetails 721 // constants for llGetParcelDetails
722 public const int PARCEL_DETAILS_NAME = 0; 722 public const int PARCEL_DETAILS_NAME = 0;
723 public const int PARCEL_DETAILS_DESC = 1; 723 public const int PARCEL_DETAILS_DESC = 1;
724 public const int PARCEL_DETAILS_DWELL = 20;
725 public const int PARCEL_DETAILS_OWNER = 2; 724 public const int PARCEL_DETAILS_OWNER = 2;
726 public const int PARCEL_DETAILS_GROUP = 3; 725 public const int PARCEL_DETAILS_GROUP = 3;
727 public const int PARCEL_DETAILS_AREA = 4; 726 public const int PARCEL_DETAILS_AREA = 4;
@@ -729,6 +728,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
729 public const int PARCEL_DETAILS_SEE_AVATARS = 6; 728 public const int PARCEL_DETAILS_SEE_AVATARS = 6;
730 public const int PARCEL_DETAILS_ANY_AVATAR_SOUNDS = 7; 729 public const int PARCEL_DETAILS_ANY_AVATAR_SOUNDS = 7;
731 public const int PARCEL_DETAILS_GROUP_SOUNDS = 8; 730 public const int PARCEL_DETAILS_GROUP_SOUNDS = 8;
731 // constants for llGetParcelDetails os specific
732 public const int PARCEL_DETAILS_DWELL = 64;
732 733
733 //osSetParcelDetails 734 //osSetParcelDetails
734 public const int PARCEL_DETAILS_CLAIMDATE = 10; 735 public const int PARCEL_DETAILS_CLAIMDATE = 10;
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index abdf0df..6a70305 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -116,7 +116,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
116 return m_OSSL_Functions.osGetWindParam(plugin, param); 116 return m_OSSL_Functions.osGetWindParam(plugin, param);
117 } 117 }
118 118
119 public int osGetParcelDwell(vector pos) 119 public LSL_Integer osGetParcelDwell(vector pos)
120 { 120 {
121 return m_OSSL_Functions.osGetParcelDwell(pos); 121 return m_OSSL_Functions.osGetParcelDwell(pos);
122 } 122 }
diff --git a/bin/ScriptSyntax.xml b/bin/ScriptSyntax.xml
index 2282ada..34cd1cc 100644
--- a/bin/ScriptSyntax.xml
+++ b/bin/ScriptSyntax.xml
@@ -1,4 +1,4 @@
124121ec8-c0a3-099d-8d83-64feaa32418c 1d2556181-baf5-e5b9-c8ec-99eda597b9f6
2<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer> 2<llsd><map><key>llsd-lsl-syntax-version</key><integer>2</integer>
3<key>controls</key> 3<key>controls</key>
4<map> 4<map>
@@ -1513,7 +1513,7 @@
1513 </map> 1513 </map>
1514 <key>OS_APIVERSION</key><map> 1514 <key>OS_APIVERSION</key><map>
1515 <key>type</key><string>integer</string> 1515 <key>type</key><string>integer</string>
1516 <key>value</key><string>4</string> 1516 <key>value</key><string>5</string>
1517 </map> 1517 </map>
1518 <key>OS_ATTACH_MSG_ALL</key><map> 1518 <key>OS_ATTACH_MSG_ALL</key><map>
1519 <key>type</key><string>integer</string> 1519 <key>type</key><string>integer</string>
@@ -1665,6 +1665,10 @@
1665 <key>type</key><string>integer</string> 1665 <key>type</key><string>integer</string>
1666 <key>value</key><string>1</string> 1666 <key>value</key><string>1</string>
1667 </map> 1667 </map>
1668 <key>PARCEL_DETAILS_DWELL</key><map>
1669 <key>type</key><string>integer</string>
1670 <key>value</key><string>64</string>
1671 </map>
1668 <key>PARCEL_DETAILS_GROUP</key><map> 1672 <key>PARCEL_DETAILS_GROUP</key><map>
1669 <key>type</key><string>integer</string> 1673 <key>type</key><string>integer</string>
1670 <key>value</key><string>3</string> 1674 <key>value</key><string>3</string>
@@ -3017,6 +3021,10 @@
3017 <key>type</key><string>integer</string> 3021 <key>type</key><string>integer</string>
3018 <key>value</key><string>1</string> 3022 <key>value</key><string>1</string>
3019 </map> 3023 </map>
3024 <key>VEHICLE_FLAG_NO_FLY_UP</key><map>
3025 <key>type</key><string>integer</string>
3026 <key>value</key><string>1</string>
3027 </map>
3020 <key>VEHICLE_FLAG_NO_X</key><map> 3028 <key>VEHICLE_FLAG_NO_X</key><map>
3021 <key>type</key><string>integer</string> 3029 <key>type</key><string>integer</string>
3022 <key>value</key><string>1024</string> 3030 <key>value</key><string>1024</string>
@@ -6665,6 +6673,13 @@
6665 <map><key>name</key><map><key>type</key><string>string</string></map></map> 6673 <map><key>name</key><map><key>type</key><string>string</string></map></map>
6666 </array> 6674 </array>
6667 </map> 6675 </map>
6676 <key>osGetParcelDwell</key>
6677 <map>
6678 <key>return</key><string>integer</string>
6679 <key>arguments</key><array>
6680 <map><key>pos</key><map><key>type</key><string>vector</string></map></map>
6681 </array>
6682 </map>
6668 <key>osGetPhysicsEngineName</key> 6683 <key>osGetPhysicsEngineName</key>
6669 <map> 6684 <map>
6670 <key>return</key><string>string</string> 6685 <key>return</key><string>string</string>
@@ -7581,7 +7596,6 @@
7581 <key>arguments</key><array> 7596 <key>arguments</key><array>
7582 <map><key>src</key><map><key>type</key><string>string</string></map></map> 7597 <map><key>src</key><map><key>type</key><string>string</string></map></map>
7583 <map><key>start</key><map><key>type</key><string>integer</string></map></map> 7598 <map><key>start</key><map><key>type</key><string>integer</string></map></map>
7584 <map><key>length</key><map><key>type</key><string>integer</string></map></map>
7585 </array> 7599 </array>
7586 </map> 7600 </map>
7587 <key>osStringSubString</key> 7601 <key>osStringSubString</key>
@@ -7590,6 +7604,7 @@
7590 <key>arguments</key><array> 7604 <key>arguments</key><array>
7591 <map><key>src</key><map><key>type</key><string>string</string></map></map> 7605 <map><key>src</key><map><key>type</key><string>string</string></map></map>
7592 <map><key>start</key><map><key>type</key><string>integer</string></map></map> 7606 <map><key>start</key><map><key>type</key><string>integer</string></map></map>
7607 <map><key>length</key><map><key>type</key><string>integer</string></map></map>
7593 </array> 7608 </array>
7594 </map> 7609 </map>
7595 <key>osSunGetParam</key> 7610 <key>osSunGetParam</key>
@@ -7619,6 +7634,8 @@
7619 <map> 7634 <map>
7620 <key>arguments</key><array> 7635 <key>arguments</key><array>
7621 <map><key>agent</key><map><key>type</key><string>string</string></map></map> 7636 <map><key>agent</key><map><key>type</key><string>string</string></map></map>
7637 <map><key>regionX</key><map><key>type</key><string>integer</string></map></map>
7638 <map><key>regionY</key><map><key>type</key><string>integer</string></map></map>
7622 <map><key>position</key><map><key>type</key><string>vector</string></map></map> 7639 <map><key>position</key><map><key>type</key><string>vector</string></map></map>
7623 <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> 7640 <map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
7624 </array> 7641 </array>
@@ -7627,8 +7644,6 @@
7627 <map> 7644 <map>
7628 <key>arguments</key><array> 7645 <key>arguments</key><array>
7629 <map><key>agent</key><map><key>type</key><string>string</string></map></map> 7646 <map><key>agent</key><map><key>type</key><string>string</string></map></map>
7630 <map><key>regionX</key><map><key>type</key><string>integer</string></map></map>
7631 <map><key>regionY</key><map><key>type</key><string>integer</string></map></map>
7632 <map><key>position</key><map><key>type</key><string>vector</string></map></map> 7647 <map><key>position</key><map><key>type</key><string>vector</string></map></map>
7633 <map><key>lookat</key><map><key>type</key><string>vector</string></map></map> 7648 <map><key>lookat</key><map><key>type</key><string>vector</string></map></map>
7634 </array> 7649 </array>