diff options
Diffstat (limited to 'OpenSim')
3 files changed, 129 insertions, 129 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index eccc6d9..aadad7b 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -187,7 +187,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
187 | return m_LSL_Functions.llPow(fbase, fexponent); | 187 | return m_LSL_Functions.llPow(fbase, fexponent); |
188 | } | 188 | } |
189 | 189 | ||
190 | public int llAbs(int i) | 190 | public LSL_Types.LSLInteger llAbs(int i) |
191 | { | 191 | { |
192 | return m_LSL_Functions.llAbs(i); | 192 | return m_LSL_Functions.llAbs(i); |
193 | } | 193 | } |
@@ -202,17 +202,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
202 | return m_LSL_Functions.llFrand(mag); | 202 | return m_LSL_Functions.llFrand(mag); |
203 | } | 203 | } |
204 | 204 | ||
205 | public int llFloor(double f) | 205 | public LSL_Types.LSLInteger llFloor(double f) |
206 | { | 206 | { |
207 | return m_LSL_Functions.llFloor(f); | 207 | return m_LSL_Functions.llFloor(f); |
208 | } | 208 | } |
209 | 209 | ||
210 | public int llCeil(double f) | 210 | public LSL_Types.LSLInteger llCeil(double f) |
211 | { | 211 | { |
212 | return m_LSL_Functions.llCeil(f); | 212 | return m_LSL_Functions.llCeil(f); |
213 | } | 213 | } |
214 | 214 | ||
215 | public int llRound(double f) | 215 | public LSL_Types.LSLInteger llRound(double f) |
216 | { | 216 | { |
217 | return m_LSL_Functions.llRound(f); | 217 | return m_LSL_Functions.llRound(f); |
218 | } | 218 | } |
@@ -290,7 +290,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
290 | m_LSL_Functions.llRegionSay(channelID, text); | 290 | m_LSL_Functions.llRegionSay(channelID, text); |
291 | } | 291 | } |
292 | 292 | ||
293 | public int llListen(int channelID, string name, string ID, string msg) | 293 | public LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg) |
294 | { | 294 | { |
295 | return m_LSL_Functions.llListen(channelID, name, ID, msg); | 295 | return m_LSL_Functions.llListen(channelID, name, ID, msg); |
296 | } | 296 | } |
@@ -335,7 +335,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
335 | return m_LSL_Functions.llDetectedOwner(number); | 335 | return m_LSL_Functions.llDetectedOwner(number); |
336 | } | 336 | } |
337 | 337 | ||
338 | public int llDetectedType(int number) | 338 | public LSL_Types.LSLInteger llDetectedType(int number) |
339 | { | 339 | { |
340 | return m_LSL_Functions.llDetectedType(number); | 340 | return m_LSL_Functions.llDetectedType(number); |
341 | } | 341 | } |
@@ -360,12 +360,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
360 | return m_LSL_Functions.llDetectedRot(number); | 360 | return m_LSL_Functions.llDetectedRot(number); |
361 | } | 361 | } |
362 | 362 | ||
363 | public int llDetectedGroup(int number) | 363 | public LSL_Types.LSLInteger llDetectedGroup(int number) |
364 | { | 364 | { |
365 | return m_LSL_Functions.llDetectedGroup(number); | 365 | return m_LSL_Functions.llDetectedGroup(number); |
366 | } | 366 | } |
367 | 367 | ||
368 | public int llDetectedLinkNumber(int number) | 368 | public LSL_Types.LSLInteger llDetectedLinkNumber(int number) |
369 | { | 369 | { |
370 | return m_LSL_Functions.llDetectedLinkNumber(number); | 370 | return m_LSL_Functions.llDetectedLinkNumber(number); |
371 | } | 371 | } |
@@ -398,7 +398,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
398 | m_LSL_Functions.llSetStatus(status, value); | 398 | m_LSL_Functions.llSetStatus(status, value); |
399 | } | 399 | } |
400 | 400 | ||
401 | public int llGetStatus(int status) | 401 | public LSL_Types.LSLInteger llGetStatus(int status) |
402 | { | 402 | { |
403 | return m_LSL_Functions.llGetStatus(status); | 403 | return m_LSL_Functions.llGetStatus(status); |
404 | } | 404 | } |
@@ -501,7 +501,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
501 | return m_LSL_Functions.llGetForce(); | 501 | return m_LSL_Functions.llGetForce(); |
502 | } | 502 | } |
503 | 503 | ||
504 | public int llTarget(vector position, double range) | 504 | public LSL_Types.LSLInteger llTarget(vector position, double range) |
505 | { | 505 | { |
506 | return m_LSL_Functions.llTarget(position, range); | 506 | return m_LSL_Functions.llTarget(position, range); |
507 | } | 507 | } |
@@ -511,7 +511,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
511 | m_LSL_Functions.llTargetRemove(number); | 511 | m_LSL_Functions.llTargetRemove(number); |
512 | } | 512 | } |
513 | 513 | ||
514 | public int llRotTarget(rotation rot, double error) | 514 | public LSL_Types.LSLInteger llRotTarget(rotation rot, double error) |
515 | { | 515 | { |
516 | return m_LSL_Functions.llRotTarget(rot, error); | 516 | return m_LSL_Functions.llRotTarget(rot, error); |
517 | } | 517 | } |
@@ -672,7 +672,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
672 | return m_LSL_Functions.llToLower(source); | 672 | return m_LSL_Functions.llToLower(source); |
673 | } | 673 | } |
674 | 674 | ||
675 | public int llGiveMoney(string destination, int amount) | 675 | public LSL_Types.LSLInteger llGiveMoney(string destination, int amount) |
676 | { | 676 | { |
677 | return m_LSL_Functions.llGiveMoney(destination, amount); | 677 | return m_LSL_Functions.llGiveMoney(destination, amount); |
678 | } | 678 | } |
@@ -823,7 +823,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
823 | // | 823 | // |
824 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 824 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
825 | // | 825 | // |
826 | public int llStringLength(string str) | 826 | public LSL_Types.LSLInteger llStringLength(string str) |
827 | { | 827 | { |
828 | return m_LSL_Functions.llStringLength(str); | 828 | return m_LSL_Functions.llStringLength(str); |
829 | } | 829 | } |
@@ -853,7 +853,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); | 853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); |
854 | } | 854 | } |
855 | 855 | ||
856 | public int llGetStartParameter() | 856 | public LSL_Types.LSLInteger llGetStartParameter() |
857 | { | 857 | { |
858 | return m_LSL_Functions.llGetStartParameter(); | 858 | return m_LSL_Functions.llGetStartParameter(); |
859 | } | 859 | } |
@@ -873,12 +873,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
873 | return m_LSL_Functions.llGetPermissionsKey(); | 873 | return m_LSL_Functions.llGetPermissionsKey(); |
874 | } | 874 | } |
875 | 875 | ||
876 | public int llGetPermissions() | 876 | public LSL_Types.LSLInteger llGetPermissions() |
877 | { | 877 | { |
878 | return m_LSL_Functions.llGetPermissions(); | 878 | return m_LSL_Functions.llGetPermissions(); |
879 | } | 879 | } |
880 | 880 | ||
881 | public int llGetLinkNumber() | 881 | public LSL_Types.LSLInteger llGetLinkNumber() |
882 | { | 882 | { |
883 | return m_LSL_Functions.llGetLinkNumber(); | 883 | return m_LSL_Functions.llGetLinkNumber(); |
884 | } | 884 | } |
@@ -913,7 +913,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
913 | return m_LSL_Functions.llGetLinkName(linknum); | 913 | return m_LSL_Functions.llGetLinkName(linknum); |
914 | } | 914 | } |
915 | 915 | ||
916 | public int llGetInventoryNumber(int type) | 916 | public LSL_Types.LSLInteger llGetInventoryNumber(int type) |
917 | { | 917 | { |
918 | return m_LSL_Functions.llGetInventoryNumber(type); | 918 | return m_LSL_Functions.llGetInventoryNumber(type); |
919 | } | 919 | } |
@@ -1026,7 +1026,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1026 | return m_LSL_Functions.llGetScriptName(); | 1026 | return m_LSL_Functions.llGetScriptName(); |
1027 | } | 1027 | } |
1028 | 1028 | ||
1029 | public int llGetNumberOfSides() | 1029 | public LSL_Types.LSLInteger llGetNumberOfSides() |
1030 | { | 1030 | { |
1031 | return m_LSL_Functions.llGetNumberOfSides(); | 1031 | return m_LSL_Functions.llGetNumberOfSides(); |
1032 | } | 1032 | } |
@@ -1094,7 +1094,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1094 | return m_LSL_Functions.llGetTextureRot(side); | 1094 | return m_LSL_Functions.llGetTextureRot(side); |
1095 | } | 1095 | } |
1096 | 1096 | ||
1097 | public int llSubStringIndex(string source, string pattern) | 1097 | public LSL_Types.LSLInteger llSubStringIndex(string source, string pattern) |
1098 | { | 1098 | { |
1099 | return m_LSL_Functions.llSubStringIndex(source, pattern); | 1099 | return m_LSL_Functions.llSubStringIndex(source, pattern); |
1100 | } | 1100 | } |
@@ -1114,7 +1114,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1114 | return m_LSL_Functions.llListSort(src, stride, ascending); | 1114 | return m_LSL_Functions.llListSort(src, stride, ascending); |
1115 | } | 1115 | } |
1116 | 1116 | ||
1117 | public int llGetListLength(LSL_Types.list src) | 1117 | public LSL_Types.LSLInteger llGetListLength(LSL_Types.list src) |
1118 | { | 1118 | { |
1119 | return m_LSL_Functions.llGetListLength(src); | 1119 | return m_LSL_Functions.llGetListLength(src); |
1120 | } | 1120 | } |
@@ -1122,7 +1122,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1122 | // | 1122 | // |
1123 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1123 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1124 | // | 1124 | // |
1125 | public int llList2Integer(LSL_Types.list src, int index) | 1125 | public LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index) |
1126 | { | 1126 | { |
1127 | return m_LSL_Functions.llList2Integer(src, index); | 1127 | return m_LSL_Functions.llList2Integer(src, index); |
1128 | } | 1128 | } |
@@ -1162,7 +1162,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1162 | return m_LSL_Functions.llDeleteSubList(src, start, end); | 1162 | return m_LSL_Functions.llDeleteSubList(src, start, end); |
1163 | } | 1163 | } |
1164 | 1164 | ||
1165 | public int llGetListEntryType(LSL_Types.list src, int index) | 1165 | public LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index) |
1166 | { | 1166 | { |
1167 | return m_LSL_Functions.llGetListEntryType(src, index); | 1167 | return m_LSL_Functions.llGetListEntryType(src, index); |
1168 | } | 1168 | } |
@@ -1197,7 +1197,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1197 | return m_LSL_Functions.llListInsertList(dest, src, start); | 1197 | return m_LSL_Functions.llListInsertList(dest, src, start); |
1198 | } | 1198 | } |
1199 | 1199 | ||
1200 | public int llListFindList(LSL_Types.list src, LSL_Types.list test) | 1200 | public LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test) |
1201 | { | 1201 | { |
1202 | return m_LSL_Functions.llListFindList(src, test); | 1202 | return m_LSL_Functions.llListFindList(src, test); |
1203 | } | 1203 | } |
@@ -1217,12 +1217,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1217 | return m_LSL_Functions.llGetDate(); | 1217 | return m_LSL_Functions.llGetDate(); |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | public int llEdgeOfWorld(vector pos, vector dir) | 1220 | public LSL_Types.LSLInteger llEdgeOfWorld(vector pos, vector dir) |
1221 | { | 1221 | { |
1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); | 1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | public int llGetAgentInfo(string id) | 1225 | public LSL_Types.LSLInteger llGetAgentInfo(string id) |
1226 | { | 1226 | { |
1227 | return m_LSL_Functions.llGetAgentInfo(id); | 1227 | return m_LSL_Functions.llGetAgentInfo(id); |
1228 | } | 1228 | } |
@@ -1270,7 +1270,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1270 | return m_LSL_Functions.llParseString2List(str,separators,spacers); | 1270 | return m_LSL_Functions.llParseString2List(str,separators,spacers); |
1271 | } | 1271 | } |
1272 | 1272 | ||
1273 | public int llOverMyLand(string id) | 1273 | public LSL_Types.LSLInteger llOverMyLand(string id) |
1274 | { | 1274 | { |
1275 | return m_LSL_Functions.llOverMyLand(id); | 1275 | return m_LSL_Functions.llOverMyLand(id); |
1276 | } | 1276 | } |
@@ -1290,7 +1290,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1290 | return m_LSL_Functions.llGetAgentSize(id); | 1290 | return m_LSL_Functions.llGetAgentSize(id); |
1291 | } | 1291 | } |
1292 | 1292 | ||
1293 | public int llSameGroup(string agent) | 1293 | public LSL_Types.LSLInteger llSameGroup(string agent) |
1294 | { | 1294 | { |
1295 | return m_LSL_Functions.llSameGroup(agent); | 1295 | return m_LSL_Functions.llSameGroup(agent); |
1296 | } | 1296 | } |
@@ -1315,12 +1315,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1315 | return m_LSL_Functions.llGroundContour(offset); | 1315 | return m_LSL_Functions.llGroundContour(offset); |
1316 | } | 1316 | } |
1317 | 1317 | ||
1318 | public int llGetAttached() | 1318 | public LSL_Types.LSLInteger llGetAttached() |
1319 | { | 1319 | { |
1320 | return m_LSL_Functions.llGetAttached(); | 1320 | return m_LSL_Functions.llGetAttached(); |
1321 | } | 1321 | } |
1322 | 1322 | ||
1323 | public int llGetFreeMemory() | 1323 | public LSL_Types.LSLInteger llGetFreeMemory() |
1324 | { | 1324 | { |
1325 | return m_LSL_Functions.llGetFreeMemory(); | 1325 | return m_LSL_Functions.llGetFreeMemory(); |
1326 | } | 1326 | } |
@@ -1433,7 +1433,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1433 | return m_LSL_Functions.llDumpList2String(src, seperator); | 1433 | return m_LSL_Functions.llDumpList2String(src, seperator); |
1434 | } | 1434 | } |
1435 | 1435 | ||
1436 | public int llScriptDanger(vector pos) | 1436 | public LSL_Types.LSLInteger llScriptDanger(vector pos) |
1437 | { | 1437 | { |
1438 | return m_LSL_Functions.llScriptDanger(pos); | 1438 | return m_LSL_Functions.llScriptDanger(pos); |
1439 | } | 1439 | } |
@@ -1453,7 +1453,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1453 | m_LSL_Functions.llResetOtherScript(name); | 1453 | m_LSL_Functions.llResetOtherScript(name); |
1454 | } | 1454 | } |
1455 | 1455 | ||
1456 | public int llGetScriptState(string name) | 1456 | public LSL_Types.LSLInteger llGetScriptState(string name) |
1457 | { | 1457 | { |
1458 | return m_LSL_Functions.llGetScriptState(name); | 1458 | return m_LSL_Functions.llGetScriptState(name); |
1459 | } | 1459 | } |
@@ -1585,7 +1585,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1585 | m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); | 1585 | m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); |
1586 | } | 1586 | } |
1587 | 1587 | ||
1588 | public int llGetNumberOfPrims() | 1588 | public LSL_Types.LSLInteger llGetNumberOfPrims() |
1589 | { | 1589 | { |
1590 | return m_LSL_Functions.llGetNumberOfPrims(); | 1590 | return m_LSL_Functions.llGetNumberOfPrims(); |
1591 | } | 1591 | } |
@@ -1618,7 +1618,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1618 | return m_LSL_Functions.llIntegerToBase64(number); | 1618 | return m_LSL_Functions.llIntegerToBase64(number); |
1619 | } | 1619 | } |
1620 | 1620 | ||
1621 | public int llBase64ToInteger(string str) | 1621 | public LSL_Types.LSLInteger llBase64ToInteger(string str) |
1622 | { | 1622 | { |
1623 | return m_LSL_Functions.llBase64ToInteger(str); | 1623 | return m_LSL_Functions.llBase64ToInteger(str); |
1624 | } | 1624 | } |
@@ -1648,7 +1648,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1648 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); | 1648 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); |
1649 | } | 1649 | } |
1650 | 1650 | ||
1651 | public int llGetObjectPermMask(int mask) | 1651 | public LSL_Types.LSLInteger llGetObjectPermMask(int mask) |
1652 | { | 1652 | { |
1653 | return m_LSL_Functions.llGetObjectPermMask(mask); | 1653 | return m_LSL_Functions.llGetObjectPermMask(mask); |
1654 | } | 1654 | } |
@@ -1658,7 +1658,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1658 | m_LSL_Functions.llSetObjectPermMask(mask, value); | 1658 | m_LSL_Functions.llSetObjectPermMask(mask, value); |
1659 | } | 1659 | } |
1660 | 1660 | ||
1661 | public int llGetInventoryPermMask(string item, int mask) | 1661 | public LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask) |
1662 | { | 1662 | { |
1663 | return m_LSL_Functions.llGetInventoryPermMask(item, mask); | 1663 | return m_LSL_Functions.llGetInventoryPermMask(item, mask); |
1664 | } | 1664 | } |
@@ -1713,7 +1713,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1713 | m_LSL_Functions.llParcelMediaQuery(); | 1713 | m_LSL_Functions.llParcelMediaQuery(); |
1714 | } | 1714 | } |
1715 | 1715 | ||
1716 | public int llModPow(int a, int b, int c) | 1716 | public LSL_Types.LSLInteger llModPow(int a, int b, int c) |
1717 | { | 1717 | { |
1718 | return m_LSL_Functions.llModPow(a, b, c); | 1718 | return m_LSL_Functions.llModPow(a, b, c); |
1719 | } | 1719 | } |
@@ -1721,7 +1721,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1721 | // | 1721 | // |
1722 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1722 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1723 | // | 1723 | // |
1724 | public int llGetInventoryType(string name) | 1724 | public LSL_Types.LSLInteger llGetInventoryType(string name) |
1725 | { | 1725 | { |
1726 | return m_LSL_Functions.llGetInventoryType(name); | 1726 | return m_LSL_Functions.llGetInventoryType(name); |
1727 | } | 1727 | } |
@@ -1796,17 +1796,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1796 | return m_LSL_Functions.llListStatistics(operation, src); | 1796 | return m_LSL_Functions.llListStatistics(operation, src); |
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | public int llGetUnixTime() | 1799 | public LSL_Types.LSLInteger llGetUnixTime() |
1800 | { | 1800 | { |
1801 | return m_LSL_Functions.llGetUnixTime(); | 1801 | return m_LSL_Functions.llGetUnixTime(); |
1802 | } | 1802 | } |
1803 | 1803 | ||
1804 | public int llGetParcelFlags(vector pos) | 1804 | public LSL_Types.LSLInteger llGetParcelFlags(vector pos) |
1805 | { | 1805 | { |
1806 | return m_LSL_Functions.llGetParcelFlags(pos); | 1806 | return m_LSL_Functions.llGetParcelFlags(pos); |
1807 | } | 1807 | } |
1808 | 1808 | ||
1809 | public int llGetRegionFlags() | 1809 | public LSL_Types.LSLInteger llGetRegionFlags() |
1810 | { | 1810 | { |
1811 | return m_LSL_Functions.llGetRegionFlags(); | 1811 | return m_LSL_Functions.llGetRegionFlags(); |
1812 | } | 1812 | } |
@@ -1831,7 +1831,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1831 | m_LSL_Functions.llResetLandPassList(); | 1831 | m_LSL_Functions.llResetLandPassList(); |
1832 | } | 1832 | } |
1833 | 1833 | ||
1834 | public int llGetParcelPrimCount(vector pos, int category, int sim_wide) | 1834 | public LSL_Types.LSLInteger llGetParcelPrimCount(vector pos, int category, int sim_wide) |
1835 | { | 1835 | { |
1836 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); | 1836 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); |
1837 | } | 1837 | } |
@@ -1841,7 +1841,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1841 | return m_LSL_Functions.llGetParcelPrimOwners(pos); | 1841 | return m_LSL_Functions.llGetParcelPrimOwners(pos); |
1842 | } | 1842 | } |
1843 | 1843 | ||
1844 | public int llGetObjectPrimCount(string object_id) | 1844 | public LSL_Types.LSLInteger llGetObjectPrimCount(string object_id) |
1845 | { | 1845 | { |
1846 | return m_LSL_Functions.llGetObjectPrimCount(object_id); | 1846 | return m_LSL_Functions.llGetObjectPrimCount(object_id); |
1847 | } | 1847 | } |
@@ -1849,7 +1849,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1849 | // | 1849 | // |
1850 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1850 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1851 | // | 1851 | // |
1852 | public int llGetParcelMaxPrims(vector pos, int sim_wide) | 1852 | public LSL_Types.LSLInteger llGetParcelMaxPrims(vector pos, int sim_wide) |
1853 | { | 1853 | { |
1854 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); | 1854 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); |
1855 | } | 1855 | } |
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index 48b356a..8e56440 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | |||
@@ -225,7 +225,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
225 | return (double)Math.Pow(fbase, fexponent); | 225 | return (double)Math.Pow(fbase, fexponent); |
226 | } | 226 | } |
227 | 227 | ||
228 | public int llAbs(int i) | 228 | public LSL_Types.LSLInteger llAbs(int i) |
229 | { | 229 | { |
230 | m_host.AddScriptLPS(1); | 230 | m_host.AddScriptLPS(1); |
231 | return (int)Math.Abs(i); | 231 | return (int)Math.Abs(i); |
@@ -246,20 +246,20 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
246 | } | 246 | } |
247 | } | 247 | } |
248 | 248 | ||
249 | public int llFloor(double f) | 249 | public LSL_Types.LSLInteger llFloor(double f) |
250 | { | 250 | { |
251 | m_host.AddScriptLPS(1); | 251 | m_host.AddScriptLPS(1); |
252 | return (int)Math.Floor(f); | 252 | return (int)Math.Floor(f); |
253 | } | 253 | } |
254 | 254 | ||
255 | public int llCeil(double f) | 255 | public LSL_Types.LSLInteger llCeil(double f) |
256 | { | 256 | { |
257 | m_host.AddScriptLPS(1); | 257 | m_host.AddScriptLPS(1); |
258 | return (int)Math.Ceiling(f); | 258 | return (int)Math.Ceiling(f); |
259 | } | 259 | } |
260 | 260 | ||
261 | // Xantor 01/May/2008 fixed midpointrounding (2.5 becomes 3.0 instead of 2.0, default = ToEven) | 261 | // Xantor 01/May/2008 fixed midpointrounding (2.5 becomes 3.0 instead of 2.0, default = ToEven) |
262 | public int llRound(double f) | 262 | public LSL_Types.LSLInteger llRound(double f) |
263 | { | 263 | { |
264 | m_host.AddScriptLPS(1); | 264 | m_host.AddScriptLPS(1); |
265 | return (int)Math.Round(f, MidpointRounding.AwayFromZero); | 265 | return (int)Math.Round(f, MidpointRounding.AwayFromZero); |
@@ -502,7 +502,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
502 | wComm.DeliverMessage(ChatTypeEnum.Region, channelID, m_host.Name, m_host.UUID, text); | 502 | wComm.DeliverMessage(ChatTypeEnum.Region, channelID, m_host.Name, m_host.UUID, text); |
503 | } | 503 | } |
504 | 504 | ||
505 | public int llListen(int channelID, string name, string ID, string msg) | 505 | public LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg) |
506 | { | 506 | { |
507 | m_host.AddScriptLPS(1); | 507 | m_host.AddScriptLPS(1); |
508 | LLUUID keyID; | 508 | LLUUID keyID; |
@@ -685,7 +685,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
685 | 685 | ||
686 | } | 686 | } |
687 | 687 | ||
688 | public int llDetectedType(int number) | 688 | public LSL_Types.LSLInteger llDetectedType(int number) |
689 | { | 689 | { |
690 | m_host.AddScriptLPS(1); | 690 | m_host.AddScriptLPS(1); |
691 | EntityBase SensedObject = entityDetectedKey(number); | 691 | EntityBase SensedObject = entityDetectedKey(number); |
@@ -744,14 +744,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
744 | return new LSL_Types.Quaternion(SensedObject.Rotation.x, SensedObject.Rotation.y, SensedObject.Rotation.z, SensedObject.Rotation.w); | 744 | return new LSL_Types.Quaternion(SensedObject.Rotation.x, SensedObject.Rotation.y, SensedObject.Rotation.z, SensedObject.Rotation.w); |
745 | } | 745 | } |
746 | 746 | ||
747 | public int llDetectedGroup(int number) | 747 | public LSL_Types.LSLInteger llDetectedGroup(int number) |
748 | { | 748 | { |
749 | m_host.AddScriptLPS(1); | 749 | m_host.AddScriptLPS(1); |
750 | NotImplemented("llDetectedGroup"); | 750 | NotImplemented("llDetectedGroup"); |
751 | return 0; | 751 | return 0; |
752 | } | 752 | } |
753 | 753 | ||
754 | public int llDetectedLinkNumber(int number) | 754 | public LSL_Types.LSLInteger llDetectedLinkNumber(int number) |
755 | { | 755 | { |
756 | m_host.AddScriptLPS(1); | 756 | m_host.AddScriptLPS(1); |
757 | NotImplemented("llDetectedLinkNumber"); | 757 | NotImplemented("llDetectedLinkNumber"); |
@@ -852,7 +852,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
852 | return; | 852 | return; |
853 | } | 853 | } |
854 | 854 | ||
855 | public int llGetStatus(int status) | 855 | public LSL_Types.LSLInteger llGetStatus(int status) |
856 | { | 856 | { |
857 | m_host.AddScriptLPS(1); | 857 | m_host.AddScriptLPS(1); |
858 | Console.WriteLine(m_host.UUID.ToString() + " status is " + m_host.GetEffectiveObjectFlags().ToString()); | 858 | Console.WriteLine(m_host.UUID.ToString() + " status is " + m_host.GetEffectiveObjectFlags().ToString()); |
@@ -1331,7 +1331,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1331 | return new LSL_Types.Vector3(); | 1331 | return new LSL_Types.Vector3(); |
1332 | } | 1332 | } |
1333 | 1333 | ||
1334 | public int llTarget(LSL_Types.Vector3 position, double range) | 1334 | public LSL_Types.LSLInteger llTarget(LSL_Types.Vector3 position, double range) |
1335 | { | 1335 | { |
1336 | m_host.AddScriptLPS(1); | 1336 | m_host.AddScriptLPS(1); |
1337 | return m_host.registerTargetWaypoint(new LLVector3((float)position.x, (float)position.y, (float)position.z), (float)range); | 1337 | return m_host.registerTargetWaypoint(new LLVector3((float)position.x, (float)position.y, (float)position.z), (float)range); |
@@ -1344,7 +1344,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1344 | m_host.unregisterTargetWaypoint(number); | 1344 | m_host.unregisterTargetWaypoint(number); |
1345 | } | 1345 | } |
1346 | 1346 | ||
1347 | public int llRotTarget(LSL_Types.Quaternion rot, double error) | 1347 | public LSL_Types.LSLInteger llRotTarget(LSL_Types.Quaternion rot, double error) |
1348 | { | 1348 | { |
1349 | m_host.AddScriptLPS(1); | 1349 | m_host.AddScriptLPS(1); |
1350 | NotImplemented("llRotTarget"); | 1350 | NotImplemented("llRotTarget"); |
@@ -1761,7 +1761,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1761 | return src.ToLower(); | 1761 | return src.ToLower(); |
1762 | } | 1762 | } |
1763 | 1763 | ||
1764 | public int llGiveMoney(string destination, int amount) | 1764 | public LSL_Types.LSLInteger llGiveMoney(string destination, int amount) |
1765 | { | 1765 | { |
1766 | LLUUID invItemID=InventorySelf(); | 1766 | LLUUID invItemID=InventorySelf(); |
1767 | if (invItemID == LLUUID.Zero) | 1767 | if (invItemID == LLUUID.Zero) |
@@ -2110,7 +2110,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2110 | NotImplemented("llRotLookAt"); | 2110 | NotImplemented("llRotLookAt"); |
2111 | } | 2111 | } |
2112 | 2112 | ||
2113 | public int llStringLength(string str) | 2113 | public LSL_Types.LSLInteger llStringLength(string str) |
2114 | { | 2114 | { |
2115 | m_host.AddScriptLPS(1); | 2115 | m_host.AddScriptLPS(1); |
2116 | if (str.Length > 0) | 2116 | if (str.Length > 0) |
@@ -2201,7 +2201,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2201 | m_host.SendTerseUpdateToAllClients(); | 2201 | m_host.SendTerseUpdateToAllClients(); |
2202 | } | 2202 | } |
2203 | 2203 | ||
2204 | public int llGetStartParameter() | 2204 | public LSL_Types.LSLInteger llGetStartParameter() |
2205 | { | 2205 | { |
2206 | m_host.AddScriptLPS(1); | 2206 | m_host.AddScriptLPS(1); |
2207 | NotImplemented("llGetStartParameter"); | 2207 | NotImplemented("llGetStartParameter"); |
@@ -2332,7 +2332,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2332 | return LLUUID.Zero.ToString(); | 2332 | return LLUUID.Zero.ToString(); |
2333 | } | 2333 | } |
2334 | 2334 | ||
2335 | public int llGetPermissions() | 2335 | public LSL_Types.LSLInteger llGetPermissions() |
2336 | { | 2336 | { |
2337 | m_host.AddScriptLPS(1); | 2337 | m_host.AddScriptLPS(1); |
2338 | 2338 | ||
@@ -2347,7 +2347,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2347 | return 0; | 2347 | return 0; |
2348 | } | 2348 | } |
2349 | 2349 | ||
2350 | public int llGetLinkNumber() | 2350 | public LSL_Types.LSLInteger llGetLinkNumber() |
2351 | { | 2351 | { |
2352 | m_host.AddScriptLPS(1); | 2352 | m_host.AddScriptLPS(1); |
2353 | 2353 | ||
@@ -2505,7 +2505,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2505 | } | 2505 | } |
2506 | } | 2506 | } |
2507 | 2507 | ||
2508 | public int llGetInventoryNumber(int type) | 2508 | public LSL_Types.LSLInteger llGetInventoryNumber(int type) |
2509 | { | 2509 | { |
2510 | m_host.AddScriptLPS(1); | 2510 | m_host.AddScriptLPS(1); |
2511 | int count = 0; | 2511 | int count = 0; |
@@ -2889,7 +2889,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2889 | 2889 | ||
2890 | } | 2890 | } |
2891 | 2891 | ||
2892 | public int llGetNumberOfSides() | 2892 | public LSL_Types.LSLInteger llGetNumberOfSides() |
2893 | { | 2893 | { |
2894 | m_host.AddScriptLPS(1); | 2894 | m_host.AddScriptLPS(1); |
2895 | NotImplemented("llGetNumberOfSides"); | 2895 | NotImplemented("llGetNumberOfSides"); |
@@ -3112,7 +3112,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3112 | return tex.GetFace((uint)face).Rotation; | 3112 | return tex.GetFace((uint)face).Rotation; |
3113 | } | 3113 | } |
3114 | 3114 | ||
3115 | public int llSubStringIndex(string source, string pattern) | 3115 | public LSL_Types.LSLInteger llSubStringIndex(string source, string pattern) |
3116 | { | 3116 | { |
3117 | m_host.AddScriptLPS(1); | 3117 | m_host.AddScriptLPS(1); |
3118 | return source.IndexOf(pattern); | 3118 | return source.IndexOf(pattern); |
@@ -3145,13 +3145,13 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3145 | return src.Sort(stride, ascending); | 3145 | return src.Sort(stride, ascending); |
3146 | } | 3146 | } |
3147 | 3147 | ||
3148 | public int llGetListLength(LSL_Types.list src) | 3148 | public LSL_Types.LSLInteger llGetListLength(LSL_Types.list src) |
3149 | { | 3149 | { |
3150 | m_host.AddScriptLPS(1); | 3150 | m_host.AddScriptLPS(1); |
3151 | return src.Length; | 3151 | return src.Length; |
3152 | } | 3152 | } |
3153 | 3153 | ||
3154 | public int llList2Integer(LSL_Types.list src, int index) | 3154 | public LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index) |
3155 | { | 3155 | { |
3156 | m_host.AddScriptLPS(1); | 3156 | m_host.AddScriptLPS(1); |
3157 | if (index < 0) | 3157 | if (index < 0) |
@@ -3288,7 +3288,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3288 | return src.DeleteSublist(end, start); | 3288 | return src.DeleteSublist(end, start); |
3289 | } | 3289 | } |
3290 | 3290 | ||
3291 | public int llGetListEntryType(LSL_Types.list src, int index) | 3291 | public LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index) |
3292 | { | 3292 | { |
3293 | m_host.AddScriptLPS(1); | 3293 | m_host.AddScriptLPS(1); |
3294 | if (index < 0) | 3294 | if (index < 0) |
@@ -3628,7 +3628,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3628 | /// in src. | 3628 | /// in src. |
3629 | /// </summary> | 3629 | /// </summary> |
3630 | 3630 | ||
3631 | public int llListFindList(LSL_Types.list src, LSL_Types.list test) | 3631 | public LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test) |
3632 | { | 3632 | { |
3633 | 3633 | ||
3634 | int index = -1; | 3634 | int index = -1; |
@@ -3681,14 +3681,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3681 | return result; | 3681 | return result; |
3682 | } | 3682 | } |
3683 | 3683 | ||
3684 | public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) | 3684 | public LSL_Types.LSLInteger llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) |
3685 | { | 3685 | { |
3686 | m_host.AddScriptLPS(1); | 3686 | m_host.AddScriptLPS(1); |
3687 | NotImplemented("llEdgeOfWorld"); | 3687 | NotImplemented("llEdgeOfWorld"); |
3688 | return 0; | 3688 | return 0; |
3689 | } | 3689 | } |
3690 | 3690 | ||
3691 | public int llGetAgentInfo(string id) | 3691 | public LSL_Types.LSLInteger llGetAgentInfo(string id) |
3692 | { | 3692 | { |
3693 | m_host.AddScriptLPS(1); | 3693 | m_host.AddScriptLPS(1); |
3694 | NotImplemented("llGetAgentInfo"); | 3694 | NotImplemented("llGetAgentInfo"); |
@@ -3818,7 +3818,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3818 | return ret; | 3818 | return ret; |
3819 | } | 3819 | } |
3820 | 3820 | ||
3821 | public int llOverMyLand(string id) | 3821 | public LSL_Types.LSLInteger llOverMyLand(string id) |
3822 | { | 3822 | { |
3823 | 3823 | ||
3824 | m_host.AddScriptLPS(1); | 3824 | m_host.AddScriptLPS(1); |
@@ -3862,7 +3862,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3862 | return new LSL_Types.Vector3(); | 3862 | return new LSL_Types.Vector3(); |
3863 | } | 3863 | } |
3864 | 3864 | ||
3865 | public int llSameGroup(string agent) | 3865 | public LSL_Types.LSLInteger llSameGroup(string agent) |
3866 | { | 3866 | { |
3867 | m_host.AddScriptLPS(1); | 3867 | m_host.AddScriptLPS(1); |
3868 | NotImplemented("llSameGroup"); | 3868 | NotImplemented("llSameGroup"); |
@@ -3933,14 +3933,14 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
3933 | return new LSL_Types.Vector3(); | 3933 | return new LSL_Types.Vector3(); |
3934 | } | 3934 | } |
3935 | 3935 | ||
3936 | public int llGetAttached() | 3936 | public LSL_Types.LSLInteger llGetAttached() |
3937 | { | 3937 | { |
3938 | m_host.AddScriptLPS(1); | 3938 | m_host.AddScriptLPS(1); |
3939 | NotImplemented("llGetAttached"); | 3939 | NotImplemented("llGetAttached"); |
3940 | return 0; | 3940 | return 0; |
3941 | } | 3941 | } |
3942 | 3942 | ||
3943 | public int llGetFreeMemory() | 3943 | public LSL_Types.LSLInteger llGetFreeMemory() |
3944 | { | 3944 | { |
3945 | m_host.AddScriptLPS(1); | 3945 | m_host.AddScriptLPS(1); |
3946 | NotImplemented("llGetFreeMemory"); | 3946 | NotImplemented("llGetFreeMemory"); |
@@ -4300,7 +4300,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4300 | return ret; | 4300 | return ret; |
4301 | } | 4301 | } |
4302 | 4302 | ||
4303 | public int llScriptDanger(LSL_Types.Vector3 pos) | 4303 | public LSL_Types.LSLInteger llScriptDanger(LSL_Types.Vector3 pos) |
4304 | { | 4304 | { |
4305 | m_host.AddScriptLPS(1); | 4305 | m_host.AddScriptLPS(1); |
4306 | bool result = World.scriptDanger(m_host.LocalId, new LLVector3((float)pos.x, (float)pos.y, (float)pos.z)); | 4306 | bool result = World.scriptDanger(m_host.LocalId, new LLVector3((float)pos.x, (float)pos.y, (float)pos.z)); |
@@ -4386,7 +4386,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4386 | 4386 | ||
4387 | } | 4387 | } |
4388 | 4388 | ||
4389 | public int llGetScriptState(string name) | 4389 | public LSL_Types.LSLInteger llGetScriptState(string name) |
4390 | { | 4390 | { |
4391 | 4391 | ||
4392 | LLUUID item; | 4392 | LLUUID item; |
@@ -4805,7 +4805,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
4805 | } | 4805 | } |
4806 | } | 4806 | } |
4807 | 4807 | ||
4808 | public int llGetNumberOfPrims() | 4808 | public LSL_Types.LSLInteger llGetNumberOfPrims() |
4809 | { | 4809 | { |
4810 | m_host.AddScriptLPS(1); | 4810 | m_host.AddScriptLPS(1); |
4811 | return m_host.ParentGroup.PrimCount; | 4811 | return m_host.ParentGroup.PrimCount; |
@@ -5201,7 +5201,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5201 | // </para> | 5201 | // </para> |
5202 | // </remarks> | 5202 | // </remarks> |
5203 | 5203 | ||
5204 | public int llBase64ToInteger(string str) | 5204 | public LSL_Types.LSLInteger llBase64ToInteger(string str) |
5205 | { | 5205 | { |
5206 | 5206 | ||
5207 | int number = 0; | 5207 | int number = 0; |
@@ -5463,7 +5463,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5463 | NotImplemented("llRezAtRoot"); | 5463 | NotImplemented("llRezAtRoot"); |
5464 | } | 5464 | } |
5465 | 5465 | ||
5466 | public int llGetObjectPermMask(int mask) | 5466 | public LSL_Types.LSLInteger llGetObjectPermMask(int mask) |
5467 | { | 5467 | { |
5468 | m_host.AddScriptLPS(1); | 5468 | m_host.AddScriptLPS(1); |
5469 | 5469 | ||
@@ -5527,7 +5527,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5527 | } | 5527 | } |
5528 | } | 5528 | } |
5529 | 5529 | ||
5530 | public int llGetInventoryPermMask(string item, int mask) | 5530 | public LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask) |
5531 | { | 5531 | { |
5532 | m_host.AddScriptLPS(1); | 5532 | m_host.AddScriptLPS(1); |
5533 | foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory) | 5533 | foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory) |
@@ -5711,7 +5711,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5711 | NotImplemented("llParcelMediaQuery"); | 5711 | NotImplemented("llParcelMediaQuery"); |
5712 | } | 5712 | } |
5713 | 5713 | ||
5714 | public int llModPow(int a, int b, int c) | 5714 | public LSL_Types.LSLInteger llModPow(int a, int b, int c) |
5715 | { | 5715 | { |
5716 | m_host.AddScriptLPS(1); | 5716 | m_host.AddScriptLPS(1); |
5717 | Int64 tmp = 0; | 5717 | Int64 tmp = 0; |
@@ -5719,7 +5719,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5719 | return Convert.ToInt32(tmp); | 5719 | return Convert.ToInt32(tmp); |
5720 | } | 5720 | } |
5721 | 5721 | ||
5722 | public int llGetInventoryType(string name) | 5722 | public LSL_Types.LSLInteger llGetInventoryType(string name) |
5723 | { | 5723 | { |
5724 | m_host.AddScriptLPS(1); | 5724 | m_host.AddScriptLPS(1); |
5725 | foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory) | 5725 | foreach (KeyValuePair<LLUUID, TaskInventoryItem> inv in m_host.TaskInventory) |
@@ -5911,19 +5911,19 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
5911 | } | 5911 | } |
5912 | } | 5912 | } |
5913 | 5913 | ||
5914 | public int llGetUnixTime() | 5914 | public LSL_Types.LSLInteger llGetUnixTime() |
5915 | { | 5915 | { |
5916 | m_host.AddScriptLPS(1); | 5916 | m_host.AddScriptLPS(1); |
5917 | return Util.UnixTimeSinceEpoch(); | 5917 | return Util.UnixTimeSinceEpoch(); |
5918 | } | 5918 | } |
5919 | 5919 | ||
5920 | public int llGetParcelFlags(LSL_Types.Vector3 pos) | 5920 | public LSL_Types.LSLInteger llGetParcelFlags(LSL_Types.Vector3 pos) |
5921 | { | 5921 | { |
5922 | m_host.AddScriptLPS(1); | 5922 | m_host.AddScriptLPS(1); |
5923 | return (int)World.LandChannel.GetLandObject((float)pos.x, (float)pos.y).landData.landFlags; | 5923 | return (int)World.LandChannel.GetLandObject((float)pos.x, (float)pos.y).landData.landFlags; |
5924 | } | 5924 | } |
5925 | 5925 | ||
5926 | public int llGetRegionFlags() | 5926 | public LSL_Types.LSLInteger llGetRegionFlags() |
5927 | { | 5927 | { |
5928 | m_host.AddScriptLPS(1); | 5928 | m_host.AddScriptLPS(1); |
5929 | return (int)World.RegionInfo.EstateSettings.regionFlags; | 5929 | return (int)World.RegionInfo.EstateSettings.regionFlags; |
@@ -6003,7 +6003,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6003 | } | 6003 | } |
6004 | } | 6004 | } |
6005 | 6005 | ||
6006 | public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) | 6006 | public LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) |
6007 | { | 6007 | { |
6008 | m_host.AddScriptLPS(1); | 6008 | m_host.AddScriptLPS(1); |
6009 | 6009 | ||
@@ -6082,7 +6082,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6082 | return ret; | 6082 | return ret; |
6083 | } | 6083 | } |
6084 | 6084 | ||
6085 | public int llGetObjectPrimCount(string object_id) | 6085 | public LSL_Types.LSLInteger llGetObjectPrimCount(string object_id) |
6086 | { | 6086 | { |
6087 | m_host.AddScriptLPS(1); | 6087 | m_host.AddScriptLPS(1); |
6088 | SceneObjectPart part = World.GetSceneObjectPart(new LLUUID(object_id)); | 6088 | SceneObjectPart part = World.GetSceneObjectPart(new LLUUID(object_id)); |
@@ -6096,7 +6096,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
6096 | } | 6096 | } |
6097 | } | 6097 | } |
6098 | 6098 | ||
6099 | public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) | 6099 | public LSL_Types.LSLInteger llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) |
6100 | { | 6100 | { |
6101 | m_host.AddScriptLPS(1); | 6101 | m_host.AddScriptLPS(1); |
6102 | // Alondria: This currently just is utilizing the normal grid's 0.22 prims/m2 calculation | 6102 | // Alondria: This currently just is utilizing the normal grid's 0.22 prims/m2 calculation |
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs index f970878..57d0de1 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | |||
@@ -43,12 +43,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
43 | double llAtan2(double x, double y); | 43 | double llAtan2(double x, double y); |
44 | double llSqrt(double f); | 44 | double llSqrt(double f); |
45 | double llPow(double fbase, double fexponent); | 45 | double llPow(double fbase, double fexponent); |
46 | int llAbs(int i); | 46 | LSL_Types.LSLInteger llAbs(int i); |
47 | double llFabs(double f); | 47 | double llFabs(double f); |
48 | double llFrand(double mag); | 48 | double llFrand(double mag); |
49 | int llFloor(double f); | 49 | LSL_Types.LSLInteger llFloor(double f); |
50 | int llCeil(double f); | 50 | LSL_Types.LSLInteger llCeil(double f); |
51 | int llRound(double f); | 51 | LSL_Types.LSLInteger llRound(double f); |
52 | double llVecMag(LSL_Types.Vector3 v); | 52 | double llVecMag(LSL_Types.Vector3 v); |
53 | LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v); | 53 | LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v); |
54 | double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b); | 54 | double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b); |
@@ -64,7 +64,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
64 | void llSay(int channelID, string text); | 64 | void llSay(int channelID, string text); |
65 | void llShout(int channelID, string text); | 65 | void llShout(int channelID, string text); |
66 | void llRegionSay(int channelID, string text); | 66 | void llRegionSay(int channelID, string text); |
67 | int llListen(int channelID, string name, string ID, string msg); | 67 | LSL_Types.LSLInteger llListen(int channelID, string name, string ID, string msg); |
68 | void llListenControl(int number, int active); | 68 | void llListenControl(int number, int active); |
69 | void llListenRemove(int number); | 69 | void llListenRemove(int number); |
70 | void llSensor(string name, string id, int type, double range, double arc); | 70 | void llSensor(string name, string id, int type, double range, double arc); |
@@ -73,19 +73,19 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
73 | string llDetectedName(int number); | 73 | string llDetectedName(int number); |
74 | string llDetectedKey(int number); | 74 | string llDetectedKey(int number); |
75 | string llDetectedOwner(int number); | 75 | string llDetectedOwner(int number); |
76 | int llDetectedType(int number); | 76 | LSL_Types.LSLInteger llDetectedType(int number); |
77 | LSL_Types.Vector3 llDetectedPos(int number); | 77 | LSL_Types.Vector3 llDetectedPos(int number); |
78 | LSL_Types.Vector3 llDetectedVel(int number); | 78 | LSL_Types.Vector3 llDetectedVel(int number); |
79 | LSL_Types.Vector3 llDetectedGrab(int number); | 79 | LSL_Types.Vector3 llDetectedGrab(int number); |
80 | LSL_Types.Quaternion llDetectedRot(int number); | 80 | LSL_Types.Quaternion llDetectedRot(int number); |
81 | int llDetectedGroup(int number); | 81 | LSL_Types.LSLInteger llDetectedGroup(int number); |
82 | int llDetectedLinkNumber(int number); | 82 | LSL_Types.LSLInteger llDetectedLinkNumber(int number); |
83 | void llDie(); | 83 | void llDie(); |
84 | double llGround(LSL_Types.Vector3 offset); | 84 | double llGround(LSL_Types.Vector3 offset); |
85 | double llCloud(LSL_Types.Vector3 offset); | 85 | double llCloud(LSL_Types.Vector3 offset); |
86 | LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset); | 86 | LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset); |
87 | void llSetStatus(int status, int value); | 87 | void llSetStatus(int status, int value); |
88 | int llGetStatus(int status); | 88 | LSL_Types.LSLInteger llGetStatus(int status); |
89 | void llSetScale(LSL_Types.Vector3 scale); | 89 | void llSetScale(LSL_Types.Vector3 scale); |
90 | LSL_Types.Vector3 llGetScale(); | 90 | LSL_Types.Vector3 llGetScale(); |
91 | void llSetColor(LSL_Types.Vector3 color, int face); | 91 | void llSetColor(LSL_Types.Vector3 color, int face); |
@@ -114,11 +114,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
114 | //wiki: vector llGetForce() | 114 | //wiki: vector llGetForce() |
115 | LSL_Types.Vector3 llGetForce(); | 115 | LSL_Types.Vector3 llGetForce(); |
116 | //wiki: integer llTarget(vector position, double range) | 116 | //wiki: integer llTarget(vector position, double range) |
117 | int llTarget(LSL_Types.Vector3 position, double range); | 117 | LSL_Types.LSLInteger llTarget(LSL_Types.Vector3 position, double range); |
118 | //wiki: llTargetRemove(integer number) | 118 | //wiki: llTargetRemove(integer number) |
119 | void llTargetRemove(int number); | 119 | void llTargetRemove(int number); |
120 | //wiki: integer llRotTarget(rotation rot, double error) | 120 | //wiki: integer llRotTarget(rotation rot, double error) |
121 | int llRotTarget(LSL_Types.Quaternion rot, double error); | 121 | LSL_Types.LSLInteger llRotTarget(LSL_Types.Quaternion rot, double error); |
122 | //wiki: integer llRotTargetRemove(integer number) | 122 | //wiki: integer llRotTargetRemove(integer number) |
123 | void llRotTargetRemove(int number); | 123 | void llRotTargetRemove(int number); |
124 | //wiki: llMoveToTarget(vector target, double tau) | 124 | //wiki: llMoveToTarget(vector target, double tau) |
@@ -180,7 +180,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
180 | //wiki: string llToLower(string source) | 180 | //wiki: string llToLower(string source) |
181 | string llToLower(string source); | 181 | string llToLower(string source); |
182 | //wiki: integer llGiveMoney(key destination, integer amount) | 182 | //wiki: integer llGiveMoney(key destination, integer amount) |
183 | int llGiveMoney(string destination, int amount); | 183 | LSL_Types.LSLInteger llGiveMoney(string destination, int amount); |
184 | //wiki: (deprecated) | 184 | //wiki: (deprecated) |
185 | void llMakeExplosion(); | 185 | void llMakeExplosion(); |
186 | //wiki: (deprecated) | 186 | //wiki: (deprecated) |
@@ -238,7 +238,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
238 | //wiki: llRotLookAt(rotation target, double strength, double damping) | 238 | //wiki: llRotLookAt(rotation target, double strength, double damping) |
239 | void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping); | 239 | void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping); |
240 | //wiki: integer llStringLength(string str) | 240 | //wiki: integer llStringLength(string str) |
241 | int llStringLength(string str); | 241 | LSL_Types.LSLInteger llStringLength(string str); |
242 | //wiki: llStartAnimation(string anim) | 242 | //wiki: llStartAnimation(string anim) |
243 | void llStartAnimation(string anim); | 243 | void llStartAnimation(string anim); |
244 | //wiki: llStopAnimation(string anim) | 244 | //wiki: llStopAnimation(string anim) |
@@ -250,7 +250,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
250 | //wiki: llTargetOmega(vector axis, double spinrate, double gain) | 250 | //wiki: llTargetOmega(vector axis, double spinrate, double gain) |
251 | void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain); | 251 | void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain); |
252 | //wiki: integer llGetStartParameter() | 252 | //wiki: integer llGetStartParameter() |
253 | int llGetStartParameter(); | 253 | LSL_Types.LSLInteger llGetStartParameter(); |
254 | //wiki: llGodLikeRezObject(key inventory, vector pos) | 254 | //wiki: llGodLikeRezObject(key inventory, vector pos) |
255 | void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos); | 255 | void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos); |
256 | //wiki: llRequestPermissions(key agent, integer perm) | 256 | //wiki: llRequestPermissions(key agent, integer perm) |
@@ -258,9 +258,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
258 | //wiki: key llGetPermissionsKey() | 258 | //wiki: key llGetPermissionsKey() |
259 | string llGetPermissionsKey(); | 259 | string llGetPermissionsKey(); |
260 | //wiki: integer llGetPermissions() | 260 | //wiki: integer llGetPermissions() |
261 | int llGetPermissions(); | 261 | LSL_Types.LSLInteger llGetPermissions(); |
262 | //wiki integer llGetLinkNumber() | 262 | //wiki integer llGetLinkNumber() |
263 | int llGetLinkNumber(); | 263 | LSL_Types.LSLInteger llGetLinkNumber(); |
264 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) | 264 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) |
265 | void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face); | 265 | void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face); |
266 | //wiki: llCreateLink(key target, integer parent) | 266 | //wiki: llCreateLink(key target, integer parent) |
@@ -274,7 +274,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
274 | //wiki: llGetLinkName(integer linknum) | 274 | //wiki: llGetLinkName(integer linknum) |
275 | string llGetLinkName(int linknum); | 275 | string llGetLinkName(int linknum); |
276 | //wiki: integer llGetInventoryNumber(integer type) | 276 | //wiki: integer llGetInventoryNumber(integer type) |
277 | int llGetInventoryNumber(int type); | 277 | LSL_Types.LSLInteger llGetInventoryNumber(int type); |
278 | //wiki: string llGetInventoryName(integer type, integer number) | 278 | //wiki: string llGetInventoryName(integer type, integer number) |
279 | string llGetInventoryName(int type, int number); | 279 | string llGetInventoryName(int type, int number); |
280 | //wiki: llSetScriptState(string name, integer run) | 280 | //wiki: llSetScriptState(string name, integer run) |
@@ -318,7 +318,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
318 | //wiki: string llGetScriptName() | 318 | //wiki: string llGetScriptName() |
319 | string llGetScriptName(); | 319 | string llGetScriptName(); |
320 | //wiki: integer llGetNumberOfSides() | 320 | //wiki: integer llGetNumberOfSides() |
321 | int llGetNumberOfSides(); | 321 | LSL_Types.LSLInteger llGetNumberOfSides(); |
322 | //wiki: rotation llAxisAngle2Rot(vector axis, double angle) | 322 | //wiki: rotation llAxisAngle2Rot(vector axis, double angle) |
323 | LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle); | 323 | LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle); |
324 | //wiki: vector llRot2Axis(rotation rot) | 324 | //wiki: vector llRot2Axis(rotation rot) |
@@ -344,7 +344,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
344 | //wiki: double llGetTextureRot(integer side) | 344 | //wiki: double llGetTextureRot(integer side) |
345 | double llGetTextureRot(int side); | 345 | double llGetTextureRot(int side); |
346 | //wiki: integer llSubStringIndex(string source, string pattern) | 346 | //wiki: integer llSubStringIndex(string source, string pattern) |
347 | int llSubStringIndex(string source, string pattern); | 347 | LSL_Types.LSLInteger llSubStringIndex(string source, string pattern); |
348 | //wiki: key llGetOwnerKey(key id) | 348 | //wiki: key llGetOwnerKey(key id) |
349 | string llGetOwnerKey(string id); | 349 | string llGetOwnerKey(string id); |
350 | //wiki: vector llGetCenterOfMass() | 350 | //wiki: vector llGetCenterOfMass() |
@@ -352,9 +352,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
352 | //wiki: list llListSort(list src, integer stride, integer ascending) | 352 | //wiki: list llListSort(list src, integer stride, integer ascending) |
353 | LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending); | 353 | LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending); |
354 | //integer llGetListLength(list src) | 354 | //integer llGetListLength(list src) |
355 | int llGetListLength(LSL_Types.list src); | 355 | LSL_Types.LSLInteger llGetListLength(LSL_Types.list src); |
356 | //wiki: integer llList2Integer(list src, integer index) | 356 | //wiki: integer llList2Integer(list src, integer index) |
357 | int llList2Integer(LSL_Types.list src, int index); | 357 | LSL_Types.LSLInteger llList2Integer(LSL_Types.list src, int index); |
358 | //wiki: double llList2double(list src, integer index) | 358 | //wiki: double llList2double(list src, integer index) |
359 | double llList2Float(LSL_Types.list src, int index); | 359 | double llList2Float(LSL_Types.list src, int index); |
360 | double osList2Double(LSL_Types.list src, int index); | 360 | double osList2Double(LSL_Types.list src, int index); |
@@ -371,7 +371,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
371 | //wiki: llDeleteSubList(list src, integer start, integer end) | 371 | //wiki: llDeleteSubList(list src, integer start, integer end) |
372 | LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end); | 372 | LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end); |
373 | //wiki: integer llGetListEntryType( list src, integer index ) | 373 | //wiki: integer llGetListEntryType( list src, integer index ) |
374 | int llGetListEntryType(LSL_Types.list src, int index); | 374 | LSL_Types.LSLInteger llGetListEntryType(LSL_Types.list src, int index); |
375 | //wiki: string llList2CSV( list src ) | 375 | //wiki: string llList2CSV( list src ) |
376 | string llList2CSV(LSL_Types.list src); | 376 | string llList2CSV(LSL_Types.list src); |
377 | //wiki: list llCSV2List( string src ) | 377 | //wiki: list llCSV2List( string src ) |
@@ -385,7 +385,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
385 | //wiki: list llListInsertList( list dest, list src, integer start ) | 385 | //wiki: list llListInsertList( list dest, list src, integer start ) |
386 | LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start); | 386 | LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start); |
387 | //wiki: integer llListFindList( list src, list test ) | 387 | //wiki: integer llListFindList( list src, list test ) |
388 | int llListFindList(LSL_Types.list src, LSL_Types.list test); | 388 | LSL_Types.LSLInteger llListFindList(LSL_Types.list src, LSL_Types.list test); |
389 | //wiki: string llGetObjectName() | 389 | //wiki: string llGetObjectName() |
390 | string llGetObjectName(); | 390 | string llGetObjectName(); |
391 | //wiki: llSetObjectName(string name) | 391 | //wiki: llSetObjectName(string name) |
@@ -393,9 +393,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
393 | //wiki: string llGetDate() | 393 | //wiki: string llGetDate() |
394 | string llGetDate(); | 394 | string llGetDate(); |
395 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) | 395 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) |
396 | int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir); | 396 | LSL_Types.LSLInteger llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir); |
397 | //wiki: integer llGetAgentInfo(key id) | 397 | //wiki: integer llGetAgentInfo(key id) |
398 | int llGetAgentInfo(string id); | 398 | LSL_Types.LSLInteger llGetAgentInfo(string id); |
399 | //wiki: llAdjustSoundVolume(double volume) | 399 | //wiki: llAdjustSoundVolume(double volume) |
400 | void llAdjustSoundVolume(double volume); | 400 | void llAdjustSoundVolume(double volume); |
401 | //wiki: llSetSoundQueueing(integer queue) | 401 | //wiki: llSetSoundQueueing(integer queue) |
@@ -414,7 +414,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
414 | void llEjectFromLand(string pest); | 414 | void llEjectFromLand(string pest); |
415 | LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers); | 415 | LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers); |
416 | //wiki: integer llOverMyLand(key id) | 416 | //wiki: integer llOverMyLand(key id) |
417 | int llOverMyLand(string id); | 417 | LSL_Types.LSLInteger llOverMyLand(string id); |
418 | //wiki: key llGetLandOwnerAt(vector pos) | 418 | //wiki: key llGetLandOwnerAt(vector pos) |
419 | string llGetLandOwnerAt(LSL_Types.Vector3 pos); | 419 | string llGetLandOwnerAt(LSL_Types.Vector3 pos); |
420 | //wiki: key llGetNotecardLine(string name, integer line) | 420 | //wiki: key llGetNotecardLine(string name, integer line) |
@@ -422,7 +422,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
422 | //wiki: vector llGetAgentSize(key id) | 422 | //wiki: vector llGetAgentSize(key id) |
423 | LSL_Types.Vector3 llGetAgentSize(string id); | 423 | LSL_Types.Vector3 llGetAgentSize(string id); |
424 | //wiki: integer llSameGroup(key agent) | 424 | //wiki: integer llSameGroup(key agent) |
425 | int llSameGroup(string agent); | 425 | LSL_Types.LSLInteger llSameGroup(string agent); |
426 | //wiki: llUnSit(key id) | 426 | //wiki: llUnSit(key id) |
427 | void llUnSit(string id); | 427 | void llUnSit(string id); |
428 | //wiki: vector llGroundSlope(vector offset) | 428 | //wiki: vector llGroundSlope(vector offset) |
@@ -432,9 +432,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
432 | //wiki: vector llGroundContour(vector offset) | 432 | //wiki: vector llGroundContour(vector offset) |
433 | LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset); | 433 | LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset); |
434 | //wiki: integer llGetAttached() | 434 | //wiki: integer llGetAttached() |
435 | int llGetAttached(); | 435 | LSL_Types.LSLInteger llGetAttached(); |
436 | //wiki: integer llGetFreeMemory() | 436 | //wiki: integer llGetFreeMemory() |
437 | int llGetFreeMemory(); | 437 | LSL_Types.LSLInteger llGetFreeMemory(); |
438 | //wiki: string llGetRegionName() | 438 | //wiki: string llGetRegionName() |
439 | string llGetRegionName(); | 439 | string llGetRegionName(); |
440 | //wiki: double llGetRegionTimeDilation() | 440 | //wiki: double llGetRegionTimeDilation() |
@@ -477,7 +477,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
477 | // | 477 | // |
478 | string llDumpList2String(LSL_Types.list src, string seperator); | 478 | string llDumpList2String(LSL_Types.list src, string seperator); |
479 | //wiki: integer llScriptDanger(vector pos) | 479 | //wiki: integer llScriptDanger(vector pos) |
480 | int llScriptDanger(LSL_Types.Vector3 pos); | 480 | LSL_Types.LSLInteger llScriptDanger(LSL_Types.Vector3 pos); |
481 | //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) | 481 | //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) |
482 | void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel); | 482 | void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel); |
483 | //wiki: llVolumeDetect(integer detect) | 483 | //wiki: llVolumeDetect(integer detect) |
@@ -485,7 +485,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
485 | //wiki: llResetOtherScript(string name) | 485 | //wiki: llResetOtherScript(string name) |
486 | void llResetOtherScript(string name); | 486 | void llResetOtherScript(string name); |
487 | //wiki: integer llGetScriptState(string name) | 487 | //wiki: integer llGetScriptState(string name) |
488 | int llGetScriptState(string name); | 488 | LSL_Types.LSLInteger llGetScriptState(string name); |
489 | //wiki: (deprecated) | 489 | //wiki: (deprecated) |
490 | void llRemoteLoadScript(); | 490 | void llRemoteLoadScript(); |
491 | //wiki: llSetRemoteScriptAccessPin(integer pin) | 491 | //wiki: llSetRemoteScriptAccessPin(integer pin) |
@@ -537,7 +537,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
537 | //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face) | 537 | //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face) |
538 | void llSetLinkAlpha(int linknumber, double alpha, int face); | 538 | void llSetLinkAlpha(int linknumber, double alpha, int face); |
539 | //wiki: integer llGetNumberOfPrims() | 539 | //wiki: integer llGetNumberOfPrims() |
540 | int llGetNumberOfPrims(); | 540 | LSL_Types.LSLInteger llGetNumberOfPrims(); |
541 | //wiki: key llGetNumberOfNotecardLines(string name) | 541 | //wiki: key llGetNumberOfNotecardLines(string name) |
542 | string llGetNumberOfNotecardLines(string name); | 542 | string llGetNumberOfNotecardLines(string name); |
543 | //wiki: list llGetBoundingBox( key object ) | 543 | //wiki: list llGetBoundingBox( key object ) |
@@ -549,7 +549,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
549 | //wiki: string llIntegerToBase64(integer number) | 549 | //wiki: string llIntegerToBase64(integer number) |
550 | string llIntegerToBase64(int number); | 550 | string llIntegerToBase64(int number); |
551 | //wiki integer llBase64ToInteger(string str) | 551 | //wiki integer llBase64ToInteger(string str) |
552 | int llBase64ToInteger(string str); | 552 | LSL_Types.LSLInteger llBase64ToInteger(string str); |
553 | //wiki: double llGetGMTclock() | 553 | //wiki: double llGetGMTclock() |
554 | double llGetGMTclock(); | 554 | double llGetGMTclock(); |
555 | //wiki: string llGetSimulatorHostname() | 555 | //wiki: string llGetSimulatorHostname() |
@@ -563,11 +563,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
563 | LSL_Types.Quaternion rot, int param); | 563 | LSL_Types.Quaternion rot, int param); |
564 | 564 | ||
565 | //wiki: integer llGetObjectPermMask(integer mask) | 565 | //wiki: integer llGetObjectPermMask(integer mask) |
566 | int llGetObjectPermMask(int mask); | 566 | LSL_Types.LSLInteger llGetObjectPermMask(int mask); |
567 | //wiki: llSetObjectPermMask(integer mask, integer value) | 567 | //wiki: llSetObjectPermMask(integer mask, integer value) |
568 | void llSetObjectPermMask(int mask, int value); | 568 | void llSetObjectPermMask(int mask, int value); |
569 | //wiki integer llGetInventoryPermMask(string item, integer mask) | 569 | //wiki integer llGetInventoryPermMask(string item, integer mask) |
570 | int llGetInventoryPermMask(string item, int mask); | 570 | LSL_Types.LSLInteger llGetInventoryPermMask(string item, int mask); |
571 | //wiki: llSetInventoryPermMask(string item, integer mask, integer value) | 571 | //wiki: llSetInventoryPermMask(string item, integer mask, integer value) |
572 | void llSetInventoryPermMask(string item, int mask, int value); | 572 | void llSetInventoryPermMask(string item, int mask, int value); |
573 | //wiki: key llGetInventoryCreator(string item) | 573 | //wiki: key llGetInventoryCreator(string item) |
@@ -587,9 +587,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
587 | void llParcelMediaCommandList(LSL_Types.list commandList); | 587 | void llParcelMediaCommandList(LSL_Types.list commandList); |
588 | void llParcelMediaQuery(); | 588 | void llParcelMediaQuery(); |
589 | //wiki integer llModPow(integer a, integer b, integer c) | 589 | //wiki integer llModPow(integer a, integer b, integer c) |
590 | int llModPow(int a, int b, int c); | 590 | LSL_Types.LSLInteger llModPow(int a, int b, int c); |
591 | //wiki: integer llGetInventoryType(string name) | 591 | //wiki: integer llGetInventoryType(string name) |
592 | int llGetInventoryType(string name); | 592 | LSL_Types.LSLInteger llGetInventoryType(string name); |
593 | //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) | 593 | //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) |
594 | void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons); | 594 | void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons); |
595 | //wiki: vector llGetCameraPos() | 595 | //wiki: vector llGetCameraPos() |
@@ -619,11 +619,11 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
619 | //wiki: double llListStatistics( integer operation, list src ) | 619 | //wiki: double llListStatistics( integer operation, list src ) |
620 | double llListStatistics(int operation, LSL_Types.list src); | 620 | double llListStatistics(int operation, LSL_Types.list src); |
621 | //wiki: integer llGetUnixTime() | 621 | //wiki: integer llGetUnixTime() |
622 | int llGetUnixTime(); | 622 | LSL_Types.LSLInteger llGetUnixTime(); |
623 | //wiki: integer llGetParcelFlags(vector pos) | 623 | //wiki: integer llGetParcelFlags(vector pos) |
624 | int llGetParcelFlags(LSL_Types.Vector3 pos); | 624 | LSL_Types.LSLInteger llGetParcelFlags(LSL_Types.Vector3 pos); |
625 | //wiki: integer llGetRegionFlags() | 625 | //wiki: integer llGetRegionFlags() |
626 | int llGetRegionFlags(); | 626 | LSL_Types.LSLInteger llGetRegionFlags(); |
627 | //wiki: string llXorBase64StringsCorrect(string str1, string str2) | 627 | //wiki: string llXorBase64StringsCorrect(string str1, string str2) |
628 | string llXorBase64StringsCorrect(string str1, string str2); | 628 | string llXorBase64StringsCorrect(string str1, string str2); |
629 | string llHTTPRequest(string url, LSL_Types.list parameters, string body); | 629 | string llHTTPRequest(string url, LSL_Types.list parameters, string body); |
@@ -632,13 +632,13 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
632 | //wiki: llResetLandPassList() | 632 | //wiki: llResetLandPassList() |
633 | void llResetLandPassList(); | 633 | void llResetLandPassList(); |
634 | //wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) | 634 | //wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) |
635 | int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide); | 635 | LSL_Types.LSLInteger llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide); |
636 | //wiki: list llGetParcelPrimOwners( vector pos ) | 636 | //wiki: list llGetParcelPrimOwners( vector pos ) |
637 | LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos); | 637 | LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos); |
638 | //wiki: integer llGetObjectPrimCount(key object_id) | 638 | //wiki: integer llGetObjectPrimCount(key object_id) |
639 | int llGetObjectPrimCount(string object_id); | 639 | LSL_Types.LSLInteger llGetObjectPrimCount(string object_id); |
640 | //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) | 640 | //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) |
641 | int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide); | 641 | LSL_Types.LSLInteger llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide); |
642 | //wiki: llGetParcelDetails(vector pos, list params) | 642 | //wiki: llGetParcelDetails(vector pos, list params) |
643 | LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param); | 643 | LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param); |
644 | //wiki: llSetLinkTexture(integer linknumber, string texture, integer face ) | 644 | //wiki: llSetLinkTexture(integer linknumber, string texture, integer face ) |