diff options
author | Tedd Hansen | 2007-08-13 17:28:08 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-13 17:28:08 +0000 |
commit | 050921d7b69f857b02c71328b545af42940d06b1 (patch) | |
tree | e09506b8e5342940838644c3db0c76d6945ac32e /OpenSim | |
parent | oops , guess I should include the new files next time (diff) | |
download | opensim-SC-050921d7b69f857b02c71328b545af42940d06b1.zip opensim-SC-050921d7b69f857b02c71328b545af42940d06b1.tar.gz opensim-SC-050921d7b69f857b02c71328b545af42940d06b1.tar.bz2 opensim-SC-050921d7b69f857b02c71328b545af42940d06b1.tar.xz |
krinkec's updates to ll* interface and functions
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 242 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs | 382 |
2 files changed, 382 insertions, 242 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index 896c674..5c67ffe 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -30,7 +30,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
30 | public float llAtan2(float x, float y) { return 0; } | 30 | public float llAtan2(float x, float y) { return 0; } |
31 | public float llSqrt(float f) { return 0; } | 31 | public float llSqrt(float f) { return 0; } |
32 | public float llPow(float fbase, float fexponent) { return 0; } | 32 | public float llPow(float fbase, float fexponent) { return 0; } |
33 | public UInt32 llAbs(UInt32 i) { return 0; } | 33 | public UInt32 llAbs(Int32 i) { return 0; } |
34 | public float llFabs(float f) { return 0; } | 34 | public float llFabs(float f) { return 0; } |
35 | public float llFrand(float mag) { return 0; } | 35 | public float llFrand(float mag) { return 0; } |
36 | public UInt32 llFloor(float f) { return 0; } | 36 | public UInt32 llFloor(float f) { return 0; } |
@@ -95,131 +95,131 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
95 | public void llSetPos(Axiom.Math.Vector3 pos) { return; } | 95 | public void llSetPos(Axiom.Math.Vector3 pos) { return; } |
96 | 96 | ||
97 | 97 | ||
98 | public void llGetPos() { } | 98 | public Axiom.Math.Vector3 llGetPos() { return new Axiom.Math.Vector3(); } |
99 | public void llGetLocalPos() { } | 99 | public Axiom.Math.Vector3 llGetLocalPos() { return new Axiom.Math.Vector3(); } |
100 | public void llSetRot() { } | 100 | public void llSetRot(Axiom.Math.Quaternion rot) { } |
101 | public void llGetRot() { } | 101 | public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } |
102 | public void llGetLocalRot() { } | 102 | public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } |
103 | public void llSetForce() { } | 103 | public void llSetForce(Axiom.Math.Vector3 force, Int32 local) { } |
104 | public void llGetForce() { } | 104 | public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } |
105 | public void llTarget() { } | 105 | public Int32 llTarget(Axiom.Math.Vector3 position, float range) { return 0; } |
106 | public void llTargetRemove() { } | 106 | public void llTargetRemove(Int32 number) { } |
107 | public void llRotTarget() { } | 107 | public Int32 llRotTarget(Axiom.Math.Quaternion rot, float error) { return 0; } |
108 | public void llRotTargetRemove() { } | 108 | public void llRotTargetRemove(Int32 number) { } |
109 | public void llMoveToTarget() { } | 109 | public void llMoveToTarget(Axiom.Math.Vector3 target, float tau) { } |
110 | public void llStopMoveToTarget() { } | 110 | public void llStopMoveToTarget() { } |
111 | public void llApplyImpulse() { } | 111 | public void llApplyImpulse(Axiom.Math.Vector3 force, Int32 local) { } |
112 | public void llApplyRotationalImpulse() { } | 112 | public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, Int32 local) { } |
113 | public void llSetTorque() { } | 113 | public void llSetTorque(Axiom.Math.Vector3 torque, Int32 local) { } |
114 | public void llGetTorque() { } | 114 | public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } |
115 | public void llSetForceAndTorque() { } | 115 | public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, Int32 local) { } |
116 | public void llGetVel() { } | 116 | public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } |
117 | public void llGetAccel() { } | 117 | public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } |
118 | public void llGetOmega() { } | 118 | public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } |
119 | public void llGetTimeOfDay() { } | 119 | public float llGetTimeOfDay() { return 0; } |
120 | public void llGetWallclock() { } | 120 | public float llGetWallclock() { return 0; } |
121 | public void llGetTime() { } | 121 | public float llGetTime() { return 0; } |
122 | public void llResetTime() { } | 122 | public void llResetTime() { } |
123 | public void llGetAndResetTime() { } | 123 | public float llGetAndResetTime() { return 0; } |
124 | public void llSound() { } | 124 | public void llSound() { } |
125 | public void llPlaySound() { } | 125 | public void llPlaySound(string sound, float volume) { } |
126 | public void llLoopSound() { } | 126 | public void llLoopSound(string sound, float volume) { } |
127 | public void llLoopSoundMaster() { } | 127 | public void llLoopSoundMaster(string sound, float volume) { } |
128 | public void llLoopSoundSlave() { } | 128 | public void llLoopSoundSlave(string sound, float volume) { } |
129 | public void llPlaySoundSlave() { } | 129 | public void llPlaySoundSlave(string sound, float volume) { } |
130 | public void llTriggerSound() { } | 130 | public void llTriggerSound(string sound, float volume) { } |
131 | public void llStopSound() { } | 131 | public void llStopSound() { } |
132 | public void llPreloadSound() { } | 132 | public void llPreloadSound(string sound) { } |
133 | public void llGetSubString() { } | 133 | public void llGetSubString(string src, Int32 start, Int32 end) { } |
134 | public void llDeleteSubString() { } | 134 | public string llDeleteSubString(string src, Int32 start, Int32 end) { return ""; } |
135 | public void llInsertString() { } | 135 | public void llInsertString(string dst, Int32 position, string src) { } |
136 | public void llToUpper() { } | 136 | public string llToUpper(string source) { return ""; } |
137 | public void llToLower() { } | 137 | public string llToLower(string source) { return ""; } |
138 | public void llGiveMoney() { } | 138 | public Int32 llGiveMoney(string destination, Int32 amount) { return 0; } |
139 | public void llMakeExplosion() { } | 139 | public void llMakeExplosion() { } |
140 | public void llMakeFountain() { } | 140 | public void llMakeFountain() { } |
141 | public void llMakeSmoke() { } | 141 | public void llMakeSmoke() { } |
142 | public void llMakeFire() { } | 142 | public void llMakeFire() { } |
143 | public void llRezObject() { } | 143 | public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, Int32 param) { } |
144 | public void llLookAt() { } | 144 | public void llLookAt(Axiom.Math.Vector3 target, float strength, float damping) { } |
145 | public void llStopLookAt() { } | 145 | public void llStopLookAt() { } |
146 | public void llSetTimerEvent() { } | 146 | public void llSetTimerEvent(float sec) { } |
147 | public void llSleep() { } | 147 | public void llSleep(float sec) { } |
148 | public void llGetMass() { } | 148 | public float llGetMass() { return 0; } |
149 | public void llCollisionFilter() { } | 149 | public void llCollisionFilter(string name, string id, Int32 accept) { } |
150 | public void llTakeControls() { } | 150 | public void llTakeControls(Int32 controls, Int32 accept, Int32 pass_on) { } |
151 | public void llReleaseControls() { } | 151 | public void llReleaseControls() { } |
152 | public void llAttachToAvatar() { } | 152 | public void llAttachToAvatar(Int32 attachment) { } |
153 | public void llDetachFromAvatar() { } | 153 | public void llDetachFromAvatar() { } |
154 | public void llTakeCamera() { } | 154 | public void llTakeCamera() { } |
155 | public void llReleaseCamera() { } | 155 | public void llReleaseCamera() { } |
156 | public void llGetOwner() { } | 156 | public string llGetOwner() { return ""; } |
157 | public void llInstantMessage() { } | 157 | public void llInstantMessage(string user, string message) { } |
158 | public void llEmail() { } | 158 | public void llEmail(string address, string subject, string message) { } |
159 | public void llGetNextEmail() { } | 159 | public void llGetNextEmail(string address, string subject) { } |
160 | public void llGetKey() { } | 160 | public string llGetKey() { return ""; } |
161 | public void llSetBuoyancy() { } | 161 | public void llSetBuoyancy(float buoyancy) { } |
162 | public void llSetHoverHeight() { } | 162 | public void llSetHoverHeight(float height, Int32 water, float tau) { } |
163 | public void llStopHover() { } | 163 | public void llStopHover() { } |
164 | public void llMinEventDelay() { } | 164 | public void llMinEventDelay(float delay) { } |
165 | public void llSoundPreload() { } | 165 | public void llSoundPreload() { } |
166 | public void llRotLookAt() { } | 166 | public void llRotLookAt(Axiom.Math.Quaternion target, float strength, float damping) { } |
167 | public void llStringLength() { } | 167 | public Int32 llStringLength(string str) { return 0; } |
168 | public void llStartAnimation() { } | 168 | public void llStartAnimation(string anim) { } |
169 | public void llStopAnimation() { } | 169 | public void llStopAnimation(string anim) { } |
170 | public void llPointAt() { } | 170 | public void llPointAt() { } |
171 | public void llStopPointAt() { } | 171 | public void llStopPointAt() { } |
172 | public void llTargetOmega() { } | 172 | public void llTargetOmega(Axiom.Math.Vector3 axis, float spinrate, float gain) { } |
173 | public void llGetStartParameter() { } | 173 | public Int32 llGetStartParameter() { return 0; } |
174 | public void llGodLikeRezObject() { } | 174 | public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } |
175 | public void llRequestPermissions() { } | 175 | public void llRequestPermissions(string agent, Int32 perm) { } |
176 | public void llGetPermissionsKey() { } | 176 | public string llGetPermissionsKey() { return ""; } |
177 | public void llGetPermissions() { } | 177 | public Int32 llGetPermissions() { return 0; } |
178 | public void llGetLinkNumber() { } | 178 | public Int32 llGetLinkNumber() { return 0; } |
179 | public void llSetLinkColor() { } | 179 | public void llSetLinkColor(Int32 linknumber, Axiom.Math.Vector3 color, Int32 face) { } |
180 | public void llCreateLink() { } | 180 | public void llCreateLink(string target, Int32 parent) { } |
181 | public void llBreakLink() { } | 181 | public void llBreakLink(Int32 linknum) { } |
182 | public void llBreakAllLinks() { } | 182 | public void llBreakAllLinks() { } |
183 | public void llGetLinkKey() { } | 183 | public string llGetLinkKey(Int32 linknum) { return ""; } |
184 | public void llGetLinkName() { } | 184 | public void llGetLinkName(Int32 linknum) { } |
185 | public void llGetInventoryNumber() { } | 185 | public Int32 llGetInventoryNumber(Int32 type) { return 0; } |
186 | public void llGetInventoryName() { } | 186 | public string llGetInventoryName(Int32 type, Int32 number) { return ""; } |
187 | public void llSetScriptState() { } | 187 | public void llSetScriptState(string name, Int32 run) { } |
188 | public void llGetEnergy() { } | 188 | public float llGetEnergy() { return 0; } |
189 | public void llGiveInventory() { } | 189 | public void llGiveInventory(string destination, string inventory) { } |
190 | public void llRemoveInventory() { } | 190 | public void llRemoveInventory(string item) { } |
191 | public void llSetText() { } | 191 | public void llSetText(string text, Axiom.Math.Vector3 color, float alpha) { } |
192 | public void llWater() { } | 192 | public float llWater(Axiom.Math.Vector3 offset) { return 0; } |
193 | public void llPassTouches() { } | 193 | public void llPassTouches(Int32 pass) { } |
194 | public void llRequestAgentData() { } | 194 | public string llRequestAgentData(string id, Int32 data) { return ""; } |
195 | public void llRequestInventoryData() { } | 195 | public string llRequestInventoryData(string name) { return ""; } |
196 | public void llSetDamage() { } | 196 | public void llSetDamage(float damage) { } |
197 | public void llTeleportAgentHome() { } | 197 | public void llTeleportAgentHome(string agent) { } |
198 | public void llModifyLand() { } | 198 | public void llModifyLand(Int32 action, Int32 brush) { } |
199 | public void llCollisionSound() { } | 199 | public void llCollisionSound(string impact_sound, float impact_volume) { } |
200 | public void llCollisionSprite() { } | 200 | public void llCollisionSprite(string impact_sprite) { } |
201 | public void llGetAnimation() { } | 201 | public string llGetAnimation(string id) { return ""; } |
202 | public void llResetScript() { } | 202 | public void llResetScript() { } |
203 | public void llMessageLinked() { } | 203 | public void llMessageLinked(Int32 linknum, Int32 num, string str, string id) { } |
204 | public void llPushObject() { } | 204 | public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, Int32 local) { } |
205 | public void llPassCollisions() { } | 205 | public void llPassCollisions(Int32 pass) { } |
206 | public void llGetScriptName() { } | 206 | public string llGetScriptName() { return ""; } |
207 | public void llGetNumberOfSides() { } | 207 | public Int32 llGetNumberOfSides() { return 0; } |
208 | public void llAxisAngle2Rot() { } | 208 | public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, float angle) { return new Axiom.Math.Quaternion(); } |
209 | public void llRot2Axis() { } | 209 | public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } |
210 | public void llRot2Angle() { } | 210 | public void llRot2Angle() { } |
211 | public void llAcos() { } | 211 | public float llAcos(float val) { return 0; } |
212 | public void llAsin() { } | 212 | public float llAsin(float val) { return 0; } |
213 | public void llAngleBetween() { } | 213 | public float llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } |
214 | public void llGetInventoryKey() { } | 214 | public string llGetInventoryKey(string name) { return ""; } |
215 | public void llAllowInventoryDrop() { } | 215 | public void llAllowInventoryDrop(Int32 add) { } |
216 | public void llGetSunDirection() { } | 216 | public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } |
217 | public void llGetTextureOffset() { } | 217 | public Axiom.Math.Vector3 llGetTextureOffset(Int32 face) { return new Axiom.Math.Vector3(); } |
218 | public void llGetTextureScale() { } | 218 | public Axiom.Math.Vector3 llGetTextureScale(Int32 side) { return new Axiom.Math.Vector3(); } |
219 | public void llGetTextureRot() { } | 219 | public float llGetTextureRot(Int32 side) { return 0; } |
220 | public void llSubStringIndex() { } | 220 | public Int32 llSubStringIndex(string source, string pattern) { return 0; } |
221 | public void llGetOwnerKey() { } | 221 | public string llGetOwnerKey(string id) { return ""; } |
222 | public void llGetCenterOfMass() { } | 222 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } |
223 | public void llListSort() { } | 223 | public void llListSort() { } |
224 | public void llGetListLength() { } | 224 | public void llGetListLength() { } |
225 | public void llList2Integer() { } | 225 | public void llList2Integer() { } |
@@ -238,22 +238,22 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
238 | public void llGetRegionCorner() { } | 238 | public void llGetRegionCorner() { } |
239 | public void llListInsertList() { } | 239 | public void llListInsertList() { } |
240 | public void llListFindList() { } | 240 | public void llListFindList() { } |
241 | public void llGetObjectName() { } | 241 | public string llGetObjectName() { return ""; } |
242 | public void llSetObjectName() { } | 242 | public void llSetObjectName(string name) { } |
243 | public void llGetDate() { } | 243 | public string llGetDate() { return ""; } |
244 | public void llEdgeOfWorld() { } | 244 | public Int32 llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } |
245 | public void llGetAgentInfo() { } | 245 | public Int32 llGetAgentInfo(string id) { return 0; } |
246 | public void llAdjustSoundVolume() { } | 246 | public void llAdjustSoundVolume(float volume) { } |
247 | public void llSetSoundQueueing() { } | 247 | public void llSetSoundQueueing(Int32 queue) { } |
248 | public void llSetSoundRadius() { } | 248 | public void llSetSoundRadius(float radius) { } |
249 | public void llKey2Name() { } | 249 | public string llKey2Name(string id) { return ""; } |
250 | public void llSetTextureAnim() { } | 250 | public void llSetTextureAnim(Int32 mode, Int32 face, Int32 sizex, Int32 sizey, float start, float length, float rate) { } |
251 | public void llTriggerSoundLimited() { } | 251 | public void llTriggerSoundLimited(string sound, float volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } |
252 | public void llEjectFromLand() { } | 252 | public void llEjectFromLand(string pest) { } |
253 | public void llParseString2List() { } | 253 | public void llParseString2List() { } |
254 | public void llOverMyLand() { } | 254 | public Int32 llOverMyLand(string id) { return 0; } |
255 | public void llGetLandOwnerAt() { } | 255 | public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } |
256 | public void llGetNotecardLine() { } | 256 | public string llGetNotecardLine(string name, Int32 line) { return ""; } |
257 | public void llGetAgentSize() { } | 257 | public void llGetAgentSize() { } |
258 | public void llSameGroup() { } | 258 | public void llSameGroup() { } |
259 | public void llUnSit() { } | 259 | public void llUnSit() { } |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs index d484a05..296bfa0 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs | |||
@@ -40,7 +40,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
40 | float llAtan2(float x, float y); | 40 | float llAtan2(float x, float y); |
41 | float llSqrt(float f); | 41 | float llSqrt(float f); |
42 | float llPow(float fbase, float fexponent); | 42 | float llPow(float fbase, float fexponent); |
43 | UInt32 llAbs(UInt32 i); | 43 | UInt32 llAbs(Int32 i); |
44 | float llFabs(float f); | 44 | float llFabs(float f); |
45 | float llFrand(float mag); | 45 | float llFrand(float mag); |
46 | UInt32 llFloor(float f); | 46 | UInt32 llFloor(float f); |
@@ -95,131 +95,256 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
95 | string llGetTexture(UInt32 face); | 95 | string llGetTexture(UInt32 face); |
96 | void llSetPos(Axiom.Math.Vector3 pos); | 96 | void llSetPos(Axiom.Math.Vector3 pos); |
97 | 97 | ||
98 | void llGetPos(); | 98 | //wiki: vector llGetPos() |
99 | void llGetLocalPos(); | 99 | Axiom.Math.Vector3 llGetPos(); |
100 | void llSetRot(); | 100 | //wiki: vector llGetLocalPos() |
101 | void llGetRot(); | 101 | Axiom.Math.Vector3 llGetLocalPos(); |
102 | void llGetLocalRot(); | 102 | //wiki: llSetRot(rotation rot) |
103 | void llSetForce(); | 103 | void llSetRot(Axiom.Math.Quaternion rot); |
104 | void llGetForce(); | 104 | //wiki: rotation llGetRot() |
105 | void llTarget(); | 105 | Axiom.Math.Quaternion llGetRot(); |
106 | void llTargetRemove(); | 106 | //wiki: rotation llGetLocalRot() |
107 | void llRotTarget(); | 107 | Axiom.Math.Quaternion llGetLocalRot(); |
108 | void llRotTargetRemove(); | 108 | //wiki: llSetForce(vector force, integer local) |
109 | void llMoveToTarget(); | 109 | void llSetForce(Axiom.Math.Vector3 force, Int32 local); |
110 | //wiki: vector llGetForce() | ||
111 | Axiom.Math.Vector3 llGetForce(); | ||
112 | //wiki: integer llTarget(vector position, float range) | ||
113 | Int32 llTarget(Axiom.Math.Vector3 position, float range); | ||
114 | //wiki: llTargetRemove(integer number) | ||
115 | void llTargetRemove(Int32 number); | ||
116 | //wiki: integer llRotTarget(rotation rot, float error) | ||
117 | Int32 llRotTarget(Axiom.Math.Quaternion rot, float error); | ||
118 | //wiki: integer llRotTargetRemove(integer number) | ||
119 | void llRotTargetRemove(Int32 number); | ||
120 | //wiki: llMoveToTarget(vector target, float tau) | ||
121 | void llMoveToTarget(Axiom.Math.Vector3 target, float tau); | ||
122 | //wiki: llStopMoveToTarget() | ||
110 | void llStopMoveToTarget(); | 123 | void llStopMoveToTarget(); |
111 | void llApplyImpulse(); | 124 | //wiki: llApplyImpulse(vector force, integer local) |
112 | void llApplyRotationalImpulse(); | 125 | void llApplyImpulse(Axiom.Math.Vector3 force, Int32 local); |
113 | void llSetTorque(); | 126 | //wiki: llapplyRotationalImpulse(vector force, integer local) |
114 | void llGetTorque(); | 127 | void llApplyRotationalImpulse(Axiom.Math.Vector3 force, Int32 local); |
115 | void llSetForceAndTorque(); | 128 | //wiki: llSetTorque(vector torque, integer local) |
116 | void llGetVel(); | 129 | void llSetTorque(Axiom.Math.Vector3 torque, Int32 local); |
117 | void llGetAccel(); | 130 | //wiki: vector llGetTorque() |
118 | void llGetOmega(); | 131 | Axiom.Math.Vector3 llGetTorque(); |
119 | void llGetTimeOfDay(); | 132 | //wiki: llSeForceAndTorque(vector force, vector torque, integer local) |
120 | void llGetWallclock(); | 133 | void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, Int32 local); |
121 | void llGetTime(); | 134 | //wiki: vector llGetVel() |
135 | Axiom.Math.Vector3 llGetVel(); | ||
136 | //wiki: vector llGetAccel() | ||
137 | Axiom.Math.Vector3 llGetAccel(); | ||
138 | //wiki: vector llGetOmega() | ||
139 | Axiom.Math.Vector3 llGetOmega(); | ||
140 | //wiki: float llGetTimeOfDay() | ||
141 | float llGetTimeOfDay(); | ||
142 | //wiki: float llGetWallclock() | ||
143 | float llGetWallclock(); | ||
144 | //wiki: float llGetTime() | ||
145 | float llGetTime(); | ||
146 | //wiki: llResetTime() | ||
122 | void llResetTime(); | 147 | void llResetTime(); |
123 | void llGetAndResetTime(); | 148 | //wiki: float llGetAndResetTime() |
149 | float llGetAndResetTime(); | ||
150 | //wiki (deprecated) llSound(string sound, float volume, integer queue, integer loop) | ||
124 | void llSound(); | 151 | void llSound(); |
125 | void llPlaySound(); | 152 | //wiki: llPlaySound(string sound, float volume) |
126 | void llLoopSound(); | 153 | void llPlaySound(string sound, float volume); |
127 | void llLoopSoundMaster(); | 154 | //wiki: llLoopSound(string sound, float volume) |
128 | void llLoopSoundSlave(); | 155 | void llLoopSound(string sound, float volume); |
129 | void llPlaySoundSlave(); | 156 | //wiki: llLoopSoundMaster(string sound, float volume) |
130 | void llTriggerSound(); | 157 | void llLoopSoundMaster(string sound, float volume); |
158 | //wiki: llLoopSoundSlave(string sound, float volume) | ||
159 | void llLoopSoundSlave(string sound, float volume); | ||
160 | //wiki llPlaySoundSlave(string sound, float volume) | ||
161 | void llPlaySoundSlave(string sound, float volume); | ||
162 | //wiki: llTriggerSound(string sound, float volume) | ||
163 | void llTriggerSound(string sound, float volume); | ||
164 | //wiki: llStopSound() | ||
131 | void llStopSound(); | 165 | void llStopSound(); |
132 | void llPreloadSound(); | 166 | //wiki: llPreloadSound(string sound) |
133 | void llGetSubString(); | 167 | void llPreloadSound(string sound); |
134 | void llDeleteSubString(); | 168 | //wiki: string llGetSubString(string src, integer start, integer end) |
135 | void llInsertString(); | 169 | void llGetSubString(string src, Int32 start, Int32 end); |
136 | void llToUpper(); | 170 | //wiki: string llDeleteSubString(string src, integer start, integer end) |
137 | void llToLower(); | 171 | string llDeleteSubString(string src, Int32 start, Int32 end); |
138 | void llGiveMoney(); | 172 | //wiki string llInsertString(string dst, integer position, string src) |
173 | void llInsertString(string dst, Int32 position, string src); | ||
174 | //wiki: string llToUpper(string source) | ||
175 | string llToUpper(string source); | ||
176 | //wiki: string llToLower(string source) | ||
177 | string llToLower(string source); | ||
178 | //wiki: integer llGiveMoney(key destination, integer amount) | ||
179 | Int32 llGiveMoney(string destination, Int32 amount); | ||
180 | //wiki: (deprecated) | ||
139 | void llMakeExplosion(); | 181 | void llMakeExplosion(); |
182 | //wiki: (deprecated) | ||
140 | void llMakeFountain(); | 183 | void llMakeFountain(); |
184 | //wiki: (deprecated) | ||
141 | void llMakeSmoke(); | 185 | void llMakeSmoke(); |
186 | //wiki: (deprecated) | ||
142 | void llMakeFire(); | 187 | void llMakeFire(); |
143 | void llRezObject(); | 188 | //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) |
144 | void llLookAt(); | 189 | void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, Int32 param); |
190 | //wiki: llLookAt(vector target, float strength, float damping) | ||
191 | void llLookAt(Axiom.Math.Vector3 target, float strength, float damping); | ||
192 | //wiki: llStopLookAt() | ||
145 | void llStopLookAt(); | 193 | void llStopLookAt(); |
146 | void llSetTimerEvent(); | 194 | //wiki: llSetTimerEvent(float sec) |
147 | void llSleep(); | 195 | void llSetTimerEvent(float sec); |
148 | void llGetMass(); | 196 | //wiki: llSleep(float sec) |
149 | void llCollisionFilter(); | 197 | void llSleep(float sec); |
150 | void llTakeControls(); | 198 | //wiki: float llGetMass() |
199 | float llGetMass(); | ||
200 | //wiki: llCollisionFilter(string name, key id, integer accept) | ||
201 | void llCollisionFilter(string name, string id, Int32 accept); | ||
202 | //wiki: llTakeControls(integer controls, integer accept, integer pass_on) | ||
203 | void llTakeControls(Int32 controls, Int32 accept, Int32 pass_on); | ||
204 | //wiki: llReleaseControls() | ||
151 | void llReleaseControls(); | 205 | void llReleaseControls(); |
152 | void llAttachToAvatar(); | 206 | //wiki: llAttachToAvatar(integer attachment) |
207 | void llAttachToAvatar(Int32 attachment); | ||
208 | //wiki: llDetachFromAvatar() | ||
153 | void llDetachFromAvatar(); | 209 | void llDetachFromAvatar(); |
210 | //wiki: (deprecated) llTakeCamera() | ||
154 | void llTakeCamera(); | 211 | void llTakeCamera(); |
212 | //wiki: (deprecated) llReleaseCamera() | ||
155 | void llReleaseCamera(); | 213 | void llReleaseCamera(); |
156 | void llGetOwner(); | 214 | //wiki: key llGetOwner() |
157 | void llInstantMessage(); | 215 | string llGetOwner(); |
158 | void llEmail(); | 216 | //wiki: llInstantMessage(key user, string message) |
159 | void llGetNextEmail(); | 217 | void llInstantMessage(string user, string message); |
160 | void llGetKey(); | 218 | //wiki: llEmail(string address, string subject, string message) |
161 | void llSetBuoyancy(); | 219 | void llEmail(string address, string subject, string message); |
162 | void llSetHoverHeight(); | 220 | //wiki: llGetNextEmail(string address, string subject) |
221 | void llGetNextEmail(string address, string subject); | ||
222 | //wiki: key llGetKey() | ||
223 | string llGetKey(); | ||
224 | //wiki: llSetBuoyancy(float buoyancy) | ||
225 | void llSetBuoyancy(float buoyancy); | ||
226 | //wiki: llSetHoverHeight(float height, integer water, float tau) | ||
227 | void llSetHoverHeight(float height, Int32 water, float tau); | ||
228 | //wiki: llStopHover | ||
163 | void llStopHover(); | 229 | void llStopHover(); |
164 | void llMinEventDelay(); | 230 | //wiki: llMinEventDelay(float delay) |
231 | void llMinEventDelay(float delay); | ||
232 | //wiki: (deprecated) llSoundPreload() | ||
165 | void llSoundPreload(); | 233 | void llSoundPreload(); |
166 | void llRotLookAt(); | 234 | //wiki: llRotLookAt(rotation target, float strength, float damping) |
167 | void llStringLength(); | 235 | void llRotLookAt(Axiom.Math.Quaternion target, float strength, float damping); |
168 | void llStartAnimation(); | 236 | //wiki: integer llStringLength(string str) |
169 | void llStopAnimation(); | 237 | Int32 llStringLength(string str); |
238 | //wiki: llStartAnimation(string anim) | ||
239 | void llStartAnimation(string anim); | ||
240 | //wiki: llStopAnimation(string anim) | ||
241 | void llStopAnimation(string anim); | ||
242 | //wiki: (deprecated) llPointAt | ||
170 | void llPointAt(); | 243 | void llPointAt(); |
244 | //wiki: (deprecated) llStopPointAt | ||
171 | void llStopPointAt(); | 245 | void llStopPointAt(); |
172 | void llTargetOmega(); | 246 | //wiki: llTargetOmega(vector axis, float spinrate, float gain) |
173 | void llGetStartParameter(); | 247 | void llTargetOmega(Axiom.Math.Vector3 axis, float spinrate, float gain); |
174 | void llGodLikeRezObject(); | 248 | //wiki: integer llGetStartParameter() |
175 | void llRequestPermissions(); | 249 | Int32 llGetStartParameter(); |
176 | void llGetPermissionsKey(); | 250 | //wiki: llGodLikeRezObject(key inventory, vector pos) |
177 | void llGetPermissions(); | 251 | void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos); |
178 | void llGetLinkNumber(); | 252 | //wiki: llRequestPermissions(key agent, integer perm) |
179 | void llSetLinkColor(); | 253 | void llRequestPermissions(string agent, Int32 perm); |
180 | void llCreateLink(); | 254 | //wiki: key llGetPermissionsKey() |
181 | void llBreakLink(); | 255 | string llGetPermissionsKey(); |
256 | //wiki: integer llGetPermissions() | ||
257 | Int32 llGetPermissions(); | ||
258 | //wiki integer llGetLinkNumber() | ||
259 | Int32 llGetLinkNumber(); | ||
260 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) | ||
261 | void llSetLinkColor(Int32 linknumber, Axiom.Math.Vector3 color, Int32 face); | ||
262 | //wiki: llCreateLink(key target, integer parent) | ||
263 | void llCreateLink(string target, Int32 parent); | ||
264 | //wiki: llBreakLink(integer linknum) | ||
265 | void llBreakLink(Int32 linknum); | ||
266 | //wiki: llBreakAllLinks() | ||
182 | void llBreakAllLinks(); | 267 | void llBreakAllLinks(); |
183 | void llGetLinkKey(); | 268 | //wiki: key llGetLinkKey(integer linknum) |
184 | void llGetLinkName(); | 269 | string llGetLinkKey(Int32 linknum); |
185 | void llGetInventoryNumber(); | 270 | //wiki: llGetLinkName(integer linknum) |
186 | void llGetInventoryName(); | 271 | void llGetLinkName(Int32 linknum); |
187 | void llSetScriptState(); | 272 | //wiki: integer llGetInventoryNumber(integer type) |
188 | void llGetEnergy(); | 273 | Int32 llGetInventoryNumber(Int32 type); |
189 | void llGiveInventory(); | 274 | //wiki: string llGetInventoryName(integer type, integer number) |
190 | void llRemoveInventory(); | 275 | string llGetInventoryName(Int32 type, Int32 number); |
191 | void llSetText(); | 276 | //wiki: llSetScriptState(string name, integer run) |
192 | void llWater(); | 277 | void llSetScriptState(string name, Int32 run); |
193 | void llPassTouches(); | 278 | //wiki: float llGetEnergy() |
194 | void llRequestAgentData(); | 279 | float llGetEnergy(); |
195 | void llRequestInventoryData(); | 280 | //wiki: llGiveInventory(key destination, string inventory) |
196 | void llSetDamage(); | 281 | void llGiveInventory(string destination, string inventory); |
197 | void llTeleportAgentHome(); | 282 | //wiki: llRemoveInventory(string item) |
198 | void llModifyLand(); | 283 | void llRemoveInventory(string item); |
199 | void llCollisionSound(); | 284 | //wiki: llSetText(string text, vector color, float alpha) |
200 | void llCollisionSprite(); | 285 | void llSetText(string text, Axiom.Math.Vector3 color, float alpha); |
201 | void llGetAnimation(); | 286 | //wiki: float llWater(vector offset) |
287 | float llWater(Axiom.Math.Vector3 offset); | ||
288 | //wiki: llPassTouches(integer pass) | ||
289 | void llPassTouches(Int32 pass); | ||
290 | //wiki: key llRequestAgentData(key id, integer data) | ||
291 | string llRequestAgentData(string id, Int32 data); | ||
292 | //wiki: key llRequestInventoryData(string name) | ||
293 | string llRequestInventoryData(string name); | ||
294 | //wiki: llSetDamage(float damage) | ||
295 | void llSetDamage(float damage); | ||
296 | //wiki: llTeleportAgentHome(key agent) | ||
297 | void llTeleportAgentHome(string agent); | ||
298 | //wiki: llModifyLand(integer action, integer brush) | ||
299 | void llModifyLand(Int32 action, Int32 brush); | ||
300 | //wiki: llCollisionSound(string impact_sound, float impact_volume) | ||
301 | void llCollisionSound(string impact_sound, float impact_volume); | ||
302 | //wiki: llCollisionSprite(string impact_sprite) | ||
303 | void llCollisionSprite(string impact_sprite); | ||
304 | //wiki: string llGetAnimation(key id) | ||
305 | string llGetAnimation(string id); | ||
306 | //wiki: llResetScript() | ||
202 | void llResetScript(); | 307 | void llResetScript(); |
203 | void llMessageLinked(); | 308 | //wiki: llMessageLinked(integer linknum, integer num, string str, key id) |
204 | void llPushObject(); | 309 | void llMessageLinked(Int32 linknum, Int32 num, string str, string id); |
205 | void llPassCollisions(); | 310 | //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) |
206 | void llGetScriptName(); | 311 | void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, Int32 local); |
207 | void llGetNumberOfSides(); | 312 | //wiki: llPassCollisions(integer pass) |
208 | void llAxisAngle2Rot(); | 313 | void llPassCollisions(Int32 pass); |
209 | void llRot2Axis(); | 314 | //wiki: string llGetScriptName() |
315 | string llGetScriptName(); | ||
316 | //wiki: integer llGetNumberOfSides() | ||
317 | Int32 llGetNumberOfSides(); | ||
318 | //wiki: rotation llAxisAngle2Rot(vector axis, float angle) | ||
319 | Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, float angle); | ||
320 | //wiki: vector llRot2Axis(rotation rot) | ||
321 | Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot); | ||
210 | void llRot2Angle(); | 322 | void llRot2Angle(); |
211 | void llAcos(); | 323 | //wiki: float llAcos(float val) |
212 | void llAsin(); | 324 | float llAcos(float val); |
213 | void llAngleBetween(); | 325 | //wiki: float llAsin(float val) |
214 | void llGetInventoryKey(); | 326 | float llAsin(float val); |
215 | void llAllowInventoryDrop(); | 327 | //wiki: float llAngleBetween(rotation a, rotation b) |
216 | void llGetSunDirection(); | 328 | float llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b); |
217 | void llGetTextureOffset(); | 329 | //wiki: string llGetInventoryKey(string name) |
218 | void llGetTextureScale(); | 330 | string llGetInventoryKey(string name); |
219 | void llGetTextureRot(); | 331 | //wiki: llAllowInventoryDrop(integer add) |
220 | void llSubStringIndex(); | 332 | void llAllowInventoryDrop(Int32 add); |
221 | void llGetOwnerKey(); | 333 | //wiki: vector llGetSunDirection() |
222 | void llGetCenterOfMass(); | 334 | Axiom.Math.Vector3 llGetSunDirection(); |
335 | //wiki: vector llGetTextureOffset(integer face) | ||
336 | Axiom.Math.Vector3 llGetTextureOffset(Int32 face); | ||
337 | //wiki: vector llGetTextureScale(integer side) | ||
338 | Axiom.Math.Vector3 llGetTextureScale(Int32 side); | ||
339 | //wiki: float llGetTextureRot(integer side) | ||
340 | float llGetTextureRot(Int32 side); | ||
341 | //wiki: integer llSubStringIndex(string source, string pattern) | ||
342 | Int32 llSubStringIndex(string source, string pattern); | ||
343 | //wiki: key llGetOwnerKey(key id) | ||
344 | string llGetOwnerKey(string id); | ||
345 | //wiki: vector llGetCenterOfMass() | ||
346 | Axiom.Math.Vector3 llGetCenterOfMass(); | ||
347 | //wiki: list llListSort(list src, integer stride, integer ascending) | ||
223 | void llListSort(); | 348 | void llListSort(); |
224 | void llGetListLength(); | 349 | void llGetListLength(); |
225 | void llList2Integer(); | 350 | void llList2Integer(); |
@@ -238,22 +363,37 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
238 | void llGetRegionCorner(); | 363 | void llGetRegionCorner(); |
239 | void llListInsertList(); | 364 | void llListInsertList(); |
240 | void llListFindList(); | 365 | void llListFindList(); |
241 | void llGetObjectName(); | 366 | //wiki: string llGetObjectName() |
242 | void llSetObjectName(); | 367 | string llGetObjectName(); |
243 | void llGetDate(); | 368 | //wiki: llSetObjectName(string name) |
244 | void llEdgeOfWorld(); | 369 | void llSetObjectName(string name); |
245 | void llGetAgentInfo(); | 370 | //wiki: string llGetDate() |
246 | void llAdjustSoundVolume(); | 371 | string llGetDate(); |
247 | void llSetSoundQueueing(); | 372 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) |
248 | void llSetSoundRadius(); | 373 | Int32 llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir); |
249 | void llKey2Name(); | 374 | //wiki: integer llGetAgentInfo(key id) |
250 | void llSetTextureAnim(); | 375 | Int32 llGetAgentInfo(string id); |
251 | void llTriggerSoundLimited(); | 376 | //wiki: llAdjustSoundVolume(float volume) |
252 | void llEjectFromLand(); | 377 | void llAdjustSoundVolume(float volume); |
378 | //wiki: llSetSoundQueueing(integer queue) | ||
379 | void llSetSoundQueueing(Int32 queue); | ||
380 | //wiki: llSetSoundRadius(float radius) | ||
381 | void llSetSoundRadius(float radius); | ||
382 | //wiki: string llKey2Name(key id) | ||
383 | string llKey2Name(string id); | ||
384 | //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate) | ||
385 | void llSetTextureAnim(Int32 mode, Int32 face, Int32 sizex, Int32 sizey, float start, float length, float rate); | ||
386 | //wiki: llTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west) | ||
387 | void llTriggerSoundLimited(string sound, float volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west); | ||
388 | //wiki: llEjectFromLand(key pest) | ||
389 | void llEjectFromLand(string pest); | ||
253 | void llParseString2List(); | 390 | void llParseString2List(); |
254 | void llOverMyLand(); | 391 | //wiki: integer llOverMyLand(key id) |
255 | void llGetLandOwnerAt(); | 392 | Int32 llOverMyLand(string id); |
256 | void llGetNotecardLine(); | 393 | //wiki: key llGetLandOwnerAt(vector pos) |
394 | string llGetLandOwnerAt(Axiom.Math.Vector3 pos); | ||
395 | //wiki: key llGetNotecardLine(string name, integer line) | ||
396 | string llGetNotecardLine(string name, Int32 line); | ||
257 | void llGetAgentSize(); | 397 | void llGetAgentSize(); |
258 | void llSameGroup(); | 398 | void llSameGroup(); |
259 | void llUnSit(); | 399 | void llUnSit(); |