aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-08-12 17:37:37 +0000
committerTedd Hansen2007-08-12 17:37:37 +0000
commitfd63c0cd32739f99af0c93ee3115212bb695f063 (patch)
tree5c95d50a2559fcab8815694999b03e12c67d402c /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs
parentScript now compiles unsuccessfully (diff)
downloadopensim-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_TestImplementation.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_TestImplementation.cs387
1 files changed, 0 insertions, 387 deletions
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 */
29using System;
30using System.Collections.Generic;
31using System.Text;
32
33namespace 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}