aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
diff options
context:
space:
mode:
authorTedd Hansen2007-08-13 17:28:08 +0000
committerTedd Hansen2007-08-13 17:28:08 +0000
commit050921d7b69f857b02c71328b545af42940d06b1 (patch)
treee09506b8e5342940838644c3db0c76d6945ac32e /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
parentoops , guess I should include the new files next time (diff)
downloadopensim-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/Region/ScriptEngine/DotNetEngine/Compiler/Server_API')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs382
1 files changed, 261 insertions, 121 deletions
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();