aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs560
1 files changed, 0 insertions, 560 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs
deleted file mode 100644
index a7e3018..0000000
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/LSO_Enums.cs
+++ /dev/null
@@ -1,560 +0,0 @@
1/*
2* Copyright (c) Contributors, http://opensimulator.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;
30
31namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO
32{
33 public static class LSO_Enums
34 {
35 //public System.Collections.Generic.Dictionary<Byte, Type> OpCode_Add_Types;
36
37 //LSO_Enums() {
38 // OpCode_Add_Types.Add(51, typeof(String));
39 // OpCode_Add_Types.Add(17, typeof(UInt32));
40 //}
41
42 [Serializable]
43 public enum OpCode_Add_TypeDefs
44 {
45 String = 51,
46 UInt32 = 17
47 }
48
49 [Serializable]
50 public enum OpCode_Cast_TypeDefs
51 {
52 String = 19
53 }
54
55 [Serializable]
56 public struct Key
57 {
58 public string KeyString;
59 }
60
61 [Serializable]
62 public struct Vector
63 {
64 public UInt32 Z;
65 public UInt32 Y;
66 public UInt32 X;
67 }
68
69 [Serializable]
70 public struct Rotation
71 {
72 public UInt32 S;
73 public UInt32 Z;
74 public UInt32 Y;
75 public UInt32 X;
76 }
77
78 [Serializable]
79 public enum Variable_Type_Codes
80 {
81 Void = 0,
82 Integer = 1,
83 Float = 2,
84 String = 3,
85 Key = 4,
86 Vector = 5,
87 Rotation = 6,
88 List = 7,
89 Null = 8
90 }
91
92 [Serializable]
93 public enum Event_Mask_Values
94 {
95 state_entry = 0,
96 state_exit = 1,
97 touch_start = 2,
98 touch = 3,
99 touch_end = 4,
100 collision_start = 5,
101 collision = 6,
102 collision_end = 7,
103 land_collision_start = 8,
104 land_collision = 9,
105 land_collision_end = 10,
106 timer = 11,
107 listen = 12,
108 on_rez = 13,
109 sensor = 14,
110 no_sensor = 15,
111 control = 16,
112 money = 17,
113 email = 18,
114 at_target = 19,
115 not_at_target = 20,
116 at_rot_target = 21,
117 not_at_rot_target = 22,
118 run_time_permissions = 23,
119 changed = 24,
120 attach = 25,
121 dataserver = 26,
122 link_message = 27,
123 moving_start = 28,
124 moving_end = 29,
125 object_rez = 30,
126 remote_data = 31,
127 http_response = 32
128 }
129
130 [Serializable]
131 public enum Operation_Table
132 {
133 NOOP = 0x0,
134 POP = 0x1,
135 POPS = 0x2,
136 POPL = 0x3,
137 POPV = 0x4,
138 POPQ = 0x5,
139 POPARG = 0x6,
140 POPIP = 0x7,
141 POPBP = 0x8,
142 POPSP = 0x9,
143 POPSLR = 0xa,
144 DUP = 0x20,
145 DUPS = 0x21,
146 DUPL = 0x22,
147 DUPV = 0x23,
148 DUPQ = 0x24,
149 STORE = 0x30,
150 STORES = 0x31,
151 STOREL = 0x32,
152 STOREV = 0x33,
153 STOREQ = 0x34,
154 STOREG = 0x35,
155 STOREGS = 0x36,
156 STOREGL = 0x37,
157 STOREGV = 0x38,
158 STOREGQ = 0x39,
159 LOADP = 0x3a,
160 LOADSP = 0x3b,
161 LOADLP = 0x3c,
162 LOADVP = 0x3d,
163 LOADQP = 0x3e,
164 LOADGP = 0x3f,
165 LOADGSP = 0x40,
166 LOADGLP = 0x41,
167 LOADGVP = 0x42,
168 LOADGQP = 0x43,
169 PUSH = 0x50,
170 PUSHS = 0x51,
171 PUSHL = 0x52,
172 PUSHV = 0x53,
173 PUSHQ = 0x54,
174 PUSHG = 0x55,
175 PUSHGS = 0x56,
176 PUSHGL = 0x57,
177 PUSHGV = 0x58,
178 PUSHGQ = 0x59,
179 PUSHIP = 0x5a,
180 PUSHBP = 0x5b,
181 PUSHSP = 0x5c,
182 PUSHARGB = 0x5d,
183 PUSHARGI = 0x5e,
184 PUSHARGF = 0x5f,
185 PUSHARGS = 0x60,
186 PUSHARGV = 0x61,
187 PUSHARGQ = 0x62,
188 PUSHE = 0x63,
189 PUSHEV = 0x64,
190 PUSHEQ = 0x65,
191 PUSHARGE = 0x66,
192 ADD = 0x70,
193 SUB = 0x71,
194 MUL = 0x72,
195 DIV = 0x73,
196 MOD = 0x74,
197 EQ = 0x75,
198 NEQ = 0x76,
199 LEQ = 0x77,
200 GEQ = 0x78,
201 LESS = 0x79,
202 GREATER = 0x7a,
203 BITAND = 0x7b,
204 BITOR = 0x7c,
205 BITXOR = 0x7d,
206 BOOLAND = 0x7e,
207 BOOLOR = 0x7f,
208 NEG = 0x80,
209 BITNOT = 0x81,
210 BOOLNOT = 0x82,
211 JUMP = 0x90,
212 JUMPIF = 0x91,
213 JUMPNIF = 0x92,
214 STATE = 0x93,
215 CALL = 0x94,
216 RETURN = 0x95,
217 CAST = 0xa0,
218 STACKTOS = 0xb0,
219 STACKTOL = 0xb1,
220 PRINT = 0xc0,
221 CALLLIB = 0xd0,
222 CALLLIB_TWO_BYTE = 0xd1,
223 SHL = 0xe0,
224 SHR = 0xe1
225 }
226
227 [Serializable]
228 public enum BuiltIn_Functions
229 {
230 llSin = 0,
231 llCos = 1,
232 llTan = 2,
233 llAtan2 = 3,
234 llSqrt = 4,
235 llPow = 5,
236 llAbs = 6,
237 llFabs = 7,
238 llFrand = 8,
239 llFloor = 9,
240 llCeil = 10,
241 llRound = 11,
242 llVecMag = 12,
243 llVecNorm = 13,
244 llVecDist = 14,
245 llRot2Euler = 15,
246 llEuler2Rot = 16,
247 llAxes2Rot = 17,
248 llRot2Fwd = 18,
249 llRot2Left = 19,
250 llRot2Up = 20,
251 llRotBetween = 21,
252 llWhisper = 22,
253 llSay = 23,
254 llShout = 24,
255 llListen = 25,
256 llListenControl = 26,
257 llListenRemove = 27,
258 llSensor = 28,
259 llSensorRepeat = 29,
260 llSensorRemove = 30,
261 llDetectedName = 31,
262 llDetectedKey = 32,
263 llDetectedOwner = 33,
264 llDetectedType = 34,
265 llDetectedPos = 35,
266 llDetectedVel = 36,
267 llDetectedGrab = 37,
268 llDetectedRot = 38,
269 llDetectedGroup = 39,
270 llDetectedLinkNumber = 40,
271 llDie = 41,
272 llGround = 42,
273 llCloud = 43,
274 llWind = 44,
275 llSetStatus = 45,
276 llGetStatus = 46,
277 llSetScale = 47,
278 llGetScale = 48,
279 llSetColor = 49,
280 llGetAlpha = 50,
281 llSetAlpha = 51,
282 llGetColor = 52,
283 llSetTexture = 53,
284 llScaleTexture = 54,
285 llOffsetTexture = 55,
286 llRotateTexture = 56,
287 llGetTexture = 57,
288 llSetPos = 58,
289 llGetPos = 59,
290 llGetLocalPos = 60,
291 llSetRot = 61,
292 llGetRot = 62,
293 llGetLocalRot = 63,
294 llSetForce = 64,
295 llGetForce = 65,
296 llTarget = 66,
297 llTargetRemove = 67,
298 llRotTarget = 68,
299 llRotTargetRemove = 69,
300 llMoveToTarget = 70,
301 llStopMoveToTarget = 71,
302 llApplyImpulse = 72,
303 llApplyRotationalImpulse = 73,
304 llSetTorque = 74,
305 llGetTorque = 75,
306 llSetForceAndTorque = 76,
307 llGetVel = 77,
308 llGetAccel = 78,
309 llGetOmega = 79,
310 llGetTimeOfDay = 80,
311 llGetWallclock = 81,
312 llGetTime = 82,
313 llResetTime = 83,
314 llGetAndResetTime = 84,
315 llSound = 85,
316 llPlaySound = 86,
317 llLoopSound = 87,
318 llLoopSoundMaster = 88,
319 llLoopSoundSlave = 89,
320 llPlaySoundSlave = 90,
321 llTriggerSound = 91,
322 llStopSound = 92,
323 llPreloadSound = 93,
324 llGetSubString = 94,
325 llDeleteSubString = 95,
326 llInsertString = 96,
327 llToUpper = 97,
328 llToLower = 98,
329 llGiveMoney = 99,
330 llMakeExplosion = 100,
331 llMakeFountain = 101,
332 llMakeSmoke = 102,
333 llMakeFire = 103,
334 llRezObject = 104,
335 llLookAt = 105,
336 llStopLookAt = 106,
337 llSetTimerEvent = 107,
338 llSleep = 108,
339 llGetMass = 109,
340 llCollisionFilter = 110,
341 llTakeControls = 111,
342 llReleaseControls = 112,
343 llAttachToAvatar = 113,
344 llDetachFromAvatar = 114,
345 llTakeCamera = 115,
346 llReleaseCamera = 116,
347 llGetOwner = 117,
348 llInstantMessage = 118,
349 llEmail = 119,
350 llGetNextEmail = 120,
351 llGetKey = 121,
352 llSetBuoyancy = 122,
353 llSetHoverHeight = 123,
354 llStopHover = 124,
355 llMinEventDelay = 125,
356 llSoundPreload = 126,
357 llRotLookAt = 127,
358 llStringLength = 128,
359 llStartAnimation = 129,
360 llStopAnimation = 130,
361 llPointAt = 131,
362 llStopPointAt = 132,
363 llTargetOmega = 133,
364 llGetStartParameter = 134,
365 llGodLikeRezObject = 135,
366 llRequestPermissions = 136,
367 llGetPermissionsKey = 137,
368 llGetPermissions = 138,
369 llGetLinkNumber = 139,
370 llSetLinkColor = 140,
371 llCreateLink = 141,
372 llBreakLink = 142,
373 llBreakAllLinks = 143,
374 llGetLinkKey = 144,
375 llGetLinkName = 145,
376 llGetInventoryNumber = 146,
377 llGetInventoryName = 147,
378 llSetScriptState = 148,
379 llGetEnergy = 149,
380 llGiveInventory = 150,
381 llRemoveInventory = 151,
382 llSetText = 152,
383 llWater = 153,
384 llPassTouches = 154,
385 llRequestAgentData = 155,
386 llRequestInventoryData = 156,
387 llSetDamage = 157,
388 llTeleportAgentHome = 158,
389 llModifyLand = 159,
390 llCollisionSound = 160,
391 llCollisionSprite = 161,
392 llGetAnimation = 162,
393 llResetScript = 163,
394 llMessageLinked = 164,
395 llPushObject = 165,
396 llPassCollisions = 166,
397 llGetScriptName = 167,
398 llGetNumberOfSides = 168,
399 llAxisAngle2Rot = 169,
400 llRot2Axis = 170,
401 llRot2Angle = 171,
402 llAcos = 172,
403 llAsin = 173,
404 llAngleBetween = 174,
405 llGetInventoryKey = 175,
406 llAllowInventoryDrop = 176,
407 llGetSunDirection = 177,
408 llGetTextureOffset = 178,
409 llGetTextureScale = 179,
410 llGetTextureRot = 180,
411 llSubStringIndex = 181,
412 llGetOwnerKey = 182,
413 llGetCenterOfMass = 183,
414 llListSort = 184,
415 llGetListLength = 185,
416 llList2Integer = 186,
417 llList2Float = 187,
418 llList2String = 188,
419 llList2Key = 189,
420 llList2Vector = 190,
421 llList2Rot = 191,
422 llList2List = 192,
423 llDeleteSubList = 193,
424 llGetListEntryType = 194,
425 llList2CSV = 195,
426 llCSV2List = 196,
427 llListRandomize = 197,
428 llList2ListStrided = 198,
429 llGetRegionCorner = 199,
430 llListInsertList = 200,
431 llListFindList = 201,
432 llGetObjectName = 202,
433 llSetObjectName = 203,
434 llGetDate = 204,
435 llEdgeOfWorld = 205,
436 llGetAgentInfo = 206,
437 llAdjustSoundVolume = 207,
438 llSetSoundQueueing = 208,
439 llSetSoundRadius = 209,
440 llKey2Name = 210,
441 llSetTextureAnim = 211,
442 llTriggerSoundLimited = 212,
443 llEjectFromLand = 213,
444 llParseString2List = 214,
445 llOverMyLand = 215,
446 llGetLandOwnerAt = 216,
447 llGetNotecardLine = 217,
448 llGetAgentSize = 218,
449 llSameGroup = 219,
450 llUnSit = 220,
451 llGroundSlope = 221,
452 llGroundNormal = 222,
453 llGroundContour = 223,
454 llGetAttached = 224,
455 llGetFreeMemory = 225,
456 llGetRegionName = 226,
457 llGetRegionTimeDilation = 227,
458 llGetRegionFPS = 228,
459 llParticleSystem = 229,
460 llGroundRepel = 230,
461 llGiveInventoryList = 231,
462 llSetVehicleType = 232,
463 llSetVehicleFloatParam = 233,
464 llSetVehicleVectorParam = 234,
465 llSetVehicleRotationParam = 235,
466 llSetVehicleFlags = 236,
467 llRemoveVehicleFlags = 237,
468 llSitTarget = 238,
469 llAvatarOnSitTarget = 239,
470 llAddToLandPassList = 240,
471 llSetTouchText = 241,
472 llSetSitText = 242,
473 llSetCameraEyeOffset = 243,
474 llSetCameraAtOffset = 244,
475 llDumpList2String = 245,
476 llScriptDanger = 246,
477 llDialog = 247,
478 llVolumeDetect = 248,
479 llResetOtherScript = 249,
480 llGetScriptState = 250,
481 llRemoteLoadScript = 251,
482 llSetRemoteScriptAccessPin = 252,
483 llRemoteLoadScriptPin = 253,
484 llOpenRemoteDataChannel = 254,
485 llSendRemoteData = 255,
486 llRemoteDataReply = 256,
487 llCloseRemoteDataChannel = 257,
488 llMD5String = 258,
489 llSetPrimitiveParams = 259,
490 llStringToBase64 = 260,
491 llBase64ToString = 261,
492 llXorBase64Strings = 262,
493 llRemoteDataSetRegion = 263,
494 llLog10 = 264,
495 llLog = 265,
496 llGetAnimationList = 266,
497 llSetParcelMusicURL = 267,
498 llGetRootPosition = 268,
499 llGetRootRotation = 269,
500 llGetObjectDesc = 270,
501 llSetObjectDesc = 271,
502 llGetCreator = 272,
503 llGetTimestamp = 273,
504 llSetLinkAlpha = 274,
505 llGetNumberOfPrims = 275,
506 llGetNumberOfNotecardLines = 276,
507 llGetBoundingBox = 277,
508 llGetGeometricCenter = 278,
509 llGetPrimitiveParams = 279,
510 llIntegerToBase64 = 280,
511 llBase64ToInteger = 281,
512 llGetGMTclock = 282,
513 llGetSimulatorHostname = 283,
514 llSetLocalRot = 284,
515 llParseStringKeepNulls = 285,
516 llRezAtRoot = 286,
517 llGetObjectPermMask = 287,
518 llSetObjectPermMask = 288,
519 llGetInventoryPermMask = 289,
520 llSetInventoryPermMask = 290,
521 llGetInventoryCreator = 291,
522 llOwnerSay = 292,
523 llRequestSimulatorData = 293,
524 llForceMouselook = 294,
525 llGetObjectMass = 295,
526 llListReplaceList = 296,
527 llLoadURL = 297,
528 llParcelMediaCommandList = 298,
529 llParcelMediaQuery = 299,
530 llModPow = 300,
531 llGetInventoryType = 301,
532 llSetPayPrice = 302,
533 llGetCameraPos = 303,
534 llGetCameraRot = 304,
535 llSetPrimURL = 305,
536 llRefreshPrimURL = 306,
537 llEscapeURL = 307,
538 llUnescapeURL = 308,
539 llMapDestination = 309,
540 llAddToLandBanList = 310,
541 llRemoveFromLandPassList = 311,
542 llRemoveFromLandBanList = 312,
543 llSetCameraParams = 313,
544 llClearCameraParams = 314,
545 llListStatistics = 315,
546 llGetUnixTime = 316,
547 llGetParcelFlags = 317,
548 llGetRegionFlags = 318,
549 llXorBase64StringsCorrect = 319,
550 llHTTPRequest = 320,
551 llResetLandBanList = 321,
552 llResetLandPassList = 322,
553 llGetParcelPrimCount = 323,
554 llGetParcelPrimOwners = 324,
555 llGetObjectPrimCount = 325,
556 llGetParcelMaxPrims = 326,
557 llGetParcelDetails = 327
558 }
559 }
560} \ No newline at end of file