diff options
author | Tedd Hansen | 2007-08-12 17:37:37 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-12 17:37:37 +0000 |
commit | fd63c0cd32739f99af0c93ee3115212bb695f063 (patch) | |
tree | 5c95d50a2559fcab8815694999b03e12c67d402c /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs | |
parent | Script now compiles unsuccessfully (diff) | |
download | opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.zip opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.gz opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.bz2 opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.xz |
Code comments and cleanup, correct datatypes for key, vector, rotation, (hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs | 368 |
1 files changed, 0 insertions, 368 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs deleted file mode 100644 index 8a5d4b6..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs +++ /dev/null | |||
@@ -1,368 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://www.openmetaverse.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | * | ||
27 | */ | ||
28 | /* Original code: Tedd Hansen */ | ||
29 | using System; | ||
30 | using System.Collections.Generic; | ||
31 | using System.Text; | ||
32 | |||
33 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO | ||
34 | { | ||
35 | public interface LSL_BuiltIn_Commands_Interface | ||
36 | { | ||
37 | float llSin(float f); | ||
38 | float llCos(float f); | ||
39 | float llTan(float f); | ||
40 | float llAtan2(float x, float y); | ||
41 | float llSqrt(float f); | ||
42 | float llPow(float fbase, float fexponent); | ||
43 | UInt32 llAbs(UInt32 i); | ||
44 | float llFabs(float f); | ||
45 | float llFrand(float mag); | ||
46 | UInt32 llFloor(float f); | ||
47 | UInt32 llCeil(float f); | ||
48 | UInt32 llRound(float f); | ||
49 | float llVecMag(LSO_Enums.Vector v); | ||
50 | LSO_Enums.Vector llVecNorm(LSO_Enums.Vector v); | ||
51 | float llVecDist(LSO_Enums.Vector a, LSO_Enums.Vector b); | ||
52 | LSO_Enums.Vector llRot2Euler(LSO_Enums.Rotation r); | ||
53 | LSO_Enums.Rotation llEuler2Rot(LSO_Enums.Vector v); | ||
54 | LSO_Enums.Rotation llAxes2Rot(LSO_Enums.Vector fwd, LSO_Enums.Vector left, LSO_Enums.Vector up); | ||
55 | LSO_Enums.Vector llRot2Fwd(LSO_Enums.Rotation r); | ||
56 | LSO_Enums.Vector llRot2Left(LSO_Enums.Rotation r); | ||
57 | LSO_Enums.Vector llRot2Up(LSO_Enums.Rotation r); | ||
58 | LSO_Enums.Rotation llRotBetween(LSO_Enums.Vector start, LSO_Enums.Vector end); | ||
59 | void llWhisper(UInt16 channelID, string text); | ||
60 | //void llSay(UInt32 channelID, string text); | ||
61 | void llSay(object channelID, object text); | ||
62 | void llShout(UInt16 channelID, string text); | ||
63 | UInt32 llListen(UInt16 channelID, string name, LSO_Enums.Key ID, string msg); | ||
64 | void llListenControl(UInt32 number, UInt32 active); | ||
65 | void llListenRemove(UInt32 number); | ||
66 | void llSensor(string name, LSO_Enums.Key id, UInt32 type, float range, float arc); | ||
67 | void llSensorRepeat(string name, LSO_Enums.Key id, UInt32 type, float range, float arc, float rate); | ||
68 | void llSensorRemove(); | ||
69 | string llDetectedName(UInt32 number); | ||
70 | LSO_Enums.Key llDetectedKey(UInt32 number); | ||
71 | LSO_Enums.Key llDetectedOwner(UInt32 number); | ||
72 | UInt32 llDetectedType(UInt32 number); | ||
73 | LSO_Enums.Vector llDetectedPos(UInt32 number); | ||
74 | LSO_Enums.Vector llDetectedVel(UInt32 number); | ||
75 | LSO_Enums.Vector llDetectedGrab(UInt32 number); | ||
76 | LSO_Enums.Rotation llDetectedRot(UInt32 number); | ||
77 | UInt32 llDetectedGroup(UInt32 number); | ||
78 | UInt32 llDetectedLinkNumber(UInt32 number); | ||
79 | void llDie(); | ||
80 | float llGround(LSO_Enums.Vector offset); | ||
81 | float llCloud(LSO_Enums.Vector offset); | ||
82 | LSO_Enums.Vector llWind(LSO_Enums.Vector offset); | ||
83 | void llSetStatus(UInt32 status, UInt32 value); | ||
84 | UInt32 llGetStatus(UInt32 status); | ||
85 | void llSetScale(LSO_Enums.Vector scale); | ||
86 | LSO_Enums.Vector llGetScale(); | ||
87 | void llSetColor(LSO_Enums.Vector color, UInt32 face); | ||
88 | float llGetAlpha(UInt32 face); | ||
89 | void llSetAlpha(float alpha, UInt32 face); | ||
90 | LSO_Enums.Vector llGetColor(UInt32 face); | ||
91 | void llSetTexture(string texture, UInt32 face); | ||
92 | void llScaleTexture(float u, float v, UInt32 face); | ||
93 | void llOffsetTexture(float u, float v, UInt32 face); | ||
94 | void llRotateTexture(float rotation, UInt32 face); | ||
95 | string llGetTexture(UInt32 face); | ||
96 | void llSetPos(LSO_Enums.Vector pos); | ||
97 | |||
98 | void llGetPos(); | ||
99 | void llGetLocalPos(); | ||
100 | void llSetRot(); | ||
101 | void llGetRot(); | ||
102 | void llGetLocalRot(); | ||
103 | void llSetForce(); | ||
104 | void llGetForce(); | ||
105 | void llTarget(); | ||
106 | void llTargetRemove(); | ||
107 | void llRotTarget(); | ||
108 | void llRotTargetRemove(); | ||
109 | void llMoveToTarget(); | ||
110 | void llStopMoveToTarget(); | ||
111 | void llApplyImpulse(); | ||
112 | void llApplyRotationalImpulse(); | ||
113 | void llSetTorque(); | ||
114 | void llGetTorque(); | ||
115 | void llSetForceAndTorque(); | ||
116 | void llGetVel(); | ||
117 | void llGetAccel(); | ||
118 | void llGetOmega(); | ||
119 | void llGetTimeOfDay(); | ||
120 | void llGetWallclock(); | ||
121 | void llGetTime(); | ||
122 | void llResetTime(); | ||
123 | void llGetAndResetTime(); | ||
124 | void llSound(); | ||
125 | void llPlaySound(); | ||
126 | void llLoopSound(); | ||
127 | void llLoopSoundMaster(); | ||
128 | void llLoopSoundSlave(); | ||
129 | void llPlaySoundSlave(); | ||
130 | void llTriggerSound(); | ||
131 | void llStopSound(); | ||
132 | void llPreloadSound(); | ||
133 | void llGetSubString(); | ||
134 | void llDeleteSubString(); | ||
135 | void llInsertString(); | ||
136 | void llToUpper(); | ||
137 | void llToLower(); | ||
138 | void llGiveMoney(); | ||
139 | void llMakeExplosion(); | ||
140 | void llMakeFountain(); | ||
141 | void llMakeSmoke(); | ||
142 | void llMakeFire(); | ||
143 | void llRezObject(); | ||
144 | void llLookAt(); | ||
145 | void llStopLookAt(); | ||
146 | void llSetTimerEvent(); | ||
147 | void llSleep(); | ||
148 | void llGetMass(); | ||
149 | void llCollisionFilter(); | ||
150 | void llTakeControls(); | ||
151 | void llReleaseControls(); | ||
152 | void llAttachToAvatar(); | ||
153 | void llDetachFromAvatar(); | ||
154 | void llTakeCamera(); | ||
155 | void llReleaseCamera(); | ||
156 | void llGetOwner(); | ||
157 | void llInstantMessage(); | ||
158 | void llEmail(); | ||
159 | void llGetNextEmail(); | ||
160 | void llGetKey(); | ||
161 | void llSetBuoyancy(); | ||
162 | void llSetHoverHeight(); | ||
163 | void llStopHover(); | ||
164 | void llMinEventDelay(); | ||
165 | void llSoundPreload(); | ||
166 | void llRotLookAt(); | ||
167 | void llStringLength(); | ||
168 | void llStartAnimation(); | ||
169 | void llStopAnimation(); | ||
170 | void llPointAt(); | ||
171 | void llStopPointAt(); | ||
172 | void llTargetOmega(); | ||
173 | void llGetStartParameter(); | ||
174 | void llGodLikeRezObject(); | ||
175 | void llRequestPermissions(); | ||
176 | void llGetPermissionsKey(); | ||
177 | void llGetPermissions(); | ||
178 | void llGetLinkNumber(); | ||
179 | void llSetLinkColor(); | ||
180 | void llCreateLink(); | ||
181 | void llBreakLink(); | ||
182 | void llBreakAllLinks(); | ||
183 | void llGetLinkKey(); | ||
184 | void llGetLinkName(); | ||
185 | void llGetInventoryNumber(); | ||
186 | void llGetInventoryName(); | ||
187 | void llSetScriptState(); | ||
188 | void llGetEnergy(); | ||
189 | void llGiveInventory(); | ||
190 | void llRemoveInventory(); | ||
191 | void llSetText(); | ||
192 | void llWater(); | ||
193 | void llPassTouches(); | ||
194 | void llRequestAgentData(); | ||
195 | void llRequestInventoryData(); | ||
196 | void llSetDamage(); | ||
197 | void llTeleportAgentHome(); | ||
198 | void llModifyLand(); | ||
199 | void llCollisionSound(); | ||
200 | void llCollisionSprite(); | ||
201 | void llGetAnimation(); | ||
202 | void llResetScript(); | ||
203 | void llMessageLinked(); | ||
204 | void llPushObject(); | ||
205 | void llPassCollisions(); | ||
206 | void llGetScriptName(); | ||
207 | void llGetNumberOfSides(); | ||
208 | void llAxisAngle2Rot(); | ||
209 | void llRot2Axis(); | ||
210 | void llRot2Angle(); | ||
211 | void llAcos(); | ||
212 | void llAsin(); | ||
213 | void llAngleBetween(); | ||
214 | void llGetInventoryKey(); | ||
215 | void llAllowInventoryDrop(); | ||
216 | void llGetSunDirection(); | ||
217 | void llGetTextureOffset(); | ||
218 | void llGetTextureScale(); | ||
219 | void llGetTextureRot(); | ||
220 | void llSubStringIndex(); | ||
221 | void llGetOwnerKey(); | ||
222 | void llGetCenterOfMass(); | ||
223 | void llListSort(); | ||
224 | void llGetListLength(); | ||
225 | void llList2Integer(); | ||
226 | void llList2Float(); | ||
227 | void llList2String(); | ||
228 | void llList2Key(); | ||
229 | void llList2Vector(); | ||
230 | void llList2Rot(); | ||
231 | void llList2List(); | ||
232 | void llDeleteSubList(); | ||
233 | void llGetListEntryType(); | ||
234 | void llList2CSV(); | ||
235 | void llCSV2List(); | ||
236 | void llListRandomize(); | ||
237 | void llList2ListStrided(); | ||
238 | void llGetRegionCorner(); | ||
239 | void llListInsertList(); | ||
240 | void llListFindList(); | ||
241 | void llGetObjectName(); | ||
242 | void llSetObjectName(); | ||
243 | void llGetDate(); | ||
244 | void llEdgeOfWorld(); | ||
245 | void llGetAgentInfo(); | ||
246 | void llAdjustSoundVolume(); | ||
247 | void llSetSoundQueueing(); | ||
248 | void llSetSoundRadius(); | ||
249 | void llKey2Name(); | ||
250 | void llSetTextureAnim(); | ||
251 | void llTriggerSoundLimited(); | ||
252 | void llEjectFromLand(); | ||
253 | void llParseString2List(); | ||
254 | void llOverMyLand(); | ||
255 | void llGetLandOwnerAt(); | ||
256 | void llGetNotecardLine(); | ||
257 | void llGetAgentSize(); | ||
258 | void llSameGroup(); | ||
259 | void llUnSit(); | ||
260 | void llGroundSlope(); | ||
261 | void llGroundNormal(); | ||
262 | void llGroundContour(); | ||
263 | void llGetAttached(); | ||
264 | void llGetFreeMemory(); | ||
265 | void llGetRegionName(); | ||
266 | void llGetRegionTimeDilation(); | ||
267 | void llGetRegionFPS(); | ||
268 | void llParticleSystem(); | ||
269 | void llGroundRepel(); | ||
270 | void llGiveInventoryList(); | ||
271 | void llSetVehicleType(); | ||
272 | void llSetVehicleFloatParam(); | ||
273 | void llSetVehicleVectorParam(); | ||
274 | void llSetVehicleRotationParam(); | ||
275 | void llSetVehicleFlags(); | ||
276 | void llRemoveVehicleFlags(); | ||
277 | void llSitTarget(); | ||
278 | void llAvatarOnSitTarget(); | ||
279 | void llAddToLandPassList(); | ||
280 | void llSetTouchText(); | ||
281 | void llSetSitText(); | ||
282 | void llSetCameraEyeOffset(); | ||
283 | void llSetCameraAtOffset(); | ||
284 | void llDumpList2String(); | ||
285 | void llScriptDanger(); | ||
286 | void llDialog(); | ||
287 | void llVolumeDetect(); | ||
288 | void llResetOtherScript(); | ||
289 | void llGetScriptState(); | ||
290 | void llRemoteLoadScript(); | ||
291 | void llSetRemoteScriptAccessPin(); | ||
292 | void llRemoteLoadScriptPin(); | ||
293 | void llOpenRemoteDataChannel(); | ||
294 | void llSendRemoteData(); | ||
295 | void llRemoteDataReply(); | ||
296 | void llCloseRemoteDataChannel(); | ||
297 | void llMD5String(); | ||
298 | void llSetPrimitiveParams(); | ||
299 | void llStringToBase64(); | ||
300 | void llBase64ToString(); | ||
301 | void llXorBase64Strings(); | ||
302 | void llRemoteDataSetRegion(); | ||
303 | void llLog10(); | ||
304 | void llLog(); | ||
305 | void llGetAnimationList(); | ||
306 | void llSetParcelMusicURL(); | ||
307 | void llGetRootPosition(); | ||
308 | void llGetRootRotation(); | ||
309 | void llGetObjectDesc(); | ||
310 | void llSetObjectDesc(); | ||
311 | void llGetCreator(); | ||
312 | void llGetTimestamp(); | ||
313 | void llSetLinkAlpha(); | ||
314 | void llGetNumberOfPrims(); | ||
315 | void llGetNumberOfNotecardLines(); | ||
316 | void llGetBoundingBox(); | ||
317 | void llGetGeometricCenter(); | ||
318 | void llGetPrimitiveParams(); | ||
319 | void llIntegerToBase64(); | ||
320 | void llBase64ToInteger(); | ||
321 | void llGetGMTclock(); | ||
322 | void llGetSimulatorHostname(); | ||
323 | void llSetLocalRot(); | ||
324 | void llParseStringKeepNulls(); | ||
325 | void llRezAtRoot(); | ||
326 | void llGetObjectPermMask(); | ||
327 | void llSetObjectPermMask(); | ||
328 | void llGetInventoryPermMask(); | ||
329 | void llSetInventoryPermMask(); | ||
330 | void llGetInventoryCreator(); | ||
331 | void llOwnerSay(); | ||
332 | void llRequestSimulatorData(); | ||
333 | void llForceMouselook(); | ||
334 | void llGetObjectMass(); | ||
335 | void llListReplaceList(); | ||
336 | void llLoadURL(); | ||
337 | void llParcelMediaCommandList(); | ||
338 | void llParcelMediaQuery(); | ||
339 | void llModPow(); | ||
340 | void llGetInventoryType(); | ||
341 | void llSetPayPrice(); | ||
342 | void llGetCameraPos(); | ||
343 | void llGetCameraRot(); | ||
344 | void llSetPrimURL(); | ||
345 | void llRefreshPrimURL(); | ||
346 | void llEscapeURL(); | ||
347 | void llUnescapeURL(); | ||
348 | void llMapDestination(); | ||
349 | void llAddToLandBanList(); | ||
350 | void llRemoveFromLandPassList(); | ||
351 | void llRemoveFromLandBanList(); | ||
352 | void llSetCameraParams(); | ||
353 | void llClearCameraParams(); | ||
354 | void llListStatistics(); | ||
355 | void llGetUnixTime(); | ||
356 | void llGetParcelFlags(); | ||
357 | void llGetRegionFlags(); | ||
358 | void llXorBase64StringsCorrect(); | ||
359 | void llHTTPRequest(); | ||
360 | void llResetLandBanList(); | ||
361 | void llResetLandPassList(); | ||
362 | void llGetParcelPrimCount(); | ||
363 | void llGetParcelPrimOwners(); | ||
364 | void llGetObjectPrimCount(); | ||
365 | void llGetParcelMaxPrims(); | ||
366 | void llGetParcelDetails(); | ||
367 | } | ||
368 | } | ||