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 | |
parent | Script now compiles unsuccessfully (diff) | |
download | opensim-SC-fd63c0cd32739f99af0c93ee3115212bb695f063.zip opensim-SC-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.gz opensim-SC-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.bz2 opensim-SC-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')
3 files changed, 1 insertions, 755 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass.cs index 99904d4..0fbb2cf 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSL_BaseClass.cs | |||
@@ -2,6 +2,7 @@ using System; | |||
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using System.IO; | 4 | using System.IO; |
5 | using OpenSim.Region.ScriptEngine.DotNetEngine.Compiler; | ||
5 | 6 | ||
6 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO | 7 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO |
7 | { | 8 | { |
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 | } | ||
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs deleted file mode 100644 index 38adf9f..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs +++ /dev/null | |||
@@ -1,387 +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 class LSL_BuiltIn_Commands_TestImplementation : LSL_BuiltIn_Commands_Interface | ||
36 | { | ||
37 | public LSL_BuiltIn_Commands_TestImplementation(string FullScriptID) | ||
38 | { | ||
39 | Common.SendToDebug("LSL_BuiltIn_Commands_TestImplementation: Creating object for FullScriptID: " + FullScriptID); | ||
40 | } | ||
41 | |||
42 | |||
43 | public float llSin(float f) { return 0; } | ||
44 | public float llCos(float f) { return 0; } | ||
45 | public float llTan(float f) { return 0; } | ||
46 | public float llAtan2(float x, float y) { return 0; } | ||
47 | public float llSqrt(float f) { return 0; } | ||
48 | public float llPow(float fbase, float fexponent) { return 0; } | ||
49 | public UInt32 llAbs(UInt32 i) { return 0; } | ||
50 | public float llFabs(float f) { return 0; } | ||
51 | public float llFrand(float mag) { return 0; } | ||
52 | public UInt32 llFloor(float f) { return 0; } | ||
53 | public UInt32 llCeil(float f) { return 0; } | ||
54 | public UInt32 llRound(float f) { return 0; } | ||
55 | public float llVecMag(LSO_Enums.Vector v) { return 0; } | ||
56 | public LSO_Enums.Vector llVecNorm(LSO_Enums.Vector v) { return new LSO_Enums.Vector(); } | ||
57 | public float llVecDist(LSO_Enums.Vector a, LSO_Enums.Vector b) { return 0; } | ||
58 | public LSO_Enums.Vector llRot2Euler(LSO_Enums.Rotation r) { return new LSO_Enums.Vector(); } | ||
59 | public LSO_Enums.Rotation llEuler2Rot(LSO_Enums.Vector v) { return new LSO_Enums.Rotation(); } | ||
60 | public LSO_Enums.Rotation llAxes2Rot(LSO_Enums.Vector fwd, LSO_Enums.Vector left, LSO_Enums.Vector up) { return new LSO_Enums.Rotation(); } | ||
61 | public LSO_Enums.Vector llRot2Fwd(LSO_Enums.Rotation r) { return new LSO_Enums.Vector(); } | ||
62 | public LSO_Enums.Vector llRot2Left(LSO_Enums.Rotation r) { return new LSO_Enums.Vector(); } | ||
63 | public LSO_Enums.Vector llRot2Up(LSO_Enums.Rotation r) { return new LSO_Enums.Vector(); } | ||
64 | public LSO_Enums.Rotation llRotBetween(LSO_Enums.Vector start, LSO_Enums.Vector end) { return new LSO_Enums.Rotation(); } | ||
65 | public void llWhisper(UInt16 channelID, string text) | ||
66 | { | ||
67 | Common.SendToDebug("INTERNAL FUNCTION llWhisper(" + channelID + ", \"" + text + "\");"); | ||
68 | Common.SendToLog("llWhisper Channel " + channelID + ", Text: \"" + text + "\""); | ||
69 | } | ||
70 | //public void llSay(UInt32 channelID, string text) | ||
71 | public void llSay(object channelID, object text) | ||
72 | { | ||
73 | //TODO: DO SOMETHING USEFUL HERE | ||
74 | Common.SendToDebug("INTERNAL FUNCTION llSay(" + (UInt32)channelID + ", \"" + (string)text + "\");"); | ||
75 | Common.SendToLog("llSay Channel " + (UInt32)channelID + ", Text: \"" + (string)text + "\""); | ||
76 | } | ||
77 | public void llShout(UInt16 channelID, string text) { return; } | ||
78 | public UInt32 llListen(UInt16 channelID, string name, LSO_Enums.Key ID, string msg) { return 0; } | ||
79 | public void llListenControl(UInt32 number, UInt32 active) { return; } | ||
80 | public void llListenRemove(UInt32 number) { return; } | ||
81 | public void llSensor(string name, LSO_Enums.Key id, UInt32 type, float range, float arc) { return; } | ||
82 | public void llSensorRepeat(string name, LSO_Enums.Key id, UInt32 type, float range, float arc, float rate) { return; } | ||
83 | public void llSensorRemove() { return; } | ||
84 | public string llDetectedName(UInt32 number) { return ""; } | ||
85 | public LSO_Enums.Key llDetectedKey(UInt32 number) { return new LSO_Enums.Key(); } | ||
86 | public LSO_Enums.Key llDetectedOwner(UInt32 number) { return new LSO_Enums.Key(); } | ||
87 | public UInt32 llDetectedType(UInt32 number) { return 0; } | ||
88 | public LSO_Enums.Vector llDetectedPos(UInt32 number) { return new LSO_Enums.Vector(); } | ||
89 | public LSO_Enums.Vector llDetectedVel(UInt32 number) { return new LSO_Enums.Vector(); } | ||
90 | public LSO_Enums.Vector llDetectedGrab(UInt32 number) { return new LSO_Enums.Vector(); } | ||
91 | public LSO_Enums.Rotation llDetectedRot(UInt32 number) { return new LSO_Enums.Rotation(); } | ||
92 | public UInt32 llDetectedGroup(UInt32 number) { return 0; } | ||
93 | public UInt32 llDetectedLinkNumber(UInt32 number) { return 0; } | ||
94 | public void llDie() { return; } | ||
95 | public float llGround(LSO_Enums.Vector offset) { return 0; } | ||
96 | public float llCloud(LSO_Enums.Vector offset) { return 0; } | ||
97 | public LSO_Enums.Vector llWind(LSO_Enums.Vector offset) { return new LSO_Enums.Vector(); } | ||
98 | public void llSetStatus(UInt32 status, UInt32 value) { return; } | ||
99 | public UInt32 llGetStatus(UInt32 status) { return 0; } | ||
100 | public void llSetScale(LSO_Enums.Vector scale) { return; } | ||
101 | public LSO_Enums.Vector llGetScale() { return new LSO_Enums.Vector(); } | ||
102 | public void llSetColor(LSO_Enums.Vector color, UInt32 face) { return; } | ||
103 | public float llGetAlpha(UInt32 face) { return 0; } | ||
104 | public void llSetAlpha(float alpha, UInt32 face) { return; } | ||
105 | public LSO_Enums.Vector llGetColor(UInt32 face) { return new LSO_Enums.Vector(); } | ||
106 | public void llSetTexture(string texture, UInt32 face) { return; } | ||
107 | public void llScaleTexture(float u, float v, UInt32 face) { return; } | ||
108 | public void llOffsetTexture(float u, float v, UInt32 face) { return; } | ||
109 | public void llRotateTexture(float rotation, UInt32 face) { return; } | ||
110 | public string llGetTexture(UInt32 face) { return ""; } | ||
111 | public void llSetPos(LSO_Enums.Vector pos) { return; } | ||
112 | |||
113 | |||
114 | public void llGetPos() { } | ||
115 | public void llGetLocalPos() { } | ||
116 | public void llSetRot() { } | ||
117 | public void llGetRot() { } | ||
118 | public void llGetLocalRot() { } | ||
119 | public void llSetForce() { } | ||
120 | public void llGetForce() { } | ||
121 | public void llTarget() { } | ||
122 | public void llTargetRemove() { } | ||
123 | public void llRotTarget() { } | ||
124 | public void llRotTargetRemove() { } | ||
125 | public void llMoveToTarget() { } | ||
126 | public void llStopMoveToTarget() { } | ||
127 | public void llApplyImpulse() { } | ||
128 | public void llApplyRotationalImpulse() { } | ||
129 | public void llSetTorque() { } | ||
130 | public void llGetTorque() { } | ||
131 | public void llSetForceAndTorque() { } | ||
132 | public void llGetVel() { } | ||
133 | public void llGetAccel() { } | ||
134 | public void llGetOmega() { } | ||
135 | public void llGetTimeOfDay() { } | ||
136 | public void llGetWallclock() { } | ||
137 | public void llGetTime() { } | ||
138 | public void llResetTime() { } | ||
139 | public void llGetAndResetTime() { } | ||
140 | public void llSound() { } | ||
141 | public void llPlaySound() { } | ||
142 | public void llLoopSound() { } | ||
143 | public void llLoopSoundMaster() { } | ||
144 | public void llLoopSoundSlave() { } | ||
145 | public void llPlaySoundSlave() { } | ||
146 | public void llTriggerSound() { } | ||
147 | public void llStopSound() { } | ||
148 | public void llPreloadSound() { } | ||
149 | public void llGetSubString() { } | ||
150 | public void llDeleteSubString() { } | ||
151 | public void llInsertString() { } | ||
152 | public void llToUpper() { } | ||
153 | public void llToLower() { } | ||
154 | public void llGiveMoney() { } | ||
155 | public void llMakeExplosion() { } | ||
156 | public void llMakeFountain() { } | ||
157 | public void llMakeSmoke() { } | ||
158 | public void llMakeFire() { } | ||
159 | public void llRezObject() { } | ||
160 | public void llLookAt() { } | ||
161 | public void llStopLookAt() { } | ||
162 | public void llSetTimerEvent() { } | ||
163 | public void llSleep() { } | ||
164 | public void llGetMass() { } | ||
165 | public void llCollisionFilter() { } | ||
166 | public void llTakeControls() { } | ||
167 | public void llReleaseControls() { } | ||
168 | public void llAttachToAvatar() { } | ||
169 | public void llDetachFromAvatar() { } | ||
170 | public void llTakeCamera() { } | ||
171 | public void llReleaseCamera() { } | ||
172 | public void llGetOwner() { } | ||
173 | public void llInstantMessage() { } | ||
174 | public void llEmail() { } | ||
175 | public void llGetNextEmail() { } | ||
176 | public void llGetKey() { } | ||
177 | public void llSetBuoyancy() { } | ||
178 | public void llSetHoverHeight() { } | ||
179 | public void llStopHover() { } | ||
180 | public void llMinEventDelay() { } | ||
181 | public void llSoundPreload() { } | ||
182 | public void llRotLookAt() { } | ||
183 | public void llStringLength() { } | ||
184 | public void llStartAnimation() { } | ||
185 | public void llStopAnimation() { } | ||
186 | public void llPointAt() { } | ||
187 | public void llStopPointAt() { } | ||
188 | public void llTargetOmega() { } | ||
189 | public void llGetStartParameter() { } | ||
190 | public void llGodLikeRezObject() { } | ||
191 | public void llRequestPermissions() { } | ||
192 | public void llGetPermissionsKey() { } | ||
193 | public void llGetPermissions() { } | ||
194 | public void llGetLinkNumber() { } | ||
195 | public void llSetLinkColor() { } | ||
196 | public void llCreateLink() { } | ||
197 | public void llBreakLink() { } | ||
198 | public void llBreakAllLinks() { } | ||
199 | public void llGetLinkKey() { } | ||
200 | public void llGetLinkName() { } | ||
201 | public void llGetInventoryNumber() { } | ||
202 | public void llGetInventoryName() { } | ||
203 | public void llSetScriptState() { } | ||
204 | public void llGetEnergy() { } | ||
205 | public void llGiveInventory() { } | ||
206 | public void llRemoveInventory() { } | ||
207 | public void llSetText() { } | ||
208 | public void llWater() { } | ||
209 | public void llPassTouches() { } | ||
210 | public void llRequestAgentData() { } | ||
211 | public void llRequestInventoryData() { } | ||
212 | public void llSetDamage() { } | ||
213 | public void llTeleportAgentHome() { } | ||
214 | public void llModifyLand() { } | ||
215 | public void llCollisionSound() { } | ||
216 | public void llCollisionSprite() { } | ||
217 | public void llGetAnimation() { } | ||
218 | public void llResetScript() { } | ||
219 | public void llMessageLinked() { } | ||
220 | public void llPushObject() { } | ||
221 | public void llPassCollisions() { } | ||
222 | public void llGetScriptName() { } | ||
223 | public void llGetNumberOfSides() { } | ||
224 | public void llAxisAngle2Rot() { } | ||
225 | public void llRot2Axis() { } | ||
226 | public void llRot2Angle() { } | ||
227 | public void llAcos() { } | ||
228 | public void llAsin() { } | ||
229 | public void llAngleBetween() { } | ||
230 | public void llGetInventoryKey() { } | ||
231 | public void llAllowInventoryDrop() { } | ||
232 | public void llGetSunDirection() { } | ||
233 | public void llGetTextureOffset() { } | ||
234 | public void llGetTextureScale() { } | ||
235 | public void llGetTextureRot() { } | ||
236 | public void llSubStringIndex() { } | ||
237 | public void llGetOwnerKey() { } | ||
238 | public void llGetCenterOfMass() { } | ||
239 | public void llListSort() { } | ||
240 | public void llGetListLength() { } | ||
241 | public void llList2Integer() { } | ||
242 | public void llList2Float() { } | ||
243 | public void llList2String() { } | ||
244 | public void llList2Key() { } | ||
245 | public void llList2Vector() { } | ||
246 | public void llList2Rot() { } | ||
247 | public void llList2List() { } | ||
248 | public void llDeleteSubList() { } | ||
249 | public void llGetListEntryType() { } | ||
250 | public void llList2CSV() { } | ||
251 | public void llCSV2List() { } | ||
252 | public void llListRandomize() { } | ||
253 | public void llList2ListStrided() { } | ||
254 | public void llGetRegionCorner() { } | ||
255 | public void llListInsertList() { } | ||
256 | public void llListFindList() { } | ||
257 | public void llGetObjectName() { } | ||
258 | public void llSetObjectName() { } | ||
259 | public void llGetDate() { } | ||
260 | public void llEdgeOfWorld() { } | ||
261 | public void llGetAgentInfo() { } | ||
262 | public void llAdjustSoundVolume() { } | ||
263 | public void llSetSoundQueueing() { } | ||
264 | public void llSetSoundRadius() { } | ||
265 | public void llKey2Name() { } | ||
266 | public void llSetTextureAnim() { } | ||
267 | public void llTriggerSoundLimited() { } | ||
268 | public void llEjectFromLand() { } | ||
269 | public void llParseString2List() { } | ||
270 | public void llOverMyLand() { } | ||
271 | public void llGetLandOwnerAt() { } | ||
272 | public void llGetNotecardLine() { } | ||
273 | public void llGetAgentSize() { } | ||
274 | public void llSameGroup() { } | ||
275 | public void llUnSit() { } | ||
276 | public void llGroundSlope() { } | ||
277 | public void llGroundNormal() { } | ||
278 | public void llGroundContour() { } | ||
279 | public void llGetAttached() { } | ||
280 | public void llGetFreeMemory() { } | ||
281 | public void llGetRegionName() { } | ||
282 | public void llGetRegionTimeDilation() { } | ||
283 | public void llGetRegionFPS() { } | ||
284 | public void llParticleSystem() { } | ||
285 | public void llGroundRepel() { } | ||
286 | public void llGiveInventoryList() { } | ||
287 | public void llSetVehicleType() { } | ||
288 | public void llSetVehicleFloatParam() { } | ||
289 | public void llSetVehicleVectorParam() { } | ||
290 | public void llSetVehicleRotationParam() { } | ||
291 | public void llSetVehicleFlags() { } | ||
292 | public void llRemoveVehicleFlags() { } | ||
293 | public void llSitTarget() { } | ||
294 | public void llAvatarOnSitTarget() { } | ||
295 | public void llAddToLandPassList() { } | ||
296 | public void llSetTouchText() { } | ||
297 | public void llSetSitText() { } | ||
298 | public void llSetCameraEyeOffset() { } | ||
299 | public void llSetCameraAtOffset() { } | ||
300 | public void llDumpList2String() { } | ||
301 | public void llScriptDanger() { } | ||
302 | public void llDialog() { } | ||
303 | public void llVolumeDetect() { } | ||
304 | public void llResetOtherScript() { } | ||
305 | public void llGetScriptState() { } | ||
306 | public void llRemoteLoadScript() { } | ||
307 | public void llSetRemoteScriptAccessPin() { } | ||
308 | public void llRemoteLoadScriptPin() { } | ||
309 | public void llOpenRemoteDataChannel() { } | ||
310 | public void llSendRemoteData() { } | ||
311 | public void llRemoteDataReply() { } | ||
312 | public void llCloseRemoteDataChannel() { } | ||
313 | public void llMD5String() { } | ||
314 | public void llSetPrimitiveParams() { } | ||
315 | public void llStringToBase64() { } | ||
316 | public void llBase64ToString() { } | ||
317 | public void llXorBase64Strings() { } | ||
318 | public void llRemoteDataSetRegion() { } | ||
319 | public void llLog10() { } | ||
320 | public void llLog() { } | ||
321 | public void llGetAnimationList() { } | ||
322 | public void llSetParcelMusicURL() { } | ||
323 | public void llGetRootPosition() { } | ||
324 | public void llGetRootRotation() { } | ||
325 | public void llGetObjectDesc() { } | ||
326 | public void llSetObjectDesc() { } | ||
327 | public void llGetCreator() { } | ||
328 | public void llGetTimestamp() { } | ||
329 | public void llSetLinkAlpha() { } | ||
330 | public void llGetNumberOfPrims() { } | ||
331 | public void llGetNumberOfNotecardLines() { } | ||
332 | public void llGetBoundingBox() { } | ||
333 | public void llGetGeometricCenter() { } | ||
334 | public void llGetPrimitiveParams() { } | ||
335 | public void llIntegerToBase64() { } | ||
336 | public void llBase64ToInteger() { } | ||
337 | public void llGetGMTclock() { } | ||
338 | public void llGetSimulatorHostname() { } | ||
339 | public void llSetLocalRot() { } | ||
340 | public void llParseStringKeepNulls() { } | ||
341 | public void llRezAtRoot() { } | ||
342 | public void llGetObjectPermMask() { } | ||
343 | public void llSetObjectPermMask() { } | ||
344 | public void llGetInventoryPermMask() { } | ||
345 | public void llSetInventoryPermMask() { } | ||
346 | public void llGetInventoryCreator() { } | ||
347 | public void llOwnerSay() { } | ||
348 | public void llRequestSimulatorData() { } | ||
349 | public void llForceMouselook() { } | ||
350 | public void llGetObjectMass() { } | ||
351 | public void llListReplaceList() { } | ||
352 | public void llLoadURL() { } | ||
353 | public void llParcelMediaCommandList() { } | ||
354 | public void llParcelMediaQuery() { } | ||
355 | public void llModPow() { } | ||
356 | public void llGetInventoryType() { } | ||
357 | public void llSetPayPrice() { } | ||
358 | public void llGetCameraPos() { } | ||
359 | public void llGetCameraRot() { } | ||
360 | public void llSetPrimURL() { } | ||
361 | public void llRefreshPrimURL() { } | ||
362 | public void llEscapeURL() { } | ||
363 | public void llUnescapeURL() { } | ||
364 | public void llMapDestination() { } | ||
365 | public void llAddToLandBanList() { } | ||
366 | public void llRemoveFromLandPassList() { } | ||
367 | public void llRemoveFromLandBanList() { } | ||
368 | public void llSetCameraParams() { } | ||
369 | public void llClearCameraParams() { } | ||
370 | public void llListStatistics() { } | ||
371 | public void llGetUnixTime() { } | ||
372 | public void llGetParcelFlags() { } | ||
373 | public void llGetRegionFlags() { } | ||
374 | public void llXorBase64StringsCorrect() { } | ||
375 | public void llHTTPRequest() { } | ||
376 | public void llResetLandBanList() { } | ||
377 | public void llResetLandPassList() { } | ||
378 | public void llGetParcelPrimCount() { } | ||
379 | public void llGetParcelPrimOwners() { } | ||
380 | public void llGetObjectPrimCount() { } | ||
381 | public void llGetParcelMaxPrims() { } | ||
382 | public void llGetParcelDetails() { } | ||
383 | |||
384 | |||
385 | |||
386 | } | ||
387 | } | ||