diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
3 files changed, 39 insertions, 18 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 6efa73f..e59c0be 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -107,6 +107,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
107 | public const int PSYS_PART_TARGET_POS_MASK = 64; | 107 | public const int PSYS_PART_TARGET_POS_MASK = 64; |
108 | public const int PSYS_PART_TARGET_LINEAR_MASK = 128; | 108 | public const int PSYS_PART_TARGET_LINEAR_MASK = 128; |
109 | public const int PSYS_PART_EMISSIVE_MASK = 256; | 109 | public const int PSYS_PART_EMISSIVE_MASK = 256; |
110 | public const int PSYS_PART_RIBBON_MASK = 1024; | ||
110 | public const int PSYS_PART_FLAGS = 0; | 111 | public const int PSYS_PART_FLAGS = 0; |
111 | public const int PSYS_PART_START_COLOR = 1; | 112 | public const int PSYS_PART_START_COLOR = 1; |
112 | public const int PSYS_PART_START_ALPHA = 2; | 113 | public const int PSYS_PART_START_ALPHA = 2; |
@@ -130,6 +131,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
130 | public const int PSYS_SRC_OMEGA = 21; | 131 | public const int PSYS_SRC_OMEGA = 21; |
131 | public const int PSYS_SRC_ANGLE_BEGIN = 22; | 132 | public const int PSYS_SRC_ANGLE_BEGIN = 22; |
132 | public const int PSYS_SRC_ANGLE_END = 23; | 133 | public const int PSYS_SRC_ANGLE_END = 23; |
134 | public const int PSYS_PART_BLEND_FUNC_SOURCE = 24; | ||
135 | public const int PSYS_PART_BLEND_FUNC_DEST = 25; | ||
136 | public const int PSYS_PART_START_GLOW = 26; | ||
137 | public const int PSYS_PART_END_GLOW = 27; | ||
138 | public const int PSYS_PART_BF_ONE = 0; | ||
139 | public const int PSYS_PART_BF_ZERO = 1; | ||
140 | public const int PSYS_PART_BF_DEST_COLOR = 2; | ||
141 | public const int PSYS_PART_BF_SOURCE_COLOR = 3; | ||
142 | public const int PSYS_PART_BF_ONE_MINUS_DEST_COLOR = 4; | ||
143 | public const int PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR = 5; | ||
144 | public const int PSYS_PART_BF_SOURCE_ALPHA = 7; | ||
145 | public const int PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA = 9; | ||
133 | public const int PSYS_SRC_PATTERN_DROP = 1; | 146 | public const int PSYS_SRC_PATTERN_DROP = 1; |
134 | public const int PSYS_SRC_PATTERN_EXPLODE = 2; | 147 | public const int PSYS_SRC_PATTERN_EXPLODE = 2; |
135 | public const int PSYS_SRC_PATTERN_ANGLE = 4; | 148 | public const int PSYS_SRC_PATTERN_ANGLE = 4; |
@@ -361,6 +374,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
361 | public const int HTTP_CUSTOM_HEADER = 5; | 374 | public const int HTTP_CUSTOM_HEADER = 5; |
362 | public const int HTTP_PRAGMA_NO_CACHE = 6; | 375 | public const int HTTP_PRAGMA_NO_CACHE = 6; |
363 | 376 | ||
377 | // llSetContentType | ||
378 | public const int CONTENT_TYPE_TEXT = 0; //text/plain | ||
379 | public const int CONTENT_TYPE_HTML = 1; //text/html | ||
380 | public const int CONTENT_TYPE_XML = 2; //application/xml | ||
381 | public const int CONTENT_TYPE_XHTML = 3; //application/xhtml+xml | ||
382 | public const int CONTENT_TYPE_ATOM = 4; //application/atom+xml | ||
383 | public const int CONTENT_TYPE_JSON = 5; //application/json | ||
384 | public const int CONTENT_TYPE_LLSD = 6; //application/llsd+xml | ||
385 | public const int CONTENT_TYPE_FORM = 7; //application/x-www-form-urlencoded | ||
386 | public const int CONTENT_TYPE_RSS = 8; //application/rss+xml | ||
387 | |||
364 | public const int PRIM_MATERIAL = 2; | 388 | public const int PRIM_MATERIAL = 2; |
365 | public const int PRIM_PHYSICS = 3; | 389 | public const int PRIM_PHYSICS = 3; |
366 | public const int PRIM_TEMP_ON_REZ = 4; | 390 | public const int PRIM_TEMP_ON_REZ = 4; |
@@ -772,8 +796,5 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
772 | /// process message parameter as regex | 796 | /// process message parameter as regex |
773 | /// </summary> | 797 | /// </summary> |
774 | public const int OS_LISTEN_REGEX_MESSAGE = 0x2; | 798 | public const int OS_LISTEN_REGEX_MESSAGE = 0x2; |
775 | |||
776 | public const int CONTENT_TYPE_TEXT = 0; | ||
777 | public const int CONTENT_TYPE_HTML = 1; | ||
778 | } | 799 | } |
779 | } | 800 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index 6f3677c..4fc8d65 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -1495,11 +1495,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1495 | m_LSL_Functions.llSetAlpha(alpha, face); | 1495 | m_LSL_Functions.llSetAlpha(alpha, face); |
1496 | } | 1496 | } |
1497 | 1497 | ||
1498 | public void llSetAngularVelocity(LSL_Vector angvelocity, int local) | ||
1499 | { | ||
1500 | m_LSL_Functions.llSetAngularVelocity(angvelocity, local); | ||
1501 | } | ||
1502 | |||
1503 | public void llSetBuoyancy(double buoyancy) | 1498 | public void llSetBuoyancy(double buoyancy) |
1504 | { | 1499 | { |
1505 | m_LSL_Functions.llSetBuoyancy(buoyancy); | 1500 | m_LSL_Functions.llSetBuoyancy(buoyancy); |
@@ -1535,6 +1530,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1535 | m_LSL_Functions.llSetColor(color, face); | 1530 | m_LSL_Functions.llSetColor(color, face); |
1536 | } | 1531 | } |
1537 | 1532 | ||
1533 | public void llSetContentType(LSL_Key id, LSL_Integer type) | ||
1534 | { | ||
1535 | m_LSL_Functions.llSetContentType(id, type); | ||
1536 | } | ||
1537 | |||
1538 | public void llSetDamage(double damage) | 1538 | public void llSetDamage(double damage) |
1539 | { | 1539 | { |
1540 | m_LSL_Functions.llSetDamage(damage); | 1540 | m_LSL_Functions.llSetDamage(damage); |
@@ -1550,6 +1550,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1550 | m_LSL_Functions.llSetForceAndTorque(force, torque, local); | 1550 | m_LSL_Functions.llSetForceAndTorque(force, torque, local); |
1551 | } | 1551 | } |
1552 | 1552 | ||
1553 | public void llSetAngularVelocity(LSL_Vector force, int local) | ||
1554 | { | ||
1555 | m_LSL_Functions.llSetAngularVelocity(force, local); | ||
1556 | } | ||
1557 | |||
1553 | public void llSetHoverHeight(double height, int water, double tau) | 1558 | public void llSetHoverHeight(double height, int water, double tau) |
1554 | { | 1559 | { |
1555 | m_LSL_Functions.llSetHoverHeight(height, water, tau); | 1560 | m_LSL_Functions.llSetHoverHeight(height, water, tau); |
@@ -1740,11 +1745,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
1740 | m_LSL_Functions.llSetVehicleVectorParam(param, vec); | 1745 | m_LSL_Functions.llSetVehicleVectorParam(param, vec); |
1741 | } | 1746 | } |
1742 | 1747 | ||
1743 | public void llSetVelocity(LSL_Vector velocity, int local) | ||
1744 | { | ||
1745 | m_LSL_Functions.llSetVelocity(velocity, local); | ||
1746 | } | ||
1747 | |||
1748 | public void llShout(int channelID, string text) | 1748 | public void llShout(int channelID, string text) |
1749 | { | 1749 | { |
1750 | m_LSL_Functions.llShout(channelID, text); | 1750 | m_LSL_Functions.llShout(channelID, text); |
@@ -2014,10 +2014,5 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
2014 | { | 2014 | { |
2015 | return m_LSL_Functions.llGetPhysicsMaterial(); | 2015 | return m_LSL_Functions.llGetPhysicsMaterial(); |
2016 | } | 2016 | } |
2017 | |||
2018 | public void llSetContentType(LSL_Key id, LSL_Integer content_type) | ||
2019 | { | ||
2020 | m_LSL_Functions.llSetContentType(id, content_type); | ||
2021 | } | ||
2022 | } | 2017 | } |
2023 | } | 2018 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index b63773b..9cf7b35 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -858,6 +858,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
858 | return m_OSSL_Functions.osGetRegionStats(); | 858 | return m_OSSL_Functions.osGetRegionStats(); |
859 | } | 859 | } |
860 | 860 | ||
861 | public vector osGetRegionSize() | ||
862 | { | ||
863 | return m_OSSL_Functions.osGetRegionSize(); | ||
864 | } | ||
865 | |||
861 | /// <summary> | 866 | /// <summary> |
862 | /// Returns the amount of memory in use by the Simulator Daemon. | 867 | /// Returns the amount of memory in use by the Simulator Daemon. |
863 | /// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware) | 868 | /// Amount in bytes - if >= 4GB, returns 4GB. (LSL is not 64-bit aware) |