aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTedd Hansen2008-02-24 16:41:56 +0000
committerTedd Hansen2008-02-24 16:41:56 +0000
commit8af64c979fcc993615243d66f03903173ab933b0 (patch)
tree2eb740170947f48af679b673ac50832f11411f30
parentForgot to change what class compiled scripts must inherit from to get their c... (diff)
downloadopensim-SC_OLD-8af64c979fcc993615243d66f03903173ab933b0.zip
opensim-SC_OLD-8af64c979fcc993615243d66f03903173ab933b0.tar.gz
opensim-SC_OLD-8af64c979fcc993615243d66f03903173ab933b0.tar.bz2
opensim-SC_OLD-8af64c979fcc993615243d66f03903173ab933b0.tar.xz
By now you all have learned that when I'm committing scripting usually doesn't work, so no big surprise. :)
Modified baseclass for compiled script to incorp new OSSL commands class and renamed it to follow standards and all that. Scripts may work again. :)
-rw-r--r--OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs (renamed from OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs)4428
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs110
-rw-r--r--OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs4
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs6
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/LSO/Engine.cs6
-rw-r--r--OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs8
6 files changed, 2284 insertions, 2278 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
index 58f58aa..9c87964 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
@@ -1,2212 +1,2216 @@
1/* 1/*
2* Copyright (c) Contributors, http://opensimulator.org/ 2* Copyright (c) Contributors, http://opensimulator.org/
3* See CONTRIBUTORS.TXT for a full list of copyright holders. 3* See CONTRIBUTORS.TXT for a full list of copyright holders.
4* 4*
5* Redistribution and use in source and binary forms, with or without 5* Redistribution and use in source and binary forms, with or without
6* modification, are permitted provided that the following conditions are met: 6* modification, are permitted provided that the following conditions are met:
7* * Redistributions of source code must retain the above copyright 7* * Redistributions of source code must retain the above copyright
8* notice, this list of conditions and the following disclaimer. 8* notice, this list of conditions and the following disclaimer.
9* * Redistributions in binary form must reproduce the above copyright 9* * Redistributions in binary form must reproduce the above copyright
10* notice, this list of conditions and the following disclaimer in the 10* notice, this list of conditions and the following disclaimer in the
11* documentation and/or other materials provided with the distribution. 11* documentation and/or other materials provided with the distribution.
12* * Neither the name of the OpenSim Project nor the 12* * Neither the name of the OpenSim Project nor the
13* names of its contributors may be used to endorse or promote products 13* names of its contributors may be used to endorse or promote products
14* derived from this software without specific prior written permission. 14* derived from this software without specific prior written permission.
15* 15*
16* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY 16* THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 17* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 18* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY 19* DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 20* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 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 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 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 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. 25* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26* 26*
27*/ 27*/
28 28
29using System; 29using System;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Runtime.Remoting.Lifetime; 31using System.Runtime.Remoting.Lifetime;
32using System.Threading; 32using System.Threading;
33using OpenSim.Region.ScriptEngine.Common; 33using OpenSim.Region.ScriptEngine.Common;
34using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase; 34using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
35using integer = System.Int32; 35using integer = System.Int32;
36using key = System.String; 36using key = System.String;
37using vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3; 37using vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3;
38using rotation = OpenSim.Region.ScriptEngine.Common.LSL_Types.Quaternion; 38using rotation = OpenSim.Region.ScriptEngine.Common.LSL_Types.Quaternion;
39 39
40namespace OpenSim.Region.ScriptEngine.Common 40namespace OpenSim.Region.ScriptEngine.Common
41{ 41{
42 public class LSL_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript 42 public class BuiltIn_Commands_BaseClass : MarshalByRefObject, LSL_BuiltIn_Commands_Interface, IScript
43 { 43 {
44 // 44 //
45 // Included as base for any LSL-script that is compiled. 45 // Included as base for any LSL-script that is compiled.
46 // Any function added here will be accessible to the LSL script. But it must also be added to "LSL_BuiltIn_Commands_Interface" in "OpenSim.Region.ScriptEngine.Common" class. 46 // Any function added here will be accessible to the LSL script. But it must also be added to "LSL_BuiltIn_Commands_Interface" in "OpenSim.Region.ScriptEngine.Common" class.
47 // 47 //
48 // Security note: This script will be running inside an restricted AppDomain. Currently AppDomain is not very restricted. 48 // Security note: This script will be running inside an restricted AppDomain. Currently AppDomain is not very restricted.
49 // 49 //
50 50
51 //private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 51 //private static readonly log4net.ILog m_log = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
52 52
53 // Object never expires 53 // Object never expires
54 public override Object InitializeLifetimeService() 54 public override Object InitializeLifetimeService()
55 { 55 {
56 //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()"); 56 //Console.WriteLine("LSL_BaseClass: InitializeLifetimeService()");
57 // return null; 57 // return null;
58 ILease lease = (ILease)base.InitializeLifetimeService(); 58 ILease lease = (ILease)base.InitializeLifetimeService();
59 59
60 if (lease.CurrentState == LeaseState.Initial) 60 if (lease.CurrentState == LeaseState.Initial)
61 { 61 {
62 lease.InitialLeaseTime = TimeSpan.Zero; // TimeSpan.FromMinutes(1); 62 lease.InitialLeaseTime = TimeSpan.Zero; // TimeSpan.FromMinutes(1);
63 //lease.SponsorshipTimeout = TimeSpan.FromMinutes(2); 63 //lease.SponsorshipTimeout = TimeSpan.FromMinutes(2);
64 //lease.RenewOnCallTime = TimeSpan.FromSeconds(2); 64 //lease.RenewOnCallTime = TimeSpan.FromSeconds(2);
65 } 65 }
66 return lease; 66 return lease;
67 } 67 }
68 68
69 public EventQueueManager.Queue_llDetectParams_Struct _llDetectParams; 69 public EventQueueManager.Queue_llDetectParams_Struct _llDetectParams;
70 EventQueueManager.Queue_llDetectParams_Struct IScript.llDetectParams 70 EventQueueManager.Queue_llDetectParams_Struct IScript.llDetectParams
71 { 71 {
72 get { return _llDetectParams; } 72 get { return _llDetectParams; }
73 set { _llDetectParams = value; } 73 set { _llDetectParams = value; }
74 } 74 }
75 75
76 private Executor m_Exec; 76 private Executor m_Exec;
77 77
78 ExecutorBase IScript.Exec 78 ExecutorBase IScript.Exec
79 { 79 {
80 get 80 get
81 { 81 {
82 if (m_Exec == null) 82 if (m_Exec == null)
83 m_Exec = new Executor(this); 83 m_Exec = new Executor(this);
84 return m_Exec; 84 return m_Exec;
85 } 85 }
86 } 86 }
87 87
88 88
89 public BuilIn_Commands m_LSL_Functions; 89 public BuilIn_Commands m_LSL_Functions;
90 private string _Source = String.Empty; 90 private string _Source = String.Empty;
91 public string Source 91 public string Source
92 { 92 {
93 get 93 get
94 { 94 {
95 return _Source; 95 return _Source;
96 } 96 }
97 set { _Source = value; } 97 set { _Source = value; }
98 } 98 }
99 99
100 100
101 public LSL_BaseClass() 101 public BuiltIn_Commands_BaseClass()
102 { 102 {
103 } 103 }
104 104
105 public string State 105 public string State
106 { 106 {
107 get { return m_LSL_Functions.State; } 107 get { return m_LSL_Functions.State; }
108 set { m_LSL_Functions.State = value; } 108 set { m_LSL_Functions.State = value; }
109 } 109 }
110 110
111 111
112 112
113 public void Start(BuilIn_Commands LSL_Functions) 113 public void Start(BuilIn_Commands LSL_Functions)
114 { 114 {
115 m_LSL_Functions = LSL_Functions; 115 m_LSL_Functions = LSL_Functions;
116 116
117 //m_log.Info(ScriptEngineName, "LSL_BaseClass.Start() called."); 117 //m_log.Info(ScriptEngineName, "LSL_BaseClass.Start() called.");
118 118
119 // Get this AppDomain's settings and display some of them. 119 // Get this AppDomain's settings and display some of them.
120 AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation; 120 AppDomainSetup ads = AppDomain.CurrentDomain.SetupInformation;
121 Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}", 121 Console.WriteLine("AppName={0}, AppBase={1}, ConfigFile={2}",
122 ads.ApplicationName, 122 ads.ApplicationName,
123 ads.ApplicationBase, 123 ads.ApplicationBase,
124 ads.ConfigurationFile 124 ads.ConfigurationFile
125 ); 125 );
126 126
127 // Display the name of the calling AppDomain and the name 127 // Display the name of the calling AppDomain and the name
128 // of the second domain. 128 // of the second domain.
129 // NOTE: The application's thread has transitioned between 129 // NOTE: The application's thread has transitioned between
130 // AppDomains. 130 // AppDomains.
131 Console.WriteLine("Calling to '{0}'.", 131 Console.WriteLine("Calling to '{0}'.",
132 Thread.GetDomain().FriendlyName 132 Thread.GetDomain().FriendlyName
133 ); 133 );
134 134
135 return; 135 return;
136 } 136 }
137 137
138 138
139 139
140 140 public OSSL_BuilIn_Commands.OSSLPrim Prim {
141 // 141 get { return m_LSL_Functions.Prim; }
142 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 142 }
143 // 143
144 // They are only forwarders to LSL_BuiltIn_Commands.cs 144
145 // 145 //
146 public double llSin(double f) 146 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
147 { 147 //
148 return m_LSL_Functions.llSin(f); 148 // They are only forwarders to LSL_BuiltIn_Commands.cs
149 } 149 //
150 150 public double llSin(double f)
151 public double llCos(double f) 151 {
152 { 152 return m_LSL_Functions.llSin(f);
153 return m_LSL_Functions.llCos(f); 153 }
154 } 154
155 155 public double llCos(double f)
156 public double llTan(double f) 156 {
157 { 157 return m_LSL_Functions.llCos(f);
158 return m_LSL_Functions.llTan(f); 158 }
159 } 159
160 160 public double llTan(double f)
161 public double llAtan2(double x, double y) 161 {
162 { 162 return m_LSL_Functions.llTan(f);
163 return m_LSL_Functions.llAtan2(x, y); 163 }
164 } 164
165 165 public double llAtan2(double x, double y)
166 public double llSqrt(double f) 166 {
167 { 167 return m_LSL_Functions.llAtan2(x, y);
168 return m_LSL_Functions.llSqrt(f); 168 }
169 } 169
170 170 public double llSqrt(double f)
171 public double llPow(double fbase, double fexponent) 171 {
172 { 172 return m_LSL_Functions.llSqrt(f);
173 return m_LSL_Functions.llPow(fbase, fexponent); 173 }
174 } 174
175 175 public double llPow(double fbase, double fexponent)
176 public int llAbs(int i) 176 {
177 { 177 return m_LSL_Functions.llPow(fbase, fexponent);
178 return m_LSL_Functions.llAbs(i); 178 }
179 } 179
180 180 public int llAbs(int i)
181 public double llFabs(double f) 181 {
182 { 182 return m_LSL_Functions.llAbs(i);
183 return m_LSL_Functions.llFabs(f); 183 }
184 } 184
185 185 public double llFabs(double f)
186 public double llFrand(double mag) 186 {
187 { 187 return m_LSL_Functions.llFabs(f);
188 return m_LSL_Functions.llFrand(mag); 188 }
189 } 189
190 190 public double llFrand(double mag)
191 public int llFloor(double f) 191 {
192 { 192 return m_LSL_Functions.llFrand(mag);
193 return m_LSL_Functions.llFloor(f); 193 }
194 } 194
195 195 public int llFloor(double f)
196 public int llCeil(double f) 196 {
197 { 197 return m_LSL_Functions.llFloor(f);
198 return m_LSL_Functions.llCeil(f); 198 }
199 } 199
200 200 public int llCeil(double f)
201 public int llRound(double f) 201 {
202 { 202 return m_LSL_Functions.llCeil(f);
203 return m_LSL_Functions.llRound(f); 203 }
204 } 204
205 205 public int llRound(double f)
206 public double llVecMag(vector v) 206 {
207 { 207 return m_LSL_Functions.llRound(f);
208 return m_LSL_Functions.llVecMag(v); 208 }
209 } 209
210 210 public double llVecMag(vector v)
211 public vector llVecNorm(vector v) 211 {
212 { 212 return m_LSL_Functions.llVecMag(v);
213 return m_LSL_Functions.llVecNorm(v); 213 }
214 } 214
215 215 public vector llVecNorm(vector v)
216 public double llVecDist(vector a, vector b) 216 {
217 { 217 return m_LSL_Functions.llVecNorm(v);
218 return m_LSL_Functions.llVecDist(a, b); 218 }
219 } 219
220 220 public double llVecDist(vector a, vector b)
221 public vector llRot2Euler(rotation r) 221 {
222 { 222 return m_LSL_Functions.llVecDist(a, b);
223 return m_LSL_Functions.llRot2Euler(r); 223 }
224 } 224
225 225 public vector llRot2Euler(rotation r)
226 public rotation llEuler2Rot(vector v) 226 {
227 { 227 return m_LSL_Functions.llRot2Euler(r);
228 return m_LSL_Functions.llEuler2Rot(v); 228 }
229 } 229
230 230 public rotation llEuler2Rot(vector v)
231 public rotation llAxes2Rot(vector fwd, vector left, vector up) 231 {
232 { 232 return m_LSL_Functions.llEuler2Rot(v);
233 return m_LSL_Functions.llAxes2Rot(fwd, left, up); 233 }
234 } 234
235 235 public rotation llAxes2Rot(vector fwd, vector left, vector up)
236 public vector llRot2Fwd(rotation r) 236 {
237 { 237 return m_LSL_Functions.llAxes2Rot(fwd, left, up);
238 return m_LSL_Functions.llRot2Fwd(r); 238 }
239 } 239
240 240 public vector llRot2Fwd(rotation r)
241 public vector llRot2Left(rotation r) 241 {
242 { 242 return m_LSL_Functions.llRot2Fwd(r);
243 return m_LSL_Functions.llRot2Left(r); 243 }
244 } 244
245 245 public vector llRot2Left(rotation r)
246 public vector llRot2Up(rotation r) 246 {
247 { 247 return m_LSL_Functions.llRot2Left(r);
248 return m_LSL_Functions.llRot2Up(r); 248 }
249 } 249
250 250 public vector llRot2Up(rotation r)
251 public rotation llRotBetween(vector start, vector end) 251 {
252 { 252 return m_LSL_Functions.llRot2Up(r);
253 return m_LSL_Functions.llRotBetween(start, end); 253 }
254 } 254
255 255 public rotation llRotBetween(vector start, vector end)
256 public void llWhisper(int channelID, string text) 256 {
257 { 257 return m_LSL_Functions.llRotBetween(start, end);
258 m_LSL_Functions.llWhisper(channelID, text); 258 }
259 } 259
260 260 public void llWhisper(int channelID, string text)
261 public void llSay(int channelID, string text) 261 {
262 { 262 m_LSL_Functions.llWhisper(channelID, text);
263 m_LSL_Functions.llSay(channelID, text); 263 }
264 } 264
265 265 public void llSay(int channelID, string text)
266 // 266 {
267 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 267 m_LSL_Functions.llSay(channelID, text);
268 // 268 }
269 public void llShout(int channelID, string text) 269
270 { 270 //
271 m_LSL_Functions.llShout(channelID, text); 271 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
272 } 272 //
273 273 public void llShout(int channelID, string text)
274 public int llListen(int channelID, string name, string ID, string msg) 274 {
275 { 275 m_LSL_Functions.llShout(channelID, text);
276 return m_LSL_Functions.llListen(channelID, name, ID, msg); 276 }
277 } 277
278 278 public int llListen(int channelID, string name, string ID, string msg)
279 public void llListenControl(int number, int active) 279 {
280 { 280 return m_LSL_Functions.llListen(channelID, name, ID, msg);
281 m_LSL_Functions.llListenControl(number, active); 281 }
282 } 282
283 283 public void llListenControl(int number, int active)
284 public void llListenRemove(int number) 284 {
285 { 285 m_LSL_Functions.llListenControl(number, active);
286 m_LSL_Functions.llListenRemove(number); 286 }
287 } 287
288 288 public void llListenRemove(int number)
289 public void llSensor(string name, string id, int type, double range, double arc) 289 {
290 { 290 m_LSL_Functions.llListenRemove(number);
291 m_LSL_Functions.llSensor(name, id, type, range, arc); 291 }
292 } 292
293 293 public void llSensor(string name, string id, int type, double range, double arc)
294 public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) 294 {
295 { 295 m_LSL_Functions.llSensor(name, id, type, range, arc);
296 m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate); 296 }
297 } 297
298 298 public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate)
299 public void llSensorRemove() 299 {
300 { 300 m_LSL_Functions.llSensorRepeat(name, id, type, range, arc, rate);
301 m_LSL_Functions.llSensorRemove(); 301 }
302 } 302
303 303 public void llSensorRemove()
304 public string llDetectedName(int number) 304 {
305 { 305 m_LSL_Functions.llSensorRemove();
306 return m_LSL_Functions.llDetectedName(number); 306 }
307 } 307
308 308 public string llDetectedName(int number)
309 public string llDetectedKey(int number) 309 {
310 { 310 return m_LSL_Functions.llDetectedName(number);
311 return m_LSL_Functions.llDetectedKey(number); 311 }
312 } 312
313 313 public string llDetectedKey(int number)
314 public string llDetectedOwner(int number) 314 {
315 { 315 return m_LSL_Functions.llDetectedKey(number);
316 return m_LSL_Functions.llDetectedOwner(number); 316 }
317 } 317
318 318 public string llDetectedOwner(int number)
319 public int llDetectedType(int number) 319 {
320 { 320 return m_LSL_Functions.llDetectedOwner(number);
321 return m_LSL_Functions.llDetectedType(number); 321 }
322 } 322
323 323 public int llDetectedType(int number)
324 public vector llDetectedPos(int number) 324 {
325 { 325 return m_LSL_Functions.llDetectedType(number);
326 return m_LSL_Functions.llDetectedPos(number); 326 }
327 } 327
328 328 public vector llDetectedPos(int number)
329 public vector llDetectedVel(int number) 329 {
330 { 330 return m_LSL_Functions.llDetectedPos(number);
331 return m_LSL_Functions.llDetectedVel(number); 331 }
332 } 332
333 333 public vector llDetectedVel(int number)
334 public vector llDetectedGrab(int number) 334 {
335 { 335 return m_LSL_Functions.llDetectedVel(number);
336 return m_LSL_Functions.llDetectedGrab(number); 336 }
337 } 337
338 338 public vector llDetectedGrab(int number)
339 public rotation llDetectedRot(int number) 339 {
340 { 340 return m_LSL_Functions.llDetectedGrab(number);
341 return m_LSL_Functions.llDetectedRot(number); 341 }
342 } 342
343 343 public rotation llDetectedRot(int number)
344 public int llDetectedGroup(int number) 344 {
345 { 345 return m_LSL_Functions.llDetectedRot(number);
346 return m_LSL_Functions.llDetectedGroup(number); 346 }
347 } 347
348 348 public int llDetectedGroup(int number)
349 public int llDetectedLinkNumber(int number) 349 {
350 { 350 return m_LSL_Functions.llDetectedGroup(number);
351 return m_LSL_Functions.llDetectedLinkNumber(number); 351 }
352 } 352
353 353 public int llDetectedLinkNumber(int number)
354 // 354 {
355 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 355 return m_LSL_Functions.llDetectedLinkNumber(number);
356 // 356 }
357 public void llDie() 357
358 { 358 //
359 m_LSL_Functions.llDie(); 359 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
360 } 360 //
361 361 public void llDie()
362 public double llGround(vector offset) 362 {
363 { 363 m_LSL_Functions.llDie();
364 return m_LSL_Functions.llGround(offset); 364 }
365 } 365
366 366 public double llGround(vector offset)
367 public double llCloud(vector offset) 367 {
368 { 368 return m_LSL_Functions.llGround(offset);
369 return m_LSL_Functions.llCloud(offset); 369 }
370 } 370
371 371 public double llCloud(vector offset)
372 public vector llWind(vector offset) 372 {
373 { 373 return m_LSL_Functions.llCloud(offset);
374 return m_LSL_Functions.llWind(offset); 374 }
375 } 375
376 376 public vector llWind(vector offset)
377 public void llSetStatus(int status, int value) 377 {
378 { 378 return m_LSL_Functions.llWind(offset);
379 m_LSL_Functions.llSetStatus(status, value); 379 }
380 } 380
381 381 public void llSetStatus(int status, int value)
382 public int llGetStatus(int status) 382 {
383 { 383 m_LSL_Functions.llSetStatus(status, value);
384 return m_LSL_Functions.llGetStatus(status); 384 }
385 } 385
386 386 public int llGetStatus(int status)
387 public void llSetScale(vector scale) 387 {
388 { 388 return m_LSL_Functions.llGetStatus(status);
389 m_LSL_Functions.llSetScale(scale); 389 }
390 } 390
391 391 public void llSetScale(vector scale)
392 public vector llGetScale() 392 {
393 { 393 m_LSL_Functions.llSetScale(scale);
394 return m_LSL_Functions.llGetScale(); 394 }
395 } 395
396 396 public vector llGetScale()
397 public void llSetColor(vector color, int face) 397 {
398 { 398 return m_LSL_Functions.llGetScale();
399 m_LSL_Functions.llSetColor(color, face); 399 }
400 } 400
401 401 public void llSetColor(vector color, int face)
402 public double llGetAlpha(int face) 402 {
403 { 403 m_LSL_Functions.llSetColor(color, face);
404 return m_LSL_Functions.llGetAlpha(face); 404 }
405 } 405
406 406 public double llGetAlpha(int face)
407 public void llSetAlpha(double alpha, int face) 407 {
408 { 408 return m_LSL_Functions.llGetAlpha(face);
409 m_LSL_Functions.llSetAlpha(alpha, face); 409 }
410 } 410
411 411 public void llSetAlpha(double alpha, int face)
412 public vector llGetColor(int face) 412 {
413 { 413 m_LSL_Functions.llSetAlpha(alpha, face);
414 return m_LSL_Functions.llGetColor(face); 414 }
415 } 415
416 416 public vector llGetColor(int face)
417 public void llSetTexture(string texture, int face) 417 {
418 { 418 return m_LSL_Functions.llGetColor(face);
419 m_LSL_Functions.llSetTexture(texture, face); 419 }
420 } 420
421 421 public void llSetTexture(string texture, int face)
422 public void llScaleTexture(double u, double v, int face) 422 {
423 { 423 m_LSL_Functions.llSetTexture(texture, face);
424 m_LSL_Functions.llScaleTexture(u, v, face); 424 }
425 } 425
426 426 public void llScaleTexture(double u, double v, int face)
427 public void llOffsetTexture(double u, double v, int face) 427 {
428 { 428 m_LSL_Functions.llScaleTexture(u, v, face);
429 m_LSL_Functions.llOffsetTexture(u, v, face); 429 }
430 } 430
431 431 public void llOffsetTexture(double u, double v, int face)
432 public void llRotateTexture(double rotation, int face) 432 {
433 { 433 m_LSL_Functions.llOffsetTexture(u, v, face);
434 m_LSL_Functions.llRotateTexture(rotation, face); 434 }
435 } 435
436 436 public void llRotateTexture(double rotation, int face)
437 public string llGetTexture(int face) 437 {
438 { 438 m_LSL_Functions.llRotateTexture(rotation, face);
439 return m_LSL_Functions.llGetTexture(face); 439 }
440 } 440
441 441 public string llGetTexture(int face)
442 // 442 {
443 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 443 return m_LSL_Functions.llGetTexture(face);
444 // 444 }
445 public void llSetPos(vector pos) 445
446 { 446 //
447 m_LSL_Functions.llSetPos(pos); 447 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
448 } 448 //
449 449 public void llSetPos(vector pos)
450 public vector llGetPos() 450 {
451 { 451 m_LSL_Functions.llSetPos(pos);
452 return m_LSL_Functions.llGetPos(); 452 }
453 } 453
454 454 public vector llGetPos()
455 public vector llGetLocalPos() 455 {
456 { 456 return m_LSL_Functions.llGetPos();
457 return m_LSL_Functions.llGetLocalPos(); 457 }
458 } 458
459 459 public vector llGetLocalPos()
460 public void llSetRot(rotation rot) 460 {
461 { 461 return m_LSL_Functions.llGetLocalPos();
462 m_LSL_Functions.llSetRot(rot); 462 }
463 } 463
464 464 public void llSetRot(rotation rot)
465 public rotation llGetRot() 465 {
466 { 466 m_LSL_Functions.llSetRot(rot);
467 return m_LSL_Functions.llGetRot(); 467 }
468 } 468
469 469 public rotation llGetRot()
470 public rotation llGetLocalRot() 470 {
471 { 471 return m_LSL_Functions.llGetRot();
472 return m_LSL_Functions.llGetLocalRot(); 472 }
473 } 473
474 474 public rotation llGetLocalRot()
475 public void llSetForce(vector force, int local) 475 {
476 { 476 return m_LSL_Functions.llGetLocalRot();
477 m_LSL_Functions.llSetForce(force, local); 477 }
478 } 478
479 479 public void llSetForce(vector force, int local)
480 public vector llGetForce() 480 {
481 { 481 m_LSL_Functions.llSetForce(force, local);
482 return m_LSL_Functions.llGetForce(); 482 }
483 } 483
484 484 public vector llGetForce()
485 public int llTarget(vector position, double range) 485 {
486 { 486 return m_LSL_Functions.llGetForce();
487 return m_LSL_Functions.llTarget(position, range); 487 }
488 } 488
489 489 public int llTarget(vector position, double range)
490 public void llTargetRemove(int number) 490 {
491 { 491 return m_LSL_Functions.llTarget(position, range);
492 m_LSL_Functions.llTargetRemove(number); 492 }
493 } 493
494 494 public void llTargetRemove(int number)
495 public int llRotTarget(rotation rot, double error) 495 {
496 { 496 m_LSL_Functions.llTargetRemove(number);
497 return m_LSL_Functions.llRotTarget(rot, error); 497 }
498 } 498
499 499 public int llRotTarget(rotation rot, double error)
500 public void llRotTargetRemove(int number) 500 {
501 { 501 return m_LSL_Functions.llRotTarget(rot, error);
502 m_LSL_Functions.llRotTargetRemove(number); 502 }
503 } 503
504 504 public void llRotTargetRemove(int number)
505 public void llMoveToTarget(vector target, double tau) 505 {
506 { 506 m_LSL_Functions.llRotTargetRemove(number);
507 m_LSL_Functions.llMoveToTarget(target, tau); 507 }
508 } 508
509 509 public void llMoveToTarget(vector target, double tau)
510 public void llStopMoveToTarget() 510 {
511 { 511 m_LSL_Functions.llMoveToTarget(target, tau);
512 m_LSL_Functions.llStopMoveToTarget(); 512 }
513 } 513
514 514 public void llStopMoveToTarget()
515 public void llApplyImpulse(vector force, int local) 515 {
516 { 516 m_LSL_Functions.llStopMoveToTarget();
517 m_LSL_Functions.llApplyImpulse(force, local); 517 }
518 } 518
519 519 public void llApplyImpulse(vector force, int local)
520 // 520 {
521 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 521 m_LSL_Functions.llApplyImpulse(force, local);
522 // 522 }
523 public void llApplyRotationalImpulse(vector force, int local) 523
524 { 524 //
525 m_LSL_Functions.llApplyRotationalImpulse(force, local); 525 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
526 } 526 //
527 527 public void llApplyRotationalImpulse(vector force, int local)
528 public void llSetTorque(vector torque, int local) 528 {
529 { 529 m_LSL_Functions.llApplyRotationalImpulse(force, local);
530 m_LSL_Functions.llSetTorque(torque, local); 530 }
531 } 531
532 532 public void llSetTorque(vector torque, int local)
533 public vector llGetTorque() 533 {
534 { 534 m_LSL_Functions.llSetTorque(torque, local);
535 return m_LSL_Functions.llGetTorque(); 535 }
536 } 536
537 537 public vector llGetTorque()
538 public void llSetForceAndTorque(vector force, vector torque, int local) 538 {
539 { 539 return m_LSL_Functions.llGetTorque();
540 m_LSL_Functions.llSetForceAndTorque(force, torque, local); 540 }
541 } 541
542 542 public void llSetForceAndTorque(vector force, vector torque, int local)
543 public vector llGetVel() 543 {
544 { 544 m_LSL_Functions.llSetForceAndTorque(force, torque, local);
545 return m_LSL_Functions.llGetVel(); 545 }
546 } 546
547 547 public vector llGetVel()
548 public vector llGetAccel() 548 {
549 { 549 return m_LSL_Functions.llGetVel();
550 return m_LSL_Functions.llGetAccel(); 550 }
551 } 551
552 552 public vector llGetAccel()
553 public vector llGetOmega() 553 {
554 { 554 return m_LSL_Functions.llGetAccel();
555 return m_LSL_Functions.llGetOmega(); 555 }
556 } 556
557 557 public vector llGetOmega()
558 public double llGetTimeOfDay() 558 {
559 { 559 return m_LSL_Functions.llGetOmega();
560 return m_LSL_Functions.llGetTimeOfDay(); 560 }
561 } 561
562 562 public double llGetTimeOfDay()
563 public double llGetWallclock() 563 {
564 { 564 return m_LSL_Functions.llGetTimeOfDay();
565 return m_LSL_Functions.llGetWallclock(); 565 }
566 } 566
567 567 public double llGetWallclock()
568 public double llGetTime() 568 {
569 { 569 return m_LSL_Functions.llGetWallclock();
570 return m_LSL_Functions.llGetTime(); 570 }
571 } 571
572 572 public double llGetTime()
573 public void llResetTime() 573 {
574 { 574 return m_LSL_Functions.llGetTime();
575 m_LSL_Functions.llResetTime(); 575 }
576 } 576
577 577 public void llResetTime()
578 public double llGetAndResetTime() 578 {
579 { 579 m_LSL_Functions.llResetTime();
580 return m_LSL_Functions.llGetAndResetTime(); 580 }
581 } 581
582 582 public double llGetAndResetTime()
583 public void llSound() 583 {
584 { 584 return m_LSL_Functions.llGetAndResetTime();
585 m_LSL_Functions.llSound(); 585 }
586 } 586
587 587 public void llSound()
588 public void llPlaySound(string sound, double volume) 588 {
589 { 589 m_LSL_Functions.llSound();
590 m_LSL_Functions.llPlaySound(sound, volume); 590 }
591 } 591
592 592 public void llPlaySound(string sound, double volume)
593 public void llLoopSound(string sound, double volume) 593 {
594 { 594 m_LSL_Functions.llPlaySound(sound, volume);
595 m_LSL_Functions.llLoopSound(sound, volume); 595 }
596 } 596
597 597 public void llLoopSound(string sound, double volume)
598 public void llLoopSoundMaster(string sound, double volume) 598 {
599 { 599 m_LSL_Functions.llLoopSound(sound, volume);
600 m_LSL_Functions.llLoopSoundMaster(sound, volume); 600 }
601 } 601
602 602 public void llLoopSoundMaster(string sound, double volume)
603 public void llLoopSoundSlave(string sound, double volume) 603 {
604 { 604 m_LSL_Functions.llLoopSoundMaster(sound, volume);
605 m_LSL_Functions.llLoopSoundSlave(sound, volume); 605 }
606 } 606
607 607 public void llLoopSoundSlave(string sound, double volume)
608 public void llPlaySoundSlave(string sound, double volume) 608 {
609 { 609 m_LSL_Functions.llLoopSoundSlave(sound, volume);
610 m_LSL_Functions.llPlaySoundSlave(sound, volume); 610 }
611 } 611
612 612 public void llPlaySoundSlave(string sound, double volume)
613 // 613 {
614 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 614 m_LSL_Functions.llPlaySoundSlave(sound, volume);
615 // 615 }
616 public void llTriggerSound(string sound, double volume) 616
617 { 617 //
618 m_LSL_Functions.llTriggerSound(sound, volume); 618 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
619 } 619 //
620 620 public void llTriggerSound(string sound, double volume)
621 public void llStopSound() 621 {
622 { 622 m_LSL_Functions.llTriggerSound(sound, volume);
623 m_LSL_Functions.llStopSound(); 623 }
624 } 624
625 625 public void llStopSound()
626 public void llPreloadSound(string sound) 626 {
627 { 627 m_LSL_Functions.llStopSound();
628 m_LSL_Functions.llPreloadSound(sound); 628 }
629 } 629
630 630 public void llPreloadSound(string sound)
631 public string llGetSubString(string src, int start, int end) 631 {
632 { 632 m_LSL_Functions.llPreloadSound(sound);
633 return m_LSL_Functions.llGetSubString(src, start, end); 633 }
634 } 634
635 635 public string llGetSubString(string src, int start, int end)
636 public string llDeleteSubString(string src, int start, int end) 636 {
637 { 637 return m_LSL_Functions.llGetSubString(src, start, end);
638 return m_LSL_Functions.llDeleteSubString(src, start, end); 638 }
639 } 639
640 640 public string llDeleteSubString(string src, int start, int end)
641 public string llInsertString(string dst, int position, string src) 641 {
642 { 642 return m_LSL_Functions.llDeleteSubString(src, start, end);
643 return m_LSL_Functions.llInsertString(dst, position, src); 643 }
644 } 644
645 645 public string llInsertString(string dst, int position, string src)
646 public string llToUpper(string source) 646 {
647 { 647 return m_LSL_Functions.llInsertString(dst, position, src);
648 return m_LSL_Functions.llToUpper(source); 648 }
649 } 649
650 650 public string llToUpper(string source)
651 public string llToLower(string source) 651 {
652 { 652 return m_LSL_Functions.llToUpper(source);
653 return m_LSL_Functions.llToLower(source); 653 }
654 } 654
655 655 public string llToLower(string source)
656 public int llGiveMoney(string destination, int amount) 656 {
657 { 657 return m_LSL_Functions.llToLower(source);
658 return m_LSL_Functions.llGiveMoney(destination, amount); 658 }
659 } 659
660 660 public int llGiveMoney(string destination, int amount)
661 public void llMakeExplosion() 661 {
662 { 662 return m_LSL_Functions.llGiveMoney(destination, amount);
663 m_LSL_Functions.llMakeExplosion(); 663 }
664 } 664
665 665 public void llMakeExplosion()
666 public void llMakeFountain() 666 {
667 { 667 m_LSL_Functions.llMakeExplosion();
668 m_LSL_Functions.llMakeFountain(); 668 }
669 } 669
670 670 public void llMakeFountain()
671 public void llMakeSmoke() 671 {
672 { 672 m_LSL_Functions.llMakeFountain();
673 m_LSL_Functions.llMakeSmoke(); 673 }
674 } 674
675 675 public void llMakeSmoke()
676 public void llMakeFire() 676 {
677 { 677 m_LSL_Functions.llMakeSmoke();
678 m_LSL_Functions.llMakeFire(); 678 }
679 } 679
680 680 public void llMakeFire()
681 public void llRezObject(string inventory, vector pos, rotation rot, int param) 681 {
682 { 682 m_LSL_Functions.llMakeFire();
683 m_LSL_Functions.llRezObject(inventory, pos, rot, param); 683 }
684 } 684
685 685 public void llRezObject(string inventory, vector pos, rotation rot, int param)
686 public void llLookAt(vector target, double strength, double damping) 686 {
687 { 687 m_LSL_Functions.llRezObject(inventory, pos, rot, param);
688 m_LSL_Functions.llLookAt(target, strength, damping); 688 }
689 } 689
690 690 public void llLookAt(vector target, double strength, double damping)
691 public void llStopLookAt() 691 {
692 { 692 m_LSL_Functions.llLookAt(target, strength, damping);
693 m_LSL_Functions.llStopLookAt(); 693 }
694 } 694
695 695 public void llStopLookAt()
696 public void llSetTimerEvent(double sec) 696 {
697 { 697 m_LSL_Functions.llStopLookAt();
698 m_LSL_Functions.llSetTimerEvent(sec); 698 }
699 } 699
700 700 public void llSetTimerEvent(double sec)
701 public void llSleep(double sec) 701 {
702 { 702 m_LSL_Functions.llSetTimerEvent(sec);
703 m_LSL_Functions.llSleep(sec); 703 }
704 } 704
705 705 public void llSleep(double sec)
706 // 706 {
707 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 707 m_LSL_Functions.llSleep(sec);
708 // 708 }
709 public double llGetMass() 709
710 { 710 //
711 return m_LSL_Functions.llGetMass(); 711 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
712 } 712 //
713 713 public double llGetMass()
714 public void llCollisionFilter(string name, string id, int accept) 714 {
715 { 715 return m_LSL_Functions.llGetMass();
716 m_LSL_Functions.llCollisionFilter(name, id, accept); 716 }
717 } 717
718 718 public void llCollisionFilter(string name, string id, int accept)
719 public void llTakeControls(int controls, int accept, int pass_on) 719 {
720 { 720 m_LSL_Functions.llCollisionFilter(name, id, accept);
721 m_LSL_Functions.llTakeControls(controls, accept, pass_on); 721 }
722 } 722
723 723 public void llTakeControls(int controls, int accept, int pass_on)
724 public void llReleaseControls() 724 {
725 { 725 m_LSL_Functions.llTakeControls(controls, accept, pass_on);
726 m_LSL_Functions.llReleaseControls(); 726 }
727 } 727
728 728 public void llReleaseControls()
729 public void llAttachToAvatar(int attachment) 729 {
730 { 730 m_LSL_Functions.llReleaseControls();
731 m_LSL_Functions.llAttachToAvatar(attachment); 731 }
732 } 732
733 733 public void llAttachToAvatar(int attachment)
734 public void llDetachFromAvatar() 734 {
735 { 735 m_LSL_Functions.llAttachToAvatar(attachment);
736 m_LSL_Functions.llDetachFromAvatar(); 736 }
737 } 737
738 738 public void llDetachFromAvatar()
739 public void llTakeCamera() 739 {
740 { 740 m_LSL_Functions.llDetachFromAvatar();
741 m_LSL_Functions.llTakeCamera(); 741 }
742 } 742
743 743 public void llTakeCamera()
744 public void llReleaseCamera() 744 {
745 { 745 m_LSL_Functions.llTakeCamera();
746 m_LSL_Functions.llReleaseCamera(); 746 }
747 } 747
748 748 public void llReleaseCamera()
749 public string llGetOwner() 749 {
750 { 750 m_LSL_Functions.llReleaseCamera();
751 return m_LSL_Functions.llGetOwner(); 751 }
752 } 752
753 753 public string llGetOwner()
754 public void llInstantMessage(string user, string message) 754 {
755 { 755 return m_LSL_Functions.llGetOwner();
756 m_LSL_Functions.llInstantMessage(user, message); 756 }
757 } 757
758 758 public void llInstantMessage(string user, string message)
759 public void llEmail(string address, string subject, string message) 759 {
760 { 760 m_LSL_Functions.llInstantMessage(user, message);
761 m_LSL_Functions.llEmail(address, subject, message); 761 }
762 } 762
763 763 public void llEmail(string address, string subject, string message)
764 public void llGetNextEmail(string address, string subject) 764 {
765 { 765 m_LSL_Functions.llEmail(address, subject, message);
766 m_LSL_Functions.llGetNextEmail(address, subject); 766 }
767 } 767
768 768 public void llGetNextEmail(string address, string subject)
769 public string llGetKey() 769 {
770 { 770 m_LSL_Functions.llGetNextEmail(address, subject);
771 return m_LSL_Functions.llGetKey(); 771 }
772 } 772
773 773 public string llGetKey()
774 public void llSetBuoyancy(double buoyancy) 774 {
775 { 775 return m_LSL_Functions.llGetKey();
776 m_LSL_Functions.llSetBuoyancy(buoyancy); 776 }
777 } 777
778 778 public void llSetBuoyancy(double buoyancy)
779 public void llSetHoverHeight(double height, int water, double tau) 779 {
780 { 780 m_LSL_Functions.llSetBuoyancy(buoyancy);
781 m_LSL_Functions.llSetHoverHeight(height, water, tau); 781 }
782 } 782
783 783 public void llSetHoverHeight(double height, int water, double tau)
784 public void llStopHover() 784 {
785 { 785 m_LSL_Functions.llSetHoverHeight(height, water, tau);
786 m_LSL_Functions.llStopHover(); 786 }
787 } 787
788 788 public void llStopHover()
789 public void llMinEventDelay(double delay) 789 {
790 { 790 m_LSL_Functions.llStopHover();
791 m_LSL_Functions.llMinEventDelay(delay); 791 }
792 } 792
793 793 public void llMinEventDelay(double delay)
794 public void llSoundPreload() 794 {
795 { 795 m_LSL_Functions.llMinEventDelay(delay);
796 m_LSL_Functions.llSoundPreload(); 796 }
797 } 797
798 798 public void llSoundPreload()
799 public void llRotLookAt(rotation target, double strength, double damping) 799 {
800 { 800 m_LSL_Functions.llSoundPreload();
801 m_LSL_Functions.llRotLookAt(target, strength, damping); 801 }
802 } 802
803 803 public void llRotLookAt(rotation target, double strength, double damping)
804 // 804 {
805 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 805 m_LSL_Functions.llRotLookAt(target, strength, damping);
806 // 806 }
807 public int llStringLength(string str) 807
808 { 808 //
809 return m_LSL_Functions.llStringLength(str); 809 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
810 } 810 //
811 811 public int llStringLength(string str)
812 public void llStartAnimation(string anim) 812 {
813 { 813 return m_LSL_Functions.llStringLength(str);
814 m_LSL_Functions.llStartAnimation(anim); 814 }
815 } 815
816 816 public void llStartAnimation(string anim)
817 public void llStopAnimation(string anim) 817 {
818 { 818 m_LSL_Functions.llStartAnimation(anim);
819 m_LSL_Functions.llStopAnimation(anim); 819 }
820 } 820
821 821 public void llStopAnimation(string anim)
822 public void llPointAt() 822 {
823 { 823 m_LSL_Functions.llStopAnimation(anim);
824 m_LSL_Functions.llPointAt(); 824 }
825 } 825
826 826 public void llPointAt()
827 public void llStopPointAt() 827 {
828 { 828 m_LSL_Functions.llPointAt();
829 m_LSL_Functions.llStopPointAt(); 829 }
830 } 830
831 831 public void llStopPointAt()
832 public void llTargetOmega(vector axis, double spinrate, double gain) 832 {
833 { 833 m_LSL_Functions.llStopPointAt();
834 m_LSL_Functions.llTargetOmega(axis, spinrate, gain); 834 }
835 } 835
836 836 public void llTargetOmega(vector axis, double spinrate, double gain)
837 public int llGetStartParameter() 837 {
838 { 838 m_LSL_Functions.llTargetOmega(axis, spinrate, gain);
839 return m_LSL_Functions.llGetStartParameter(); 839 }
840 } 840
841 841 public int llGetStartParameter()
842 public void llGodLikeRezObject(string inventory, vector pos) 842 {
843 { 843 return m_LSL_Functions.llGetStartParameter();
844 m_LSL_Functions.llGodLikeRezObject(inventory, pos); 844 }
845 } 845
846 846 public void llGodLikeRezObject(string inventory, vector pos)
847 public void llRequestPermissions(string agent, int perm) 847 {
848 { 848 m_LSL_Functions.llGodLikeRezObject(inventory, pos);
849 m_LSL_Functions.llRequestPermissions(agent, perm); 849 }
850 } 850
851 851 public void llRequestPermissions(string agent, int perm)
852 public string llGetPermissionsKey() 852 {
853 { 853 m_LSL_Functions.llRequestPermissions(agent, perm);
854 return m_LSL_Functions.llGetPermissionsKey(); 854 }
855 } 855
856 856 public string llGetPermissionsKey()
857 public int llGetPermissions() 857 {
858 { 858 return m_LSL_Functions.llGetPermissionsKey();
859 return m_LSL_Functions.llGetPermissions(); 859 }
860 } 860
861 861 public int llGetPermissions()
862 public int llGetLinkNumber() 862 {
863 { 863 return m_LSL_Functions.llGetPermissions();
864 return m_LSL_Functions.llGetLinkNumber(); 864 }
865 } 865
866 866 public int llGetLinkNumber()
867 public void llSetLinkColor(int linknumber, vector color, int face) 867 {
868 { 868 return m_LSL_Functions.llGetLinkNumber();
869 m_LSL_Functions.llSetLinkColor(linknumber, color, face); 869 }
870 } 870
871 871 public void llSetLinkColor(int linknumber, vector color, int face)
872 public void llCreateLink(string target, int parent) 872 {
873 { 873 m_LSL_Functions.llSetLinkColor(linknumber, color, face);
874 m_LSL_Functions.llCreateLink(target, parent); 874 }
875 } 875
876 876 public void llCreateLink(string target, int parent)
877 public void llBreakLink(int linknum) 877 {
878 { 878 m_LSL_Functions.llCreateLink(target, parent);
879 m_LSL_Functions.llBreakLink(linknum); 879 }
880 } 880
881 881 public void llBreakLink(int linknum)
882 public void llBreakAllLinks() 882 {
883 { 883 m_LSL_Functions.llBreakLink(linknum);
884 m_LSL_Functions.llBreakAllLinks(); 884 }
885 } 885
886 886 public void llBreakAllLinks()
887 public string llGetLinkKey(int linknum) 887 {
888 { 888 m_LSL_Functions.llBreakAllLinks();
889 return m_LSL_Functions.llGetLinkKey(linknum); 889 }
890 } 890
891 891 public string llGetLinkKey(int linknum)
892 public string llGetLinkName(int linknum) 892 {
893 { 893 return m_LSL_Functions.llGetLinkKey(linknum);
894 return m_LSL_Functions.llGetLinkName(linknum); 894 }
895 } 895
896 896 public string llGetLinkName(int linknum)
897 public int llGetInventoryNumber(int type) 897 {
898 { 898 return m_LSL_Functions.llGetLinkName(linknum);
899 return m_LSL_Functions.llGetInventoryNumber(type); 899 }
900 } 900
901 901 public int llGetInventoryNumber(int type)
902 public string llGetInventoryName(int type, int number) 902 {
903 { 903 return m_LSL_Functions.llGetInventoryNumber(type);
904 return m_LSL_Functions.llGetInventoryName(type, number); 904 }
905 } 905
906 906 public string llGetInventoryName(int type, int number)
907 // 907 {
908 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 908 return m_LSL_Functions.llGetInventoryName(type, number);
909 // 909 }
910 public void llSetScriptState(string name, int run) 910
911 { 911 //
912 m_LSL_Functions.llSetScriptState(name, run); 912 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
913 } 913 //
914 914 public void llSetScriptState(string name, int run)
915 public double llGetEnergy() 915 {
916 { 916 m_LSL_Functions.llSetScriptState(name, run);
917 return m_LSL_Functions.llGetEnergy(); 917 }
918 } 918
919 919 public double llGetEnergy()
920 public void llGiveInventory(string destination, string inventory) 920 {
921 { 921 return m_LSL_Functions.llGetEnergy();
922 m_LSL_Functions.llGiveInventory(destination, inventory); 922 }
923 } 923
924 924 public void llGiveInventory(string destination, string inventory)
925 public void llRemoveInventory(string item) 925 {
926 { 926 m_LSL_Functions.llGiveInventory(destination, inventory);
927 m_LSL_Functions.llRemoveInventory(item); 927 }
928 } 928
929 929 public void llRemoveInventory(string item)
930 public void llSetText(string text, vector color, double alpha) 930 {
931 { 931 m_LSL_Functions.llRemoveInventory(item);
932 m_LSL_Functions.llSetText(text, color, alpha); 932 }
933 } 933
934 934 public void llSetText(string text, vector color, double alpha)
935 public double llWater(vector offset) 935 {
936 { 936 m_LSL_Functions.llSetText(text, color, alpha);
937 return m_LSL_Functions.llWater(offset); 937 }
938 } 938
939 939 public double llWater(vector offset)
940 public void llPassTouches(int pass) 940 {
941 { 941 return m_LSL_Functions.llWater(offset);
942 m_LSL_Functions.llPassTouches(pass); 942 }
943 } 943
944 944 public void llPassTouches(int pass)
945 public string llRequestAgentData(string id, int data) 945 {
946 { 946 m_LSL_Functions.llPassTouches(pass);
947 return m_LSL_Functions.llRequestAgentData(id, data); 947 }
948 } 948
949 949 public string llRequestAgentData(string id, int data)
950 public string llRequestInventoryData(string name) 950 {
951 { 951 return m_LSL_Functions.llRequestAgentData(id, data);
952 return m_LSL_Functions.llRequestInventoryData(name); 952 }
953 } 953
954 954 public string llRequestInventoryData(string name)
955 public void llSetDamage(double damage) 955 {
956 { 956 return m_LSL_Functions.llRequestInventoryData(name);
957 m_LSL_Functions.llSetDamage(damage); 957 }
958 } 958
959 959 public void llSetDamage(double damage)
960 public void llTeleportAgentHome(string agent) 960 {
961 { 961 m_LSL_Functions.llSetDamage(damage);
962 m_LSL_Functions.llTeleportAgentHome(agent); 962 }
963 } 963
964 964 public void llTeleportAgentHome(string agent)
965 public void llModifyLand(int action, int brush) 965 {
966 { 966 m_LSL_Functions.llTeleportAgentHome(agent);
967 m_LSL_Functions.llModifyLand(action, brush); 967 }
968 } 968
969 969 public void llModifyLand(int action, int brush)
970 public void llCollisionSound(string impact_sound, double impact_volume) 970 {
971 { 971 m_LSL_Functions.llModifyLand(action, brush);
972 m_LSL_Functions.llCollisionSound(impact_sound, impact_volume); 972 }
973 } 973
974 974 public void llCollisionSound(string impact_sound, double impact_volume)
975 public void llCollisionSprite(string impact_sprite) 975 {
976 { 976 m_LSL_Functions.llCollisionSound(impact_sound, impact_volume);
977 m_LSL_Functions.llCollisionSprite(impact_sprite); 977 }
978 } 978
979 979 public void llCollisionSprite(string impact_sprite)
980 public string llGetAnimation(string id) 980 {
981 { 981 m_LSL_Functions.llCollisionSprite(impact_sprite);
982 return m_LSL_Functions.llGetAnimation(id); 982 }
983 } 983
984 984 public string llGetAnimation(string id)
985 public void llResetScript() 985 {
986 { 986 return m_LSL_Functions.llGetAnimation(id);
987 m_LSL_Functions.llResetScript(); 987 }
988 } 988
989 989 public void llResetScript()
990 public void llMessageLinked(int linknum, int num, string str, string id) 990 {
991 { 991 m_LSL_Functions.llResetScript();
992 m_LSL_Functions.llMessageLinked(linknum, num, str, id); 992 }
993 } 993
994 994 public void llMessageLinked(int linknum, int num, string str, string id)
995 public void llPushObject(string target, vector impulse, vector ang_impulse, int local) 995 {
996 { 996 m_LSL_Functions.llMessageLinked(linknum, num, str, id);
997 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); 997 }
998 } 998
999 999 public void llPushObject(string target, vector impulse, vector ang_impulse, int local)
1000 public void llPassCollisions(int pass) 1000 {
1001 { 1001 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local);
1002 m_LSL_Functions.llPassCollisions(pass); 1002 }
1003 } 1003
1004 1004 public void llPassCollisions(int pass)
1005 public string llGetScriptName() 1005 {
1006 { 1006 m_LSL_Functions.llPassCollisions(pass);
1007 return m_LSL_Functions.llGetScriptName(); 1007 }
1008 } 1008
1009 1009 public string llGetScriptName()
1010 public int llGetNumberOfSides() 1010 {
1011 { 1011 return m_LSL_Functions.llGetScriptName();
1012 return m_LSL_Functions.llGetNumberOfSides(); 1012 }
1013 } 1013
1014 1014 public int llGetNumberOfSides()
1015 // 1015 {
1016 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1016 return m_LSL_Functions.llGetNumberOfSides();
1017 // 1017 }
1018 public rotation llAxisAngle2Rot(vector axis, double angle) 1018
1019 { 1019 //
1020 return m_LSL_Functions.llAxisAngle2Rot(axis, angle); 1020 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1021 } 1021 //
1022 1022 public rotation llAxisAngle2Rot(vector axis, double angle)
1023 public vector llRot2Axis(rotation rot) 1023 {
1024 { 1024 return m_LSL_Functions.llAxisAngle2Rot(axis, angle);
1025 return m_LSL_Functions.llRot2Axis(rot); 1025 }
1026 } 1026
1027 1027 public vector llRot2Axis(rotation rot)
1028 public void llRot2Angle() 1028 {
1029 { 1029 return m_LSL_Functions.llRot2Axis(rot);
1030 m_LSL_Functions.llRot2Angle(); 1030 }
1031 } 1031
1032 1032 public void llRot2Angle()
1033 public double llAcos(double val) 1033 {
1034 { 1034 m_LSL_Functions.llRot2Angle();
1035 return m_LSL_Functions.llAcos(val); 1035 }
1036 } 1036
1037 1037 public double llAcos(double val)
1038 public double llAsin(double val) 1038 {
1039 { 1039 return m_LSL_Functions.llAcos(val);
1040 return m_LSL_Functions.llAsin(val); 1040 }
1041 } 1041
1042 1042 public double llAsin(double val)
1043 public double llAngleBetween(rotation a, rotation b) 1043 {
1044 { 1044 return m_LSL_Functions.llAsin(val);
1045 return m_LSL_Functions.llAngleBetween(a, b); 1045 }
1046 } 1046
1047 1047 public double llAngleBetween(rotation a, rotation b)
1048 public string llGetInventoryKey(string name) 1048 {
1049 { 1049 return m_LSL_Functions.llAngleBetween(a, b);
1050 return m_LSL_Functions.llGetInventoryKey(name); 1050 }
1051 } 1051
1052 1052 public string llGetInventoryKey(string name)
1053 public void llAllowInventoryDrop(int add) 1053 {
1054 { 1054 return m_LSL_Functions.llGetInventoryKey(name);
1055 m_LSL_Functions.llAllowInventoryDrop(add); 1055 }
1056 } 1056
1057 1057 public void llAllowInventoryDrop(int add)
1058 public vector llGetSunDirection() 1058 {
1059 { 1059 m_LSL_Functions.llAllowInventoryDrop(add);
1060 return m_LSL_Functions.llGetSunDirection(); 1060 }
1061 } 1061
1062 1062 public vector llGetSunDirection()
1063 public vector llGetTextureOffset(int face) 1063 {
1064 { 1064 return m_LSL_Functions.llGetSunDirection();
1065 return m_LSL_Functions.llGetTextureOffset(face); 1065 }
1066 } 1066
1067 1067 public vector llGetTextureOffset(int face)
1068 public vector llGetTextureScale(int side) 1068 {
1069 { 1069 return m_LSL_Functions.llGetTextureOffset(face);
1070 return m_LSL_Functions.llGetTextureScale(side); 1070 }
1071 } 1071
1072 1072 public vector llGetTextureScale(int side)
1073 public double llGetTextureRot(int side) 1073 {
1074 { 1074 return m_LSL_Functions.llGetTextureScale(side);
1075 return m_LSL_Functions.llGetTextureRot(side); 1075 }
1076 } 1076
1077 1077 public double llGetTextureRot(int side)
1078 public int llSubStringIndex(string source, string pattern) 1078 {
1079 { 1079 return m_LSL_Functions.llGetTextureRot(side);
1080 return m_LSL_Functions.llSubStringIndex(source, pattern); 1080 }
1081 } 1081
1082 1082 public int llSubStringIndex(string source, string pattern)
1083 public string llGetOwnerKey(string id) 1083 {
1084 { 1084 return m_LSL_Functions.llSubStringIndex(source, pattern);
1085 return m_LSL_Functions.llGetOwnerKey(id); 1085 }
1086 } 1086
1087 1087 public string llGetOwnerKey(string id)
1088 public vector llGetCenterOfMass() 1088 {
1089 { 1089 return m_LSL_Functions.llGetOwnerKey(id);
1090 return m_LSL_Functions.llGetCenterOfMass(); 1090 }
1091 } 1091
1092 1092 public vector llGetCenterOfMass()
1093 public LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending) 1093 {
1094 { 1094 return m_LSL_Functions.llGetCenterOfMass();
1095 return m_LSL_Functions.llListSort(src, stride, ascending); 1095 }
1096 } 1096
1097 1097 public LSL_Types.list llListSort(LSL_Types.list src, int stride, int ascending)
1098 public int llGetListLength(LSL_Types.list src) 1098 {
1099 { 1099 return m_LSL_Functions.llListSort(src, stride, ascending);
1100 return m_LSL_Functions.llGetListLength(src); 1100 }
1101 } 1101
1102 1102 public int llGetListLength(LSL_Types.list src)
1103 // 1103 {
1104 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1104 return m_LSL_Functions.llGetListLength(src);
1105 // 1105 }
1106 public int llList2Integer(LSL_Types.list src, int index) 1106
1107 { 1107 //
1108 return m_LSL_Functions.llList2Integer(src, index); 1108 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1109 } 1109 //
1110 1110 public int llList2Integer(LSL_Types.list src, int index)
1111 public double osList2Double(LSL_Types.list src, int index) 1111 {
1112 { 1112 return m_LSL_Functions.llList2Integer(src, index);
1113 return m_LSL_Functions.osList2Double(src, index); 1113 }
1114 } 1114
1115 1115 public double osList2Double(LSL_Types.list src, int index)
1116 public string llList2String(LSL_Types.list src, int index) 1116 {
1117 { 1117 return m_LSL_Functions.osList2Double(src, index);
1118 return m_LSL_Functions.llList2String(src, index); 1118 }
1119 } 1119
1120 1120 public string llList2String(LSL_Types.list src, int index)
1121 public string llList2Key(LSL_Types.list src, int index) 1121 {
1122 { 1122 return m_LSL_Functions.llList2String(src, index);
1123 return m_LSL_Functions.llList2Key(src, index); 1123 }
1124 } 1124
1125 1125 public string llList2Key(LSL_Types.list src, int index)
1126 public vector llList2Vector(LSL_Types.list src, int index) 1126 {
1127 { 1127 return m_LSL_Functions.llList2Key(src, index);
1128 return m_LSL_Functions.llList2Vector(src, index); 1128 }
1129 } 1129
1130 1130 public vector llList2Vector(LSL_Types.list src, int index)
1131 public rotation llList2Rot(LSL_Types.list src, int index) 1131 {
1132 { 1132 return m_LSL_Functions.llList2Vector(src, index);
1133 return m_LSL_Functions.llList2Rot(src, index); 1133 }
1134 } 1134
1135 1135 public rotation llList2Rot(LSL_Types.list src, int index)
1136 public LSL_Types.list llList2List(LSL_Types.list src, int start, int end) 1136 {
1137 { 1137 return m_LSL_Functions.llList2Rot(src, index);
1138 return m_LSL_Functions.llList2List(src, start, end); 1138 }
1139 } 1139
1140 1140 public LSL_Types.list llList2List(LSL_Types.list src, int start, int end)
1141 public LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end) 1141 {
1142 { 1142 return m_LSL_Functions.llList2List(src, start, end);
1143 return m_LSL_Functions.llDeleteSubList(src, start, end); 1143 }
1144 } 1144
1145 1145 public LSL_Types.list llDeleteSubList(LSL_Types.list src, int start, int end)
1146 public int llGetListEntryType(LSL_Types.list src, int index) 1146 {
1147 { 1147 return m_LSL_Functions.llDeleteSubList(src, start, end);
1148 return m_LSL_Functions.llGetListEntryType(src, index); 1148 }
1149 } 1149
1150 1150 public int llGetListEntryType(LSL_Types.list src, int index)
1151 public string llList2CSV(LSL_Types.list src) 1151 {
1152 { 1152 return m_LSL_Functions.llGetListEntryType(src, index);
1153 return m_LSL_Functions.llList2CSV(src); 1153 }
1154 } 1154
1155 1155 public string llList2CSV(LSL_Types.list src)
1156 public LSL_Types.list llCSV2List(string src) 1156 {
1157 { 1157 return m_LSL_Functions.llList2CSV(src);
1158 return m_LSL_Functions.llCSV2List(src); 1158 }
1159 } 1159
1160 1160 public LSL_Types.list llCSV2List(string src)
1161 public LSL_Types.list llListRandomize(LSL_Types.list src, int stride) 1161 {
1162 { 1162 return m_LSL_Functions.llCSV2List(src);
1163 return m_LSL_Functions.llListRandomize(src, stride); 1163 }
1164 } 1164
1165 1165 public LSL_Types.list llListRandomize(LSL_Types.list src, int stride)
1166 public LSL_Types.list llList2ListStrided(LSL_Types.list src, int start, int end, int stride) 1166 {
1167 { 1167 return m_LSL_Functions.llListRandomize(src, stride);
1168 return m_LSL_Functions.llList2ListStrided(src, start, end, stride); 1168 }
1169 } 1169
1170 1170 public LSL_Types.list llList2ListStrided(LSL_Types.list src, int start, int end, int stride)
1171 public vector llGetRegionCorner() 1171 {
1172 { 1172 return m_LSL_Functions.llList2ListStrided(src, start, end, stride);
1173 return m_LSL_Functions.llGetRegionCorner(); 1173 }
1174 } 1174
1175 1175 public vector llGetRegionCorner()
1176 public LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start) 1176 {
1177 { 1177 return m_LSL_Functions.llGetRegionCorner();
1178 return m_LSL_Functions.llListInsertList(dest, src, start); 1178 }
1179 } 1179
1180 1180 public LSL_Types.list llListInsertList(LSL_Types.list dest, LSL_Types.list src, int start)
1181 public int llListFindList(LSL_Types.list src, LSL_Types.list test) 1181 {
1182 { 1182 return m_LSL_Functions.llListInsertList(dest, src, start);
1183 return m_LSL_Functions.llListFindList(src, test); 1183 }
1184 } 1184
1185 1185 public int llListFindList(LSL_Types.list src, LSL_Types.list test)
1186 public string llGetObjectName() 1186 {
1187 { 1187 return m_LSL_Functions.llListFindList(src, test);
1188 return m_LSL_Functions.llGetObjectName(); 1188 }
1189 } 1189
1190 1190 public string llGetObjectName()
1191 public void llSetObjectName(string name) 1191 {
1192 { 1192 return m_LSL_Functions.llGetObjectName();
1193 m_LSL_Functions.llSetObjectName(name); 1193 }
1194 } 1194
1195 1195 public void llSetObjectName(string name)
1196 public string llGetDate() 1196 {
1197 { 1197 m_LSL_Functions.llSetObjectName(name);
1198 return m_LSL_Functions.llGetDate(); 1198 }
1199 } 1199
1200 1200 public string llGetDate()
1201 public int llEdgeOfWorld(vector pos, vector dir) 1201 {
1202 { 1202 return m_LSL_Functions.llGetDate();
1203 return m_LSL_Functions.llEdgeOfWorld(pos, dir); 1203 }
1204 } 1204
1205 1205 public int llEdgeOfWorld(vector pos, vector dir)
1206 public int llGetAgentInfo(string id) 1206 {
1207 { 1207 return m_LSL_Functions.llEdgeOfWorld(pos, dir);
1208 return m_LSL_Functions.llGetAgentInfo(id); 1208 }
1209 } 1209
1210 1210 public int llGetAgentInfo(string id)
1211 // 1211 {
1212 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1212 return m_LSL_Functions.llGetAgentInfo(id);
1213 // 1213 }
1214 public void llAdjustSoundVolume(double volume) 1214
1215 { 1215 //
1216 m_LSL_Functions.llAdjustSoundVolume(volume); 1216 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1217 } 1217 //
1218 1218 public void llAdjustSoundVolume(double volume)
1219 public void llSetSoundQueueing(int queue) 1219 {
1220 { 1220 m_LSL_Functions.llAdjustSoundVolume(volume);
1221 m_LSL_Functions.llSetSoundQueueing(queue); 1221 }
1222 } 1222
1223 1223 public void llSetSoundQueueing(int queue)
1224 public void llSetSoundRadius(double radius) 1224 {
1225 { 1225 m_LSL_Functions.llSetSoundQueueing(queue);
1226 m_LSL_Functions.llSetSoundRadius(radius); 1226 }
1227 } 1227
1228 1228 public void llSetSoundRadius(double radius)
1229 public string llKey2Name(string id) 1229 {
1230 { 1230 m_LSL_Functions.llSetSoundRadius(radius);
1231 return m_LSL_Functions.llKey2Name(id); 1231 }
1232 } 1232
1233 1233 public string llKey2Name(string id)
1234 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) 1234 {
1235 { 1235 return m_LSL_Functions.llKey2Name(id);
1236 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); 1236 }
1237 } 1237
1238 1238 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate)
1239 public void llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) 1239 {
1240 { 1240 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate);
1241 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); 1241 }
1242 } 1242
1243 1243 public void llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west)
1244 public void llEjectFromLand(string pest) 1244 {
1245 { 1245 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west);
1246 m_LSL_Functions.llEjectFromLand(pest); 1246 }
1247 } 1247
1248 1248 public void llEjectFromLand(string pest)
1249 public LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers) 1249 {
1250 { 1250 m_LSL_Functions.llEjectFromLand(pest);
1251 return m_LSL_Functions.llParseString2List(str,separators,spacers); 1251 }
1252 } 1252
1253 1253 public LSL_Types.list llParseString2List(string str, LSL_Types.list separators, LSL_Types.list spacers)
1254 public int llOverMyLand(string id) 1254 {
1255 { 1255 return m_LSL_Functions.llParseString2List(str,separators,spacers);
1256 return m_LSL_Functions.llOverMyLand(id); 1256 }
1257 } 1257
1258 1258 public int llOverMyLand(string id)
1259 public string llGetLandOwnerAt(vector pos) 1259 {
1260 { 1260 return m_LSL_Functions.llOverMyLand(id);
1261 return m_LSL_Functions.llGetLandOwnerAt(pos); 1261 }
1262 } 1262
1263 1263 public string llGetLandOwnerAt(vector pos)
1264 public string llGetNotecardLine(string name, int line) 1264 {
1265 { 1265 return m_LSL_Functions.llGetLandOwnerAt(pos);
1266 return m_LSL_Functions.llGetNotecardLine(name, line); 1266 }
1267 } 1267
1268 1268 public string llGetNotecardLine(string name, int line)
1269 public vector llGetAgentSize(string id) 1269 {
1270 { 1270 return m_LSL_Functions.llGetNotecardLine(name, line);
1271 return m_LSL_Functions.llGetAgentSize(id); 1271 }
1272 } 1272
1273 1273 public vector llGetAgentSize(string id)
1274 public int llSameGroup(string agent) 1274 {
1275 { 1275 return m_LSL_Functions.llGetAgentSize(id);
1276 return m_LSL_Functions.llSameGroup(agent); 1276 }
1277 } 1277
1278 1278 public int llSameGroup(string agent)
1279 public void llUnSit(string id) 1279 {
1280 { 1280 return m_LSL_Functions.llSameGroup(agent);
1281 m_LSL_Functions.llUnSit(id); 1281 }
1282 } 1282
1283 1283 public void llUnSit(string id)
1284 public vector llGroundSlope(vector offset) 1284 {
1285 { 1285 m_LSL_Functions.llUnSit(id);
1286 return m_LSL_Functions.llGroundSlope(offset); 1286 }
1287 } 1287
1288 1288 public vector llGroundSlope(vector offset)
1289 public vector llGroundNormal(vector offset) 1289 {
1290 { 1290 return m_LSL_Functions.llGroundSlope(offset);
1291 return m_LSL_Functions.llGroundNormal(offset); 1291 }
1292 } 1292
1293 1293 public vector llGroundNormal(vector offset)
1294 public vector llGroundContour(vector offset) 1294 {
1295 { 1295 return m_LSL_Functions.llGroundNormal(offset);
1296 return m_LSL_Functions.llGroundContour(offset); 1296 }
1297 } 1297
1298 1298 public vector llGroundContour(vector offset)
1299 public int llGetAttached() 1299 {
1300 { 1300 return m_LSL_Functions.llGroundContour(offset);
1301 return m_LSL_Functions.llGetAttached(); 1301 }
1302 } 1302
1303 1303 public int llGetAttached()
1304 public int llGetFreeMemory() 1304 {
1305 { 1305 return m_LSL_Functions.llGetAttached();
1306 return m_LSL_Functions.llGetFreeMemory(); 1306 }
1307 } 1307
1308 1308 public int llGetFreeMemory()
1309 public string llGetRegionName() 1309 {
1310 { 1310 return m_LSL_Functions.llGetFreeMemory();
1311 return m_LSL_Functions.llGetRegionName(); 1311 }
1312 } 1312
1313 1313 public string llGetRegionName()
1314 public double llGetRegionTimeDilation() 1314 {
1315 { 1315 return m_LSL_Functions.llGetRegionName();
1316 return m_LSL_Functions.llGetRegionTimeDilation(); 1316 }
1317 } 1317
1318 1318 public double llGetRegionTimeDilation()
1319 public double llGetRegionFPS() 1319 {
1320 { 1320 return m_LSL_Functions.llGetRegionTimeDilation();
1321 return m_LSL_Functions.llGetRegionFPS(); 1321 }
1322 } 1322
1323 1323 public double llGetRegionFPS()
1324 // 1324 {
1325 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1325 return m_LSL_Functions.llGetRegionFPS();
1326 // 1326 }
1327 public void llParticleSystem(LSL_Types.list rules) 1327
1328 { 1328 //
1329 m_LSL_Functions.llParticleSystem(rules); 1329 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1330 } 1330 //
1331 1331 public void llParticleSystem(LSL_Types.list rules)
1332 public void llGroundRepel(double height, int water, double tau) 1332 {
1333 { 1333 m_LSL_Functions.llParticleSystem(rules);
1334 m_LSL_Functions.llGroundRepel(height, water, tau); 1334 }
1335 } 1335
1336 1336 public void llGroundRepel(double height, int water, double tau)
1337 public void llGiveInventoryList() 1337 {
1338 { 1338 m_LSL_Functions.llGroundRepel(height, water, tau);
1339 m_LSL_Functions.llGiveInventoryList(); 1339 }
1340 } 1340
1341 1341 public void llGiveInventoryList()
1342 public void llSetVehicleType(int type) 1342 {
1343 { 1343 m_LSL_Functions.llGiveInventoryList();
1344 m_LSL_Functions.llSetVehicleType(type); 1344 }
1345 } 1345
1346 1346 public void llSetVehicleType(int type)
1347 public void llSetVehicledoubleParam(int param, double value) 1347 {
1348 { 1348 m_LSL_Functions.llSetVehicleType(type);
1349 m_LSL_Functions.llSetVehicledoubleParam(param, value); 1349 }
1350 } 1350
1351 1351 public void llSetVehicledoubleParam(int param, double value)
1352 public void llSetVehicleVectorParam(int param, vector vec) 1352 {
1353 { 1353 m_LSL_Functions.llSetVehicledoubleParam(param, value);
1354 m_LSL_Functions.llSetVehicleVectorParam(param, vec); 1354 }
1355 } 1355
1356 1356 public void llSetVehicleVectorParam(int param, vector vec)
1357 public void llSetVehicleRotationParam(int param, rotation rot) 1357 {
1358 { 1358 m_LSL_Functions.llSetVehicleVectorParam(param, vec);
1359 m_LSL_Functions.llSetVehicleRotationParam(param, rot); 1359 }
1360 } 1360
1361 1361 public void llSetVehicleRotationParam(int param, rotation rot)
1362 public void llSetVehicleFlags(int flags) 1362 {
1363 { 1363 m_LSL_Functions.llSetVehicleRotationParam(param, rot);
1364 m_LSL_Functions.llSetVehicleFlags(flags); 1364 }
1365 } 1365
1366 1366 public void llSetVehicleFlags(int flags)
1367 public void llRemoveVehicleFlags(int flags) 1367 {
1368 { 1368 m_LSL_Functions.llSetVehicleFlags(flags);
1369 m_LSL_Functions.llRemoveVehicleFlags(flags); 1369 }
1370 } 1370
1371 1371 public void llRemoveVehicleFlags(int flags)
1372 public void llSitTarget(vector offset, rotation rot) 1372 {
1373 { 1373 m_LSL_Functions.llRemoveVehicleFlags(flags);
1374 m_LSL_Functions.llSitTarget(offset, rot); 1374 }
1375 } 1375
1376 1376 public void llSitTarget(vector offset, rotation rot)
1377 public string llAvatarOnSitTarget() 1377 {
1378 { 1378 m_LSL_Functions.llSitTarget(offset, rot);
1379 return m_LSL_Functions.llAvatarOnSitTarget(); 1379 }
1380 } 1380
1381 1381 public string llAvatarOnSitTarget()
1382 public void llAddToLandPassList(string avatar, double hours) 1382 {
1383 { 1383 return m_LSL_Functions.llAvatarOnSitTarget();
1384 m_LSL_Functions.llAddToLandPassList(avatar, hours); 1384 }
1385 } 1385
1386 1386 public void llAddToLandPassList(string avatar, double hours)
1387 public void llSetTouchText(string text) 1387 {
1388 { 1388 m_LSL_Functions.llAddToLandPassList(avatar, hours);
1389 m_LSL_Functions.llSetTouchText(text); 1389 }
1390 } 1390
1391 1391 public void llSetTouchText(string text)
1392 public void llSetSitText(string text) 1392 {
1393 { 1393 m_LSL_Functions.llSetTouchText(text);
1394 m_LSL_Functions.llSetSitText(text); 1394 }
1395 } 1395
1396 1396 public void llSetSitText(string text)
1397 public void llSetCameraEyeOffset(vector offset) 1397 {
1398 { 1398 m_LSL_Functions.llSetSitText(text);
1399 m_LSL_Functions.llSetCameraEyeOffset(offset); 1399 }
1400 } 1400
1401 1401 public void llSetCameraEyeOffset(vector offset)
1402 public void llSetCameraAtOffset(vector offset) 1402 {
1403 { 1403 m_LSL_Functions.llSetCameraEyeOffset(offset);
1404 m_LSL_Functions.llSetCameraAtOffset(offset); 1404 }
1405 } 1405
1406 1406 public void llSetCameraAtOffset(vector offset)
1407 public string llDumpList2String(LSL_Types.list src, string seperator) 1407 {
1408 { 1408 m_LSL_Functions.llSetCameraAtOffset(offset);
1409 return m_LSL_Functions.llDumpList2String(src, seperator); 1409 }
1410 } 1410
1411 1411 public string llDumpList2String(LSL_Types.list src, string seperator)
1412 public void llScriptDanger(vector pos) 1412 {
1413 { 1413 return m_LSL_Functions.llDumpList2String(src, seperator);
1414 m_LSL_Functions.llScriptDanger(pos); 1414 }
1415 } 1415
1416 1416 public void llScriptDanger(vector pos)
1417 public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel) 1417 {
1418 { 1418 m_LSL_Functions.llScriptDanger(pos);
1419 m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); 1419 }
1420 } 1420
1421 1421 public void llDialog(string avatar, string message, LSL_Types.list buttons, int chat_channel)
1422 public void llVolumeDetect(int detect) 1422 {
1423 { 1423 m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel);
1424 m_LSL_Functions.llVolumeDetect(detect); 1424 }
1425 } 1425
1426 1426 public void llVolumeDetect(int detect)
1427 public void llResetOtherScript(string name) 1427 {
1428 { 1428 m_LSL_Functions.llVolumeDetect(detect);
1429 m_LSL_Functions.llResetOtherScript(name); 1429 }
1430 } 1430
1431 1431 public void llResetOtherScript(string name)
1432 public int llGetScriptState(string name) 1432 {
1433 { 1433 m_LSL_Functions.llResetOtherScript(name);
1434 return m_LSL_Functions.llGetScriptState(name); 1434 }
1435 } 1435
1436 1436 public int llGetScriptState(string name)
1437 public void llRemoteLoadScript() 1437 {
1438 { 1438 return m_LSL_Functions.llGetScriptState(name);
1439 m_LSL_Functions.llRemoteLoadScript(); 1439 }
1440 } 1440
1441 1441 public void llRemoteLoadScript()
1442 public void llSetRemoteScriptAccessPin(int pin) 1442 {
1443 { 1443 m_LSL_Functions.llRemoteLoadScript();
1444 m_LSL_Functions.llSetRemoteScriptAccessPin(pin); 1444 }
1445 } 1445
1446 1446 public void llSetRemoteScriptAccessPin(int pin)
1447 public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) 1447 {
1448 { 1448 m_LSL_Functions.llSetRemoteScriptAccessPin(pin);
1449 m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param); 1449 }
1450 } 1450
1451 1451 public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param)
1452 // 1452 {
1453 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1453 m_LSL_Functions.llRemoteLoadScriptPin(target, name, pin, running, start_param);
1454 // 1454 }
1455 public void llOpenRemoteDataChannel() 1455
1456 { 1456 //
1457 m_LSL_Functions.llOpenRemoteDataChannel(); 1457 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1458 } 1458 //
1459 1459 public void llOpenRemoteDataChannel()
1460 public string llSendRemoteData(string channel, string dest, int idata, string sdata) 1460 {
1461 { 1461 m_LSL_Functions.llOpenRemoteDataChannel();
1462 return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata); 1462 }
1463 } 1463
1464 1464 public string llSendRemoteData(string channel, string dest, int idata, string sdata)
1465 public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) 1465 {
1466 { 1466 return m_LSL_Functions.llSendRemoteData(channel, dest, idata, sdata);
1467 m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata); 1467 }
1468 } 1468
1469 1469 public void llRemoteDataReply(string channel, string message_id, string sdata, int idata)
1470 public void llCloseRemoteDataChannel(string channel) 1470 {
1471 { 1471 m_LSL_Functions.llRemoteDataReply(channel, message_id, sdata, idata);
1472 m_LSL_Functions.llCloseRemoteDataChannel(channel); 1472 }
1473 } 1473
1474 1474 public void llCloseRemoteDataChannel(string channel)
1475 public string llMD5String(string src, int nonce) 1475 {
1476 { 1476 m_LSL_Functions.llCloseRemoteDataChannel(channel);
1477 return m_LSL_Functions.llMD5String(src, nonce); 1477 }
1478 } 1478
1479 1479 public string llMD5String(string src, int nonce)
1480 public void llSetPrimitiveParams(LSL_Types.list rules) 1480 {
1481 { 1481 return m_LSL_Functions.llMD5String(src, nonce);
1482 m_LSL_Functions.llSetPrimitiveParams(rules); 1482 }
1483 } 1483
1484 1484 public void llSetPrimitiveParams(LSL_Types.list rules)
1485 public string llStringToBase64(string str) 1485 {
1486 { 1486 m_LSL_Functions.llSetPrimitiveParams(rules);
1487 return m_LSL_Functions.llStringToBase64(str); 1487 }
1488 } 1488
1489 1489 public string llStringToBase64(string str)
1490 public string llBase64ToString(string str) 1490 {
1491 { 1491 return m_LSL_Functions.llStringToBase64(str);
1492 return m_LSL_Functions.llBase64ToString(str); 1492 }
1493 } 1493
1494 1494 public string llBase64ToString(string str)
1495 public void llXorBase64Strings() 1495 {
1496 { 1496 return m_LSL_Functions.llBase64ToString(str);
1497 m_LSL_Functions.llXorBase64Strings(); 1497 }
1498 } 1498
1499 1499 public void llXorBase64Strings()
1500 public void llRemoteDataSetRegion() 1500 {
1501 { 1501 m_LSL_Functions.llXorBase64Strings();
1502 m_LSL_Functions.llRemoteDataSetRegion(); 1502 }
1503 } 1503
1504 1504 public void llRemoteDataSetRegion()
1505 public double llLog10(double val) 1505 {
1506 { 1506 m_LSL_Functions.llRemoteDataSetRegion();
1507 return m_LSL_Functions.llLog10(val); 1507 }
1508 } 1508
1509 1509 public double llLog10(double val)
1510 public double llLog(double val) 1510 {
1511 { 1511 return m_LSL_Functions.llLog10(val);
1512 return m_LSL_Functions.llLog(val); 1512 }
1513 } 1513
1514 1514 public double llLog(double val)
1515 public LSL_Types.list llGetAnimationList(string id) 1515 {
1516 { 1516 return m_LSL_Functions.llLog(val);
1517 return m_LSL_Functions.llGetAnimationList(id); 1517 }
1518 } 1518
1519 1519 public LSL_Types.list llGetAnimationList(string id)
1520 public void llSetParcelMusicURL(string url) 1520 {
1521 { 1521 return m_LSL_Functions.llGetAnimationList(id);
1522 m_LSL_Functions.llSetParcelMusicURL(url); 1522 }
1523 } 1523
1524 1524 public void llSetParcelMusicURL(string url)
1525 public vector llGetRootPosition() 1525 {
1526 { 1526 m_LSL_Functions.llSetParcelMusicURL(url);
1527 return m_LSL_Functions.llGetRootPosition(); 1527 }
1528 } 1528
1529 1529 public vector llGetRootPosition()
1530 public rotation llGetRootRotation() 1530 {
1531 { 1531 return m_LSL_Functions.llGetRootPosition();
1532 return m_LSL_Functions.llGetRootRotation(); 1532 }
1533 } 1533
1534 1534 public rotation llGetRootRotation()
1535 public string llGetObjectDesc() 1535 {
1536 { 1536 return m_LSL_Functions.llGetRootRotation();
1537 return m_LSL_Functions.llGetObjectDesc(); 1537 }
1538 } 1538
1539 1539 public string llGetObjectDesc()
1540 public void llSetObjectDesc(string desc) 1540 {
1541 { 1541 return m_LSL_Functions.llGetObjectDesc();
1542 m_LSL_Functions.llSetObjectDesc(desc); 1542 }
1543 } 1543
1544 1544 public void llSetObjectDesc(string desc)
1545 public string llGetCreator() 1545 {
1546 { 1546 m_LSL_Functions.llSetObjectDesc(desc);
1547 return m_LSL_Functions.llGetCreator(); 1547 }
1548 } 1548
1549 1549 public string llGetCreator()
1550 public string llGetTimestamp() 1550 {
1551 { 1551 return m_LSL_Functions.llGetCreator();
1552 return m_LSL_Functions.llGetTimestamp(); 1552 }
1553 } 1553
1554 1554 public string llGetTimestamp()
1555 public void llSetLinkAlpha(int linknumber, double alpha, int face) 1555 {
1556 { 1556 return m_LSL_Functions.llGetTimestamp();
1557 m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face); 1557 }
1558 } 1558
1559 1559 public void llSetLinkAlpha(int linknumber, double alpha, int face)
1560 public int llGetNumberOfPrims() 1560 {
1561 { 1561 m_LSL_Functions.llSetLinkAlpha(linknumber, alpha, face);
1562 return m_LSL_Functions.llGetNumberOfPrims(); 1562 }
1563 } 1563
1564 1564 public int llGetNumberOfPrims()
1565 public string llGetNumberOfNotecardLines(string name) 1565 {
1566 { 1566 return m_LSL_Functions.llGetNumberOfPrims();
1567 return m_LSL_Functions.llGetNumberOfNotecardLines(name); 1567 }
1568 } 1568
1569 1569 public string llGetNumberOfNotecardLines(string name)
1570 public LSL_Types.list llGetBoundingBox(string obj) 1570 {
1571 { 1571 return m_LSL_Functions.llGetNumberOfNotecardLines(name);
1572 return m_LSL_Functions.llGetBoundingBox(obj); 1572 }
1573 } 1573
1574 1574 public LSL_Types.list llGetBoundingBox(string obj)
1575 public vector llGetGeometricCenter() 1575 {
1576 { 1576 return m_LSL_Functions.llGetBoundingBox(obj);
1577 return m_LSL_Functions.llGetGeometricCenter(); 1577 }
1578 } 1578
1579 1579 public vector llGetGeometricCenter()
1580 public void llGetPrimitiveParams() 1580 {
1581 { 1581 return m_LSL_Functions.llGetGeometricCenter();
1582 m_LSL_Functions.llGetPrimitiveParams(); 1582 }
1583 } 1583
1584 1584 public void llGetPrimitiveParams()
1585 // 1585 {
1586 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1586 m_LSL_Functions.llGetPrimitiveParams();
1587 // 1587 }
1588 public string llIntegerToBase64(int number) 1588
1589 { 1589 //
1590 return m_LSL_Functions.llIntegerToBase64(number); 1590 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1591 } 1591 //
1592 1592 public string llIntegerToBase64(int number)
1593 public int llBase64ToInteger(string str) 1593 {
1594 { 1594 return m_LSL_Functions.llIntegerToBase64(number);
1595 return m_LSL_Functions.llBase64ToInteger(str); 1595 }
1596 } 1596
1597 1597 public int llBase64ToInteger(string str)
1598 public double llGetGMTclock() 1598 {
1599 { 1599 return m_LSL_Functions.llBase64ToInteger(str);
1600 return m_LSL_Functions.llGetGMTclock(); 1600 }
1601 } 1601
1602 1602 public double llGetGMTclock()
1603 public string llGetSimulatorHostname() 1603 {
1604 { 1604 return m_LSL_Functions.llGetGMTclock();
1605 return m_LSL_Functions.llGetSimulatorHostname(); 1605 }
1606 } 1606
1607 1607 public string llGetSimulatorHostname()
1608 public void llSetLocalRot(rotation rot) 1608 {
1609 { 1609 return m_LSL_Functions.llGetSimulatorHostname();
1610 m_LSL_Functions.llSetLocalRot(rot); 1610 }
1611 } 1611
1612 1612 public void llSetLocalRot(rotation rot)
1613 public LSL_Types.list llParseStringKeepNulls(string src, LSL_Types.list seperators, LSL_Types.list spacers) 1613 {
1614 { 1614 m_LSL_Functions.llSetLocalRot(rot);
1615 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); 1615 }
1616 } 1616
1617 1617 public LSL_Types.list llParseStringKeepNulls(string src, LSL_Types.list seperators, LSL_Types.list spacers)
1618 public void llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, int param) 1618 {
1619 { 1619 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers);
1620 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); 1620 }
1621 } 1621
1622 1622 public void llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, int param)
1623 public int llGetObjectPermMask(int mask) 1623 {
1624 { 1624 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param);
1625 return m_LSL_Functions.llGetObjectPermMask(mask); 1625 }
1626 } 1626
1627 1627 public int llGetObjectPermMask(int mask)
1628 public void llSetObjectPermMask(int mask, int value) 1628 {
1629 { 1629 return m_LSL_Functions.llGetObjectPermMask(mask);
1630 m_LSL_Functions.llSetObjectPermMask(mask, value); 1630 }
1631 } 1631
1632 1632 public void llSetObjectPermMask(int mask, int value)
1633 public void llGetInventoryPermMask(string item, int mask) 1633 {
1634 { 1634 m_LSL_Functions.llSetObjectPermMask(mask, value);
1635 m_LSL_Functions.llGetInventoryPermMask(item, mask); 1635 }
1636 } 1636
1637 1637 public void llGetInventoryPermMask(string item, int mask)
1638 public void llSetInventoryPermMask(string item, int mask, int value) 1638 {
1639 { 1639 m_LSL_Functions.llGetInventoryPermMask(item, mask);
1640 m_LSL_Functions.llSetInventoryPermMask(item, mask, value); 1640 }
1641 } 1641
1642 1642 public void llSetInventoryPermMask(string item, int mask, int value)
1643 public string llGetInventoryCreator(string item) 1643 {
1644 { 1644 m_LSL_Functions.llSetInventoryPermMask(item, mask, value);
1645 return m_LSL_Functions.llGetInventoryCreator(item); 1645 }
1646 } 1646
1647 1647 public string llGetInventoryCreator(string item)
1648 public void llOwnerSay(string msg) 1648 {
1649 { 1649 return m_LSL_Functions.llGetInventoryCreator(item);
1650 m_LSL_Functions.llOwnerSay(msg); 1650 }
1651 } 1651
1652 1652 public void llOwnerSay(string msg)
1653 public void llRequestSimulatorData(string simulator, int data) 1653 {
1654 { 1654 m_LSL_Functions.llOwnerSay(msg);
1655 m_LSL_Functions.llRequestSimulatorData(simulator, data); 1655 }
1656 } 1656
1657 1657 public void llRequestSimulatorData(string simulator, int data)
1658 public void llForceMouselook(int mouselook) 1658 {
1659 { 1659 m_LSL_Functions.llRequestSimulatorData(simulator, data);
1660 m_LSL_Functions.llForceMouselook(mouselook); 1660 }
1661 } 1661
1662 1662 public void llForceMouselook(int mouselook)
1663 public double llGetObjectMass(string id) 1663 {
1664 { 1664 m_LSL_Functions.llForceMouselook(mouselook);
1665 return m_LSL_Functions.llGetObjectMass(id); 1665 }
1666 } 1666
1667 1667 public double llGetObjectMass(string id)
1668 public LSL_Types.list llListReplaceList(LSL_Types.list dest, LSL_Types.list src, int start, int end) 1668 {
1669 { 1669 return m_LSL_Functions.llGetObjectMass(id);
1670 return m_LSL_Functions.llListReplaceList(dest, src, start, end); 1670 }
1671 } 1671
1672 1672 public LSL_Types.list llListReplaceList(LSL_Types.list dest, LSL_Types.list src, int start, int end)
1673 public void llLoadURL(string avatar_id, string message, string url) 1673 {
1674 { 1674 return m_LSL_Functions.llListReplaceList(dest, src, start, end);
1675 m_LSL_Functions.llLoadURL(avatar_id, message, url); 1675 }
1676 } 1676
1677 1677 public void llLoadURL(string avatar_id, string message, string url)
1678 public void llParcelMediaCommandList(LSL_Types.list commandList) 1678 {
1679 { 1679 m_LSL_Functions.llLoadURL(avatar_id, message, url);
1680 m_LSL_Functions.llParcelMediaCommandList(commandList); 1680 }
1681 } 1681
1682 1682 public void llParcelMediaCommandList(LSL_Types.list commandList)
1683 public void llParcelMediaQuery() 1683 {
1684 { 1684 m_LSL_Functions.llParcelMediaCommandList(commandList);
1685 m_LSL_Functions.llParcelMediaQuery(); 1685 }
1686 } 1686
1687 1687 public void llParcelMediaQuery()
1688 public int llModPow(int a, int b, int c) 1688 {
1689 { 1689 m_LSL_Functions.llParcelMediaQuery();
1690 return m_LSL_Functions.llModPow(a, b, c); 1690 }
1691 } 1691
1692 1692 public int llModPow(int a, int b, int c)
1693 // 1693 {
1694 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1694 return m_LSL_Functions.llModPow(a, b, c);
1695 // 1695 }
1696 public int llGetInventoryType(string name) 1696
1697 { 1697 //
1698 return m_LSL_Functions.llGetInventoryType(name); 1698 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1699 } 1699 //
1700 1700 public int llGetInventoryType(string name)
1701 public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons) 1701 {
1702 { 1702 return m_LSL_Functions.llGetInventoryType(name);
1703 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); 1703 }
1704 } 1704
1705 1705 public void llSetPayPrice(int price, LSL_Types.list quick_pay_buttons)
1706 public vector llGetCameraPos() 1706 {
1707 { 1707 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons);
1708 return m_LSL_Functions.llGetCameraPos(); 1708 }
1709 } 1709
1710 1710 public vector llGetCameraPos()
1711 public rotation llGetCameraRot() 1711 {
1712 { 1712 return m_LSL_Functions.llGetCameraPos();
1713 return m_LSL_Functions.llGetCameraRot(); 1713 }
1714 } 1714
1715 1715 public rotation llGetCameraRot()
1716 public void llSetPrimURL() 1716 {
1717 { 1717 return m_LSL_Functions.llGetCameraRot();
1718 m_LSL_Functions.llSetPrimURL(); 1718 }
1719 } 1719
1720 1720 public void llSetPrimURL()
1721 public void llRefreshPrimURL() 1721 {
1722 { 1722 m_LSL_Functions.llSetPrimURL();
1723 m_LSL_Functions.llRefreshPrimURL(); 1723 }
1724 } 1724
1725 1725 public void llRefreshPrimURL()
1726 public string llEscapeURL(string url) 1726 {
1727 { 1727 m_LSL_Functions.llRefreshPrimURL();
1728 return m_LSL_Functions.llEscapeURL(url); 1728 }
1729 } 1729
1730 1730 public string llEscapeURL(string url)
1731 public string llUnescapeURL(string url) 1731 {
1732 { 1732 return m_LSL_Functions.llEscapeURL(url);
1733 return m_LSL_Functions.llUnescapeURL(url); 1733 }
1734 } 1734
1735 1735 public string llUnescapeURL(string url)
1736 public void llMapDestination(string simname, vector pos, vector look_at) 1736 {
1737 { 1737 return m_LSL_Functions.llUnescapeURL(url);
1738 m_LSL_Functions.llMapDestination(simname, pos, look_at); 1738 }
1739 } 1739
1740 1740 public void llMapDestination(string simname, vector pos, vector look_at)
1741 public void llAddToLandBanList(string avatar, double hours) 1741 {
1742 { 1742 m_LSL_Functions.llMapDestination(simname, pos, look_at);
1743 m_LSL_Functions.llAddToLandBanList(avatar, hours); 1743 }
1744 } 1744
1745 1745 public void llAddToLandBanList(string avatar, double hours)
1746 public void llRemoveFromLandPassList(string avatar) 1746 {
1747 { 1747 m_LSL_Functions.llAddToLandBanList(avatar, hours);
1748 m_LSL_Functions.llRemoveFromLandPassList(avatar); 1748 }
1749 } 1749
1750 1750 public void llRemoveFromLandPassList(string avatar)
1751 public void llRemoveFromLandBanList(string avatar) 1751 {
1752 { 1752 m_LSL_Functions.llRemoveFromLandPassList(avatar);
1753 m_LSL_Functions.llRemoveFromLandBanList(avatar); 1753 }
1754 } 1754
1755 1755 public void llRemoveFromLandBanList(string avatar)
1756 public void llSetCameraParams(LSL_Types.list rules) 1756 {
1757 { 1757 m_LSL_Functions.llRemoveFromLandBanList(avatar);
1758 m_LSL_Functions.llSetCameraParams(rules); 1758 }
1759 } 1759
1760 1760 public void llSetCameraParams(LSL_Types.list rules)
1761 public void llClearCameraParams() 1761 {
1762 { 1762 m_LSL_Functions.llSetCameraParams(rules);
1763 m_LSL_Functions.llClearCameraParams(); 1763 }
1764 } 1764
1765 1765 public void llClearCameraParams()
1766 public double llListStatistics(int operation, LSL_Types.list src) 1766 {
1767 { 1767 m_LSL_Functions.llClearCameraParams();
1768 return m_LSL_Functions.llListStatistics(operation, src); 1768 }
1769 } 1769
1770 1770 public double llListStatistics(int operation, LSL_Types.list src)
1771 public int llGetUnixTime() 1771 {
1772 { 1772 return m_LSL_Functions.llListStatistics(operation, src);
1773 return m_LSL_Functions.llGetUnixTime(); 1773 }
1774 } 1774
1775 1775 public int llGetUnixTime()
1776 public int llGetParcelFlags(vector pos) 1776 {
1777 { 1777 return m_LSL_Functions.llGetUnixTime();
1778 return m_LSL_Functions.llGetParcelFlags(pos); 1778 }
1779 } 1779
1780 1780 public int llGetParcelFlags(vector pos)
1781 public int llGetRegionFlags() 1781 {
1782 { 1782 return m_LSL_Functions.llGetParcelFlags(pos);
1783 return m_LSL_Functions.llGetRegionFlags(); 1783 }
1784 } 1784
1785 1785 public int llGetRegionFlags()
1786 public string llXorBase64StringsCorrect(string str1, string str2) 1786 {
1787 { 1787 return m_LSL_Functions.llGetRegionFlags();
1788 return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); 1788 }
1789 } 1789
1790 1790 public string llXorBase64StringsCorrect(string str1, string str2)
1791 public string llHTTPRequest(string url, LSL_Types.list parameters, string body) 1791 {
1792 { 1792 return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2);
1793 return m_LSL_Functions.llHTTPRequest(url, parameters, body); 1793 }
1794 } 1794
1795 1795 public string llHTTPRequest(string url, LSL_Types.list parameters, string body)
1796 public void llResetLandBanList() 1796 {
1797 { 1797 return m_LSL_Functions.llHTTPRequest(url, parameters, body);
1798 m_LSL_Functions.llResetLandBanList(); 1798 }
1799 } 1799
1800 1800 public void llResetLandBanList()
1801 public void llResetLandPassList() 1801 {
1802 { 1802 m_LSL_Functions.llResetLandBanList();
1803 m_LSL_Functions.llResetLandPassList(); 1803 }
1804 } 1804
1805 1805 public void llResetLandPassList()
1806 public int llGetParcelPrimCount(vector pos, int category, int sim_wide) 1806 {
1807 { 1807 m_LSL_Functions.llResetLandPassList();
1808 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); 1808 }
1809 } 1809
1810 1810 public int llGetParcelPrimCount(vector pos, int category, int sim_wide)
1811 public LSL_Types.list llGetParcelPrimOwners(vector pos) 1811 {
1812 { 1812 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide);
1813 return m_LSL_Functions.llGetParcelPrimOwners(pos); 1813 }
1814 } 1814
1815 1815 public LSL_Types.list llGetParcelPrimOwners(vector pos)
1816 public int llGetObjectPrimCount(string object_id) 1816 {
1817 { 1817 return m_LSL_Functions.llGetParcelPrimOwners(pos);
1818 return m_LSL_Functions.llGetObjectPrimCount(object_id); 1818 }
1819 } 1819
1820 1820 public int llGetObjectPrimCount(string object_id)
1821 // 1821 {
1822 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1822 return m_LSL_Functions.llGetObjectPrimCount(object_id);
1823 // 1823 }
1824 public int llGetParcelMaxPrims(vector pos, int sim_wide) 1824
1825 { 1825 //
1826 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); 1826 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1827 } 1827 //
1828 1828 public int llGetParcelMaxPrims(vector pos, int sim_wide)
1829 public LSL_Types.list llGetParcelDetails(vector pos, LSL_Types.list param) 1829 {
1830 { 1830 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide);
1831 return m_LSL_Functions.llGetParcelDetails(pos, param); 1831 }
1832 } 1832
1833 1833 public LSL_Types.list llGetParcelDetails(vector pos, LSL_Types.list param)
1834 public string llStringTrim(string src, int type) 1834 {
1835 { 1835 return m_LSL_Functions.llGetParcelDetails(pos, param);
1836 return m_LSL_Functions.llStringTrim(src, type); 1836 }
1837 } 1837
1838 1838 public string llStringTrim(string src, int type)
1839 // 1839 {
1840 // OpenSim Functions 1840 return m_LSL_Functions.llStringTrim(src, type);
1841 // 1841 }
1842 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, 1842
1843 int timer) 1843 //
1844 { 1844 // OpenSim Functions
1845 return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer); 1845 //
1846 } 1846 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
1847 1847 int timer)
1848 public double osTerrainGetHeight(int x, int y) 1848 {
1849 { 1849 return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer);
1850 return m_LSL_Functions.osTerrainGetHeight(x, y); 1850 }
1851 } 1851
1852 1852 public double osTerrainGetHeight(int x, int y)
1853 public int osTerrainSetHeight(int x, int y, double val) 1853 {
1854 { 1854 return m_LSL_Functions.osTerrainGetHeight(x, y);
1855 return m_LSL_Functions.osTerrainSetHeight(x, y, val); 1855 }
1856 } 1856
1857 1857 public int osTerrainSetHeight(int x, int y, double val)
1858 public int osRegionRestart(double seconds) 1858 {
1859 { 1859 return m_LSL_Functions.osTerrainSetHeight(x, y, val);
1860 return m_LSL_Functions.osRegionRestart(seconds); 1860 }
1861 } 1861
1862 1862 public int osRegionRestart(double seconds)
1863 public void osRegionNotice(string msg) 1863 {
1864 { 1864 return m_LSL_Functions.osRegionRestart(seconds);
1865 m_LSL_Functions.osRegionNotice(msg); 1865 }
1866 } 1866
1867 1867 public void osRegionNotice(string msg)
1868 public bool osConsoleCommand(string Command) 1868 {
1869 { 1869 m_LSL_Functions.osRegionNotice(msg);
1870 return m_LSL_Functions.osConsoleCommand(Command); 1870 }
1871 } 1871
1872 1872 public bool osConsoleCommand(string Command)
1873 public double llList2Float(LSL_Types.list src, int index) 1873 {
1874 { 1874 return m_LSL_Functions.osConsoleCommand(Command);
1875 return m_LSL_Functions.llList2Float(src, index); 1875 }
1876 } 1876
1877 1877 public double llList2Float(LSL_Types.list src, int index)
1878 // LSL CONSTANTS 1878 {
1879 public const int TRUE = 1; 1879 return m_LSL_Functions.llList2Float(src, index);
1880 public const int FALSE = 0; 1880 }
1881 public const int STATUS_PHYSICS = 1; 1881
1882 public const int STATUS_ROTATE_X = 2; 1882 // LSL CONSTANTS
1883 public const int STATUS_ROTATE_Y = 4; 1883 public const int TRUE = 1;
1884 public const int STATUS_ROTATE_Z = 8; 1884 public const int FALSE = 0;
1885 public const int STATUS_PHANTOM = 16; 1885 public const int STATUS_PHYSICS = 1;
1886 public const int STATUS_SANDBOX = 32; 1886 public const int STATUS_ROTATE_X = 2;
1887 public const int STATUS_BLOCK_GRAB = 64; 1887 public const int STATUS_ROTATE_Y = 4;
1888 public const int STATUS_DIE_AT_EDGE = 128; 1888 public const int STATUS_ROTATE_Z = 8;
1889 public const int STATUS_RETURN_AT_EDGE = 256; 1889 public const int STATUS_PHANTOM = 16;
1890 public const int STATUS_CAST_SHADOWS = 512; 1890 public const int STATUS_SANDBOX = 32;
1891 public const int AGENT = 1; 1891 public const int STATUS_BLOCK_GRAB = 64;
1892 public const int ACTIVE = 2; 1892 public const int STATUS_DIE_AT_EDGE = 128;
1893 public const int PASSIVE = 4; 1893 public const int STATUS_RETURN_AT_EDGE = 256;
1894 public const int SCRIPTED = 8; 1894 public const int STATUS_CAST_SHADOWS = 512;
1895 public const int CONTROL_FWD = 1; 1895 public const int AGENT = 1;
1896 public const int CONTROL_BACK = 2; 1896 public const int ACTIVE = 2;
1897 public const int CONTROL_LEFT = 4; 1897 public const int PASSIVE = 4;
1898 public const int CONTROL_RIGHT = 8; 1898 public const int SCRIPTED = 8;
1899 public const int CONTROL_UP = 16; 1899 public const int CONTROL_FWD = 1;
1900 public const int CONTROL_DOWN = 32; 1900 public const int CONTROL_BACK = 2;
1901 public const int CONTROL_ROT_LEFT = 256; 1901 public const int CONTROL_LEFT = 4;
1902 public const int CONTROL_ROT_RIGHT = 512; 1902 public const int CONTROL_RIGHT = 8;
1903 public const int CONTROL_LBUTTON = 268435456; 1903 public const int CONTROL_UP = 16;
1904 public const int CONTROL_ML_LBUTTON = 1073741824; 1904 public const int CONTROL_DOWN = 32;
1905 public const int PERMISSION_DEBIT = 2; 1905 public const int CONTROL_ROT_LEFT = 256;
1906 public const int PERMISSION_TAKE_CONTROLS = 4; 1906 public const int CONTROL_ROT_RIGHT = 512;
1907 public const int PERMISSION_REMAP_CONTROLS = 8; 1907 public const int CONTROL_LBUTTON = 268435456;
1908 public const int PERMISSION_TRIGGER_ANIMATION = 16; 1908 public const int CONTROL_ML_LBUTTON = 1073741824;
1909 public const int PERMISSION_ATTACH = 32; 1909 public const int PERMISSION_DEBIT = 2;
1910 public const int PERMISSION_RELEASE_OWNERSHIP = 64; 1910 public const int PERMISSION_TAKE_CONTROLS = 4;
1911 public const int PERMISSION_CHANGE_LINKS = 128; 1911 public const int PERMISSION_REMAP_CONTROLS = 8;
1912 public const int PERMISSION_CHANGE_JOINTS = 256; 1912 public const int PERMISSION_TRIGGER_ANIMATION = 16;
1913 public const int PERMISSION_CHANGE_PERMISSIONS = 512; 1913 public const int PERMISSION_ATTACH = 32;
1914 public const int PERMISSION_TRACK_CAMERA = 1024; 1914 public const int PERMISSION_RELEASE_OWNERSHIP = 64;
1915 public const int AGENT_FLYING = 1; 1915 public const int PERMISSION_CHANGE_LINKS = 128;
1916 public const int AGENT_ATTACHMENTS = 2; 1916 public const int PERMISSION_CHANGE_JOINTS = 256;
1917 public const int AGENT_SCRIPTED = 4; 1917 public const int PERMISSION_CHANGE_PERMISSIONS = 512;
1918 public const int AGENT_MOUSELOOK = 8; 1918 public const int PERMISSION_TRACK_CAMERA = 1024;
1919 public const int AGENT_SITTING = 16; 1919 public const int AGENT_FLYING = 1;
1920 public const int AGENT_ON_OBJECT = 32; 1920 public const int AGENT_ATTACHMENTS = 2;
1921 public const int AGENT_AWAY = 64; 1921 public const int AGENT_SCRIPTED = 4;
1922 public const int AGENT_WALKING = 128; 1922 public const int AGENT_MOUSELOOK = 8;
1923 public const int AGENT_IN_AIR = 256; 1923 public const int AGENT_SITTING = 16;
1924 public const int AGENT_TYPING = 512; 1924 public const int AGENT_ON_OBJECT = 32;
1925 public const int AGENT_CROUCHING = 1024; 1925 public const int AGENT_AWAY = 64;
1926 public const int AGENT_BUSY = 2048; 1926 public const int AGENT_WALKING = 128;
1927 public const int AGENT_ALWAYS_RUN = 4096; 1927 public const int AGENT_IN_AIR = 256;
1928 public const int PSYS_PART_INTERP_COLOR_MASK = 1; 1928 public const int AGENT_TYPING = 512;
1929 public const int PSYS_PART_INTERP_SCALE_MASK = 2; 1929 public const int AGENT_CROUCHING = 1024;
1930 public const int PSYS_PART_BOUNCE_MASK = 4; 1930 public const int AGENT_BUSY = 2048;
1931 public const int PSYS_PART_WIND_MASK = 8; 1931 public const int AGENT_ALWAYS_RUN = 4096;
1932 public const int PSYS_PART_FOLLOW_SRC_MASK = 16; 1932 public const int PSYS_PART_INTERP_COLOR_MASK = 1;
1933 public const int PSYS_PART_FOLLOW_VELOCITY_MASK = 32; 1933 public const int PSYS_PART_INTERP_SCALE_MASK = 2;
1934 public const int PSYS_PART_TARGET_POS_MASK = 64; 1934 public const int PSYS_PART_BOUNCE_MASK = 4;
1935 public const int PSYS_PART_TARGET_LINEAR_MASK = 128; 1935 public const int PSYS_PART_WIND_MASK = 8;
1936 public const int PSYS_PART_EMISSIVE_MASK = 256; 1936 public const int PSYS_PART_FOLLOW_SRC_MASK = 16;
1937 public const int PSYS_PART_FLAGS = 0; 1937 public const int PSYS_PART_FOLLOW_VELOCITY_MASK = 32;
1938 public const int PSYS_PART_START_COLOR = 1; 1938 public const int PSYS_PART_TARGET_POS_MASK = 64;
1939 public const int PSYS_PART_START_ALPHA = 2; 1939 public const int PSYS_PART_TARGET_LINEAR_MASK = 128;
1940 public const int PSYS_PART_END_COLOR = 3; 1940 public const int PSYS_PART_EMISSIVE_MASK = 256;
1941 public const int PSYS_PART_END_ALPHA = 4; 1941 public const int PSYS_PART_FLAGS = 0;
1942 public const int PSYS_PART_START_SCALE = 5; 1942 public const int PSYS_PART_START_COLOR = 1;
1943 public const int PSYS_PART_END_SCALE = 6; 1943 public const int PSYS_PART_START_ALPHA = 2;
1944 public const int PSYS_PART_MAX_AGE = 7; 1944 public const int PSYS_PART_END_COLOR = 3;
1945 public const int PSYS_SRC_ACCEL = 8; 1945 public const int PSYS_PART_END_ALPHA = 4;
1946 public const int PSYS_SRC_PATTERN = 9; 1946 public const int PSYS_PART_START_SCALE = 5;
1947 public const int PSYS_SRC_INNERANGLE = 10; 1947 public const int PSYS_PART_END_SCALE = 6;
1948 public const int PSYS_SRC_OUTERANGLE = 11; 1948 public const int PSYS_PART_MAX_AGE = 7;
1949 public const int PSYS_SRC_TEXTURE = 12; 1949 public const int PSYS_SRC_ACCEL = 8;
1950 public const int PSYS_SRC_BURST_RATE = 13; 1950 public const int PSYS_SRC_PATTERN = 9;
1951 public const int PSYS_SRC_BURST_PART_COUNT = 15; 1951 public const int PSYS_SRC_INNERANGLE = 10;
1952 public const int PSYS_SRC_BURST_RADIUS = 16; 1952 public const int PSYS_SRC_OUTERANGLE = 11;
1953 public const int PSYS_SRC_BURST_SPEED_MIN = 17; 1953 public const int PSYS_SRC_TEXTURE = 12;
1954 public const int PSYS_SRC_BURST_SPEED_MAX = 18; 1954 public const int PSYS_SRC_BURST_RATE = 13;
1955 public const int PSYS_SRC_MAX_AGE = 19; 1955 public const int PSYS_SRC_BURST_PART_COUNT = 15;
1956 public const int PSYS_SRC_TARGET_KEY = 20; 1956 public const int PSYS_SRC_BURST_RADIUS = 16;
1957 public const int PSYS_SRC_OMEGA = 21; 1957 public const int PSYS_SRC_BURST_SPEED_MIN = 17;
1958 public const int PSYS_SRC_ANGLE_BEGIN = 22; 1958 public const int PSYS_SRC_BURST_SPEED_MAX = 18;
1959 public const int PSYS_SRC_ANGLE_END = 23; 1959 public const int PSYS_SRC_MAX_AGE = 19;
1960 public const int PSYS_SRC_PATTERN_DROP = 1; 1960 public const int PSYS_SRC_TARGET_KEY = 20;
1961 public const int PSYS_SRC_PATTERN_EXPLODE = 2; 1961 public const int PSYS_SRC_OMEGA = 21;
1962 public const int PSYS_SRC_PATTERN_ANGLE = 4; 1962 public const int PSYS_SRC_ANGLE_BEGIN = 22;
1963 public const int PSYS_SRC_PATTERN_ANGLE_CONE = 8; 1963 public const int PSYS_SRC_ANGLE_END = 23;
1964 public const int PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16; 1964 public const int PSYS_SRC_PATTERN_DROP = 1;
1965 public const int VEHICLE_TYPE_NONE = 0; 1965 public const int PSYS_SRC_PATTERN_EXPLODE = 2;
1966 public const int VEHICLE_TYPE_SLED = 1; 1966 public const int PSYS_SRC_PATTERN_ANGLE = 4;
1967 public const int VEHICLE_TYPE_CAR = 2; 1967 public const int PSYS_SRC_PATTERN_ANGLE_CONE = 8;
1968 public const int VEHICLE_TYPE_BOAT = 3; 1968 public const int PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16;
1969 public const int VEHICLE_TYPE_AIRPLANE = 4; 1969 public const int VEHICLE_TYPE_NONE = 0;
1970 public const int VEHICLE_TYPE_BALLOON = 5; 1970 public const int VEHICLE_TYPE_SLED = 1;
1971 public const int VEHICLE_LINEAR_FRICTION_TIMESCALE = 16; 1971 public const int VEHICLE_TYPE_CAR = 2;
1972 public const int VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17; 1972 public const int VEHICLE_TYPE_BOAT = 3;
1973 public const int VEHICLE_LINEAR_MOTOR_DIRECTION = 18; 1973 public const int VEHICLE_TYPE_AIRPLANE = 4;
1974 public const int VEHICLE_LINEAR_MOTOR_OFFSET = 20; 1974 public const int VEHICLE_TYPE_BALLOON = 5;
1975 public const int VEHICLE_ANGULAR_MOTOR_DIRECTION = 19; 1975 public const int VEHICLE_LINEAR_FRICTION_TIMESCALE = 16;
1976 public const int VEHICLE_HOVER_HEIGHT = 24; 1976 public const int VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17;
1977 public const int VEHICLE_HOVER_EFFICIENCY = 25; 1977 public const int VEHICLE_LINEAR_MOTOR_DIRECTION = 18;
1978 public const int VEHICLE_HOVER_TIMESCALE = 26; 1978 public const int VEHICLE_LINEAR_MOTOR_OFFSET = 20;
1979 public const int VEHICLE_BUOYANCY = 27; 1979 public const int VEHICLE_ANGULAR_MOTOR_DIRECTION = 19;
1980 public const int VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28; 1980 public const int VEHICLE_HOVER_HEIGHT = 24;
1981 public const int VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29; 1981 public const int VEHICLE_HOVER_EFFICIENCY = 25;
1982 public const int VEHICLE_LINEAR_MOTOR_TIMESCALE = 30; 1982 public const int VEHICLE_HOVER_TIMESCALE = 26;
1983 public const int VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31; 1983 public const int VEHICLE_BUOYANCY = 27;
1984 public const int VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32; 1984 public const int VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28;
1985 public const int VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33; 1985 public const int VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29;
1986 public const int VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34; 1986 public const int VEHICLE_LINEAR_MOTOR_TIMESCALE = 30;
1987 public const int VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35; 1987 public const int VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31;
1988 public const int VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36; 1988 public const int VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32;
1989 public const int VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37; 1989 public const int VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33;
1990 public const int VEHICLE_BANKING_EFFICIENCY = 38; 1990 public const int VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34;
1991 public const int VEHICLE_BANKING_MIX = 39; 1991 public const int VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35;
1992 public const int VEHICLE_BANKING_TIMESCALE = 40; 1992 public const int VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36;
1993 public const int VEHICLE_REFERENCE_FRAME = 44; 1993 public const int VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37;
1994 public const int VEHICLE_FLAG_NO_DEFLECTION_UP = 1; 1994 public const int VEHICLE_BANKING_EFFICIENCY = 38;
1995 public const int VEHICLE_FLAG_LIMIT_ROLL_ONLY = 2; 1995 public const int VEHICLE_BANKING_MIX = 39;
1996 public const int VEHICLE_FLAG_HOVER_WATER_ONLY = 4; 1996 public const int VEHICLE_BANKING_TIMESCALE = 40;
1997 public const int VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 8; 1997 public const int VEHICLE_REFERENCE_FRAME = 44;
1998 public const int VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 16; 1998 public const int VEHICLE_FLAG_NO_DEFLECTION_UP = 1;
1999 public const int VEHICLE_FLAG_HOVER_UP_ONLY = 32; 1999 public const int VEHICLE_FLAG_LIMIT_ROLL_ONLY = 2;
2000 public const int VEHICLE_FLAG_LIMIT_MOTOR_UP = 64; 2000 public const int VEHICLE_FLAG_HOVER_WATER_ONLY = 4;
2001 public const int VEHICLE_FLAG_MOUSELOOK_STEER = 128; 2001 public const int VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 8;
2002 public const int VEHICLE_FLAG_MOUSELOOK_BANK = 256; 2002 public const int VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 16;
2003 public const int VEHICLE_FLAG_CAMERA_DECOUPLED = 512; 2003 public const int VEHICLE_FLAG_HOVER_UP_ONLY = 32;
2004 public const int INVENTORY_ALL = -1; 2004 public const int VEHICLE_FLAG_LIMIT_MOTOR_UP = 64;
2005 public const int INVENTORY_NONE = -1; 2005 public const int VEHICLE_FLAG_MOUSELOOK_STEER = 128;
2006 public const int INVENTORY_TEXTURE = 0; 2006 public const int VEHICLE_FLAG_MOUSELOOK_BANK = 256;
2007 public const int INVENTORY_SOUND = 1; 2007 public const int VEHICLE_FLAG_CAMERA_DECOUPLED = 512;
2008 public const int INVENTORY_LANDMARK = 3; 2008 public const int INVENTORY_ALL = -1;
2009 public const int INVENTORY_CLOTHING = 5; 2009 public const int INVENTORY_NONE = -1;
2010 public const int INVENTORY_OBJECT = 6; 2010 public const int INVENTORY_TEXTURE = 0;
2011 public const int INVENTORY_NOTECARD = 7; 2011 public const int INVENTORY_SOUND = 1;
2012 public const int INVENTORY_SCRIPT = 10; 2012 public const int INVENTORY_LANDMARK = 3;
2013 public const int INVENTORY_BODYPART = 13; 2013 public const int INVENTORY_CLOTHING = 5;
2014 public const int INVENTORY_ANIMATION = 20; 2014 public const int INVENTORY_OBJECT = 6;
2015 public const int INVENTORY_GESTURE = 21; 2015 public const int INVENTORY_NOTECARD = 7;
2016 public const int ATTACH_CHEST = 1; 2016 public const int INVENTORY_SCRIPT = 10;
2017 public const int ATTACH_HEAD = 2; 2017 public const int INVENTORY_BODYPART = 13;
2018 public const int ATTACH_LSHOULDER = 3; 2018 public const int INVENTORY_ANIMATION = 20;
2019 public const int ATTACH_RSHOULDER = 4; 2019 public const int INVENTORY_GESTURE = 21;
2020 public const int ATTACH_LHAND = 5; 2020 public const int ATTACH_CHEST = 1;
2021 public const int ATTACH_RHAND = 6; 2021 public const int ATTACH_HEAD = 2;
2022 public const int ATTACH_LFOOT = 7; 2022 public const int ATTACH_LSHOULDER = 3;
2023 public const int ATTACH_RFOOT = 8; 2023 public const int ATTACH_RSHOULDER = 4;
2024 public const int ATTACH_BACK = 9; 2024 public const int ATTACH_LHAND = 5;
2025 public const int ATTACH_PELVIS = 10; 2025 public const int ATTACH_RHAND = 6;
2026 public const int ATTACH_MOUTH = 11; 2026 public const int ATTACH_LFOOT = 7;
2027 public const int ATTACH_CHIN = 12; 2027 public const int ATTACH_RFOOT = 8;
2028 public const int ATTACH_LEAR = 13; 2028 public const int ATTACH_BACK = 9;
2029 public const int ATTACH_REAR = 14; 2029 public const int ATTACH_PELVIS = 10;
2030 public const int ATTACH_LEYE = 15; 2030 public const int ATTACH_MOUTH = 11;
2031 public const int ATTACH_REYE = 16; 2031 public const int ATTACH_CHIN = 12;
2032 public const int ATTACH_NOSE = 17; 2032 public const int ATTACH_LEAR = 13;
2033 public const int ATTACH_RUARM = 18; 2033 public const int ATTACH_REAR = 14;
2034 public const int ATTACH_RLARM = 19; 2034 public const int ATTACH_LEYE = 15;
2035 public const int ATTACH_LUARM = 20; 2035 public const int ATTACH_REYE = 16;
2036 public const int ATTACH_LLARM = 21; 2036 public const int ATTACH_NOSE = 17;
2037 public const int ATTACH_RHIP = 22; 2037 public const int ATTACH_RUARM = 18;
2038 public const int ATTACH_RULEG = 23; 2038 public const int ATTACH_RLARM = 19;
2039 public const int ATTACH_RLLEG = 24; 2039 public const int ATTACH_LUARM = 20;
2040 public const int ATTACH_LHIP = 25; 2040 public const int ATTACH_LLARM = 21;
2041 public const int ATTACH_LULEG = 26; 2041 public const int ATTACH_RHIP = 22;
2042 public const int ATTACH_LLLEG = 27; 2042 public const int ATTACH_RULEG = 23;
2043 public const int ATTACH_BELLY = 28; 2043 public const int ATTACH_RLLEG = 24;
2044 public const int ATTACH_RPEC = 29; 2044 public const int ATTACH_LHIP = 25;
2045 public const int ATTACH_LPEC = 30; 2045 public const int ATTACH_LULEG = 26;
2046 public const int LAND_LEVEL = 0; 2046 public const int ATTACH_LLLEG = 27;
2047 public const int LAND_RAISE = 1; 2047 public const int ATTACH_BELLY = 28;
2048 public const int LAND_LOWER = 2; 2048 public const int ATTACH_RPEC = 29;
2049 public const int LAND_SMOOTH = 3; 2049 public const int ATTACH_LPEC = 30;
2050 public const int LAND_NOISE = 4; 2050 public const int LAND_LEVEL = 0;
2051 public const int LAND_REVERT = 5; 2051 public const int LAND_RAISE = 1;
2052 public const int LAND_SMALL_BRUSH = 1; 2052 public const int LAND_LOWER = 2;
2053 public const int LAND_MEDIUM_BRUSH = 2; 2053 public const int LAND_SMOOTH = 3;
2054 public const int LAND_LARGE_BRUSH = 3; 2054 public const int LAND_NOISE = 4;
2055 public const int DATA_ONLINE = 1; 2055 public const int LAND_REVERT = 5;
2056 public const int DATA_NAME = 2; 2056 public const int LAND_SMALL_BRUSH = 1;
2057 public const int DATA_BORN = 3; 2057 public const int LAND_MEDIUM_BRUSH = 2;
2058 public const int DATA_RATING = 4; 2058 public const int LAND_LARGE_BRUSH = 3;
2059 public const int DATA_SIM_POS = 5; 2059 public const int DATA_ONLINE = 1;
2060 public const int DATA_SIM_STATUS = 6; 2060 public const int DATA_NAME = 2;
2061 public const int DATA_SIM_RATING = 7; 2061 public const int DATA_BORN = 3;
2062 public const int ANIM_ON = 1; 2062 public const int DATA_RATING = 4;
2063 public const int LOOP = 2; 2063 public const int DATA_SIM_POS = 5;
2064 public const int REVERSE = 4; 2064 public const int DATA_SIM_STATUS = 6;
2065 public const int PING_PONG = 8; 2065 public const int DATA_SIM_RATING = 7;
2066 public const int SMOOTH = 16; 2066 public const int ANIM_ON = 1;
2067 public const int ROTATE = 32; 2067 public const int LOOP = 2;
2068 public const int SCALE = 64; 2068 public const int REVERSE = 4;
2069 public const int ALL_SIDES = -1; 2069 public const int PING_PONG = 8;
2070 public const int LINK_SET = -1; 2070 public const int SMOOTH = 16;
2071 public const int LINK_ROOT = 1; 2071 public const int ROTATE = 32;
2072 public const int LINK_ALL_OTHERS = -2; 2072 public const int SCALE = 64;
2073 public const int LINK_ALL_CHILDREN = -3; 2073 public const int ALL_SIDES = -1;
2074 public const int LINK_THIS = -4; 2074 public const int LINK_SET = -1;
2075 public const int CHANGED_INVENTORY = 1; 2075 public const int LINK_ROOT = 1;
2076 public const int CHANGED_COLOR = 2; 2076 public const int LINK_ALL_OTHERS = -2;
2077 public const int CHANGED_SHAPE = 4; 2077 public const int LINK_ALL_CHILDREN = -3;
2078 public const int CHANGED_SCALE = 8; 2078 public const int LINK_THIS = -4;
2079 public const int CHANGED_TEXTURE = 16; 2079 public const int CHANGED_INVENTORY = 1;
2080 public const int CHANGED_LINK = 32; 2080 public const int CHANGED_COLOR = 2;
2081 public const int CHANGED_ALLOWED_DROP = 64; 2081 public const int CHANGED_SHAPE = 4;
2082 public const int CHANGED_OWNER = 128; 2082 public const int CHANGED_SCALE = 8;
2083 public const int TYPE_INVALID = 0; 2083 public const int CHANGED_TEXTURE = 16;
2084 public const int TYPE_INTEGER = 1; 2084 public const int CHANGED_LINK = 32;
2085 public const int TYPE_double = 2; 2085 public const int CHANGED_ALLOWED_DROP = 64;
2086 public const int TYPE_STRING = 3; 2086 public const int CHANGED_OWNER = 128;
2087 public const int TYPE_KEY = 4; 2087 public const int TYPE_INVALID = 0;
2088 public const int TYPE_VECTOR = 5; 2088 public const int TYPE_INTEGER = 1;
2089 public const int TYPE_ROTATION = 6; 2089 public const int TYPE_double = 2;
2090 public const int REMOTE_DATA_CHANNEL = 1; 2090 public const int TYPE_STRING = 3;
2091 public const int REMOTE_DATA_REQUEST = 2; 2091 public const int TYPE_KEY = 4;
2092 public const int REMOTE_DATA_REPLY = 3; 2092 public const int TYPE_VECTOR = 5;
2093 public const int HTTP_METHOD = 0; 2093 public const int TYPE_ROTATION = 6;
2094 public const int HTTP_MIMETYPE = 1; 2094 public const int REMOTE_DATA_CHANNEL = 1;
2095 public const int HTTP_BODY_MAXLENGTH = 2; 2095 public const int REMOTE_DATA_REQUEST = 2;
2096 public const int HTTP_VERIFY_CERT = 3; 2096 public const int REMOTE_DATA_REPLY = 3;
2097 2097 public const int HTTP_METHOD = 0;
2098 public const int PRIM_MATERIAL = 2; 2098 public const int HTTP_MIMETYPE = 1;
2099 public const int PRIM_PHYSICS = 3; 2099 public const int HTTP_BODY_MAXLENGTH = 2;
2100 public const int PRIM_TEMP_ON_REZ = 4; 2100 public const int HTTP_VERIFY_CERT = 3;
2101 public const int PRIM_PHANTOM = 5; 2101
2102 public const int PRIM_POSITION = 6; 2102 public const int PRIM_MATERIAL = 2;
2103 public const int PRIM_SIZE = 7; 2103 public const int PRIM_PHYSICS = 3;
2104 public const int PRIM_ROTATION = 8; 2104 public const int PRIM_TEMP_ON_REZ = 4;
2105 public const int PRIM_TYPE = 9; 2105 public const int PRIM_PHANTOM = 5;
2106 public const int PRIM_TEXTURE = 17; 2106 public const int PRIM_POSITION = 6;
2107 public const int PRIM_COLOR = 18; 2107 public const int PRIM_SIZE = 7;
2108 public const int PRIM_BUMP_SHINY = 19; 2108 public const int PRIM_ROTATION = 8;
2109 public const int PRIM_FULLBRIGHT = 20; 2109 public const int PRIM_TYPE = 9;
2110 public const int PRIM_FLEXIBLE = 21; 2110 public const int PRIM_TEXTURE = 17;
2111 public const int PRIM_TEXGEN = 22; 2111 public const int PRIM_COLOR = 18;
2112 public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake 2112 public const int PRIM_BUMP_SHINY = 19;
2113 public const int PRIM_POINT_LIGHT = 23; // Huh? 2113 public const int PRIM_FULLBRIGHT = 20;
2114 public const int PRIM_TEXGEN_DEFAULT = 0; 2114 public const int PRIM_FLEXIBLE = 21;
2115 public const int PRIM_TEXGEN_PLANAR = 1; 2115 public const int PRIM_TEXGEN = 22;
2116 public const int PRIM_TYPE_BOX = 0; 2116 public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake
2117 public const int PRIM_TYPE_CYLINDER = 1; 2117 public const int PRIM_POINT_LIGHT = 23; // Huh?
2118 public const int PRIM_TYPE_PRISM = 2; 2118 public const int PRIM_TEXGEN_DEFAULT = 0;
2119 public const int PRIM_TYPE_SPHERE = 3; 2119 public const int PRIM_TEXGEN_PLANAR = 1;
2120 public const int PRIM_TYPE_TORUS = 4; 2120 public const int PRIM_TYPE_BOX = 0;
2121 public const int PRIM_TYPE_TUBE = 5; 2121 public const int PRIM_TYPE_CYLINDER = 1;
2122 public const int PRIM_TYPE_RING = 6; 2122 public const int PRIM_TYPE_PRISM = 2;
2123 public const int PRIM_TYPE_SCULPT = 7; 2123 public const int PRIM_TYPE_SPHERE = 3;
2124 public const int PRIM_HOLE_DEFAULT = 0; 2124 public const int PRIM_TYPE_TORUS = 4;
2125 public const int PRIM_HOLE_CIRCLE = 16; 2125 public const int PRIM_TYPE_TUBE = 5;
2126 public const int PRIM_HOLE_SQUARE = 32; 2126 public const int PRIM_TYPE_RING = 6;
2127 public const int PRIM_HOLE_TRIANGLE = 48; 2127 public const int PRIM_TYPE_SCULPT = 7;
2128 public const int PRIM_MATERIAL_STONE = 0; 2128 public const int PRIM_HOLE_DEFAULT = 0;
2129 public const int PRIM_MATERIAL_METAL = 1; 2129 public const int PRIM_HOLE_CIRCLE = 16;
2130 public const int PRIM_MATERIAL_GLASS = 2; 2130 public const int PRIM_HOLE_SQUARE = 32;
2131 public const int PRIM_MATERIAL_WOOD = 3; 2131 public const int PRIM_HOLE_TRIANGLE = 48;
2132 public const int PRIM_MATERIAL_FLESH = 4; 2132 public const int PRIM_MATERIAL_STONE = 0;
2133 public const int PRIM_MATERIAL_PLASTIC = 5; 2133 public const int PRIM_MATERIAL_METAL = 1;
2134 public const int PRIM_MATERIAL_RUBBER = 6; 2134 public const int PRIM_MATERIAL_GLASS = 2;
2135 public const int PRIM_MATERIAL_LIGHT = 7; 2135 public const int PRIM_MATERIAL_WOOD = 3;
2136 public const int PRIM_SHINY_NONE = 0; 2136 public const int PRIM_MATERIAL_FLESH = 4;
2137 public const int PRIM_SHINY_LOW = 1; 2137 public const int PRIM_MATERIAL_PLASTIC = 5;
2138 public const int PRIM_SHINY_MEDIUM = 2; 2138 public const int PRIM_MATERIAL_RUBBER = 6;
2139 public const int PRIM_SHINY_HIGH = 3; 2139 public const int PRIM_MATERIAL_LIGHT = 7;
2140 public const int PRIM_BUMP_NONE = 0; 2140 public const int PRIM_SHINY_NONE = 0;
2141 public const int PRIM_BUMP_BRIGHT = 1; 2141 public const int PRIM_SHINY_LOW = 1;
2142 public const int PRIM_BUMP_DARK = 2; 2142 public const int PRIM_SHINY_MEDIUM = 2;
2143 public const int PRIM_BUMP_WOOD = 3; 2143 public const int PRIM_SHINY_HIGH = 3;
2144 public const int PRIM_BUMP_BARK = 4; 2144 public const int PRIM_BUMP_NONE = 0;
2145 public const int PRIM_BUMP_BRICKS = 5; 2145 public const int PRIM_BUMP_BRIGHT = 1;
2146 public const int PRIM_BUMP_CHECKER = 6; 2146 public const int PRIM_BUMP_DARK = 2;
2147 public const int PRIM_BUMP_CONCRETE = 7; 2147 public const int PRIM_BUMP_WOOD = 3;
2148 public const int PRIM_BUMP_TILE = 8; 2148 public const int PRIM_BUMP_BARK = 4;
2149 public const int PRIM_BUMP_STONE = 9; 2149 public const int PRIM_BUMP_BRICKS = 5;
2150 public const int PRIM_BUMP_DISKS = 10; 2150 public const int PRIM_BUMP_CHECKER = 6;
2151 public const int PRIM_BUMP_GRAVEL = 11; 2151 public const int PRIM_BUMP_CONCRETE = 7;
2152 public const int PRIM_BUMP_BLOBS = 12; 2152 public const int PRIM_BUMP_TILE = 8;
2153 public const int PRIM_BUMP_SIDING = 13; 2153 public const int PRIM_BUMP_STONE = 9;
2154 public const int PRIM_BUMP_LARGETILE = 14; 2154 public const int PRIM_BUMP_DISKS = 10;
2155 public const int PRIM_BUMP_STUCCO = 15; 2155 public const int PRIM_BUMP_GRAVEL = 11;
2156 public const int PRIM_BUMP_SUCTION = 16; 2156 public const int PRIM_BUMP_BLOBS = 12;
2157 public const int PRIM_BUMP_WEAVE = 17; 2157 public const int PRIM_BUMP_SIDING = 13;
2158 2158 public const int PRIM_BUMP_LARGETILE = 14;
2159 public const int PRIM_SCULPT_TYPE_SPHERE = 1; 2159 public const int PRIM_BUMP_STUCCO = 15;
2160 public const int PRIM_SCULPT_TYPE_TORUS = 2; 2160 public const int PRIM_BUMP_SUCTION = 16;
2161 public const int PRIM_SCULPT_TYPE_PLANE = 3; 2161 public const int PRIM_BUMP_WEAVE = 17;
2162 public const int PRIM_SCULPT_TYPE_CYLINDER = 4; 2162
2163 2163 public const int PRIM_SCULPT_TYPE_SPHERE = 1;
2164 public const int MASK_BASE = 0; 2164 public const int PRIM_SCULPT_TYPE_TORUS = 2;
2165 public const int MASK_OWNER = 1; 2165 public const int PRIM_SCULPT_TYPE_PLANE = 3;
2166 public const int MASK_GROUP = 2; 2166 public const int PRIM_SCULPT_TYPE_CYLINDER = 4;
2167 public const int MASK_EVERYONE = 3; 2167
2168 public const int MASK_NEXT = 4; 2168 public const int MASK_BASE = 0;
2169 public const int PERM_TRANSFER = 8192; 2169 public const int MASK_OWNER = 1;
2170 public const int PERM_MODIFY = 16384; 2170 public const int MASK_GROUP = 2;
2171 public const int PERM_COPY = 32768; 2171 public const int MASK_EVERYONE = 3;
2172 public const int PERM_MOVE = 524288; 2172 public const int MASK_NEXT = 4;
2173 public const int PERM_ALL = 2147483647; 2173 public const int PERM_TRANSFER = 8192;
2174 public const int PARCEL_MEDIA_COMMAND_STOP = 0; 2174 public const int PERM_MODIFY = 16384;
2175 public const int PARCEL_MEDIA_COMMAND_PAUSE = 1; 2175 public const int PERM_COPY = 32768;
2176 public const int PARCEL_MEDIA_COMMAND_PLAY = 2; 2176 public const int PERM_MOVE = 524288;
2177 public const int PARCEL_MEDIA_COMMAND_LOOP = 3; 2177 public const int PERM_ALL = 2147483647;
2178 public const int PARCEL_MEDIA_COMMAND_TEXTURE = 4; 2178 public const int PARCEL_MEDIA_COMMAND_STOP = 0;
2179 public const int PARCEL_MEDIA_COMMAND_URL = 5; 2179 public const int PARCEL_MEDIA_COMMAND_PAUSE = 1;
2180 public const int PARCEL_MEDIA_COMMAND_TIME = 6; 2180 public const int PARCEL_MEDIA_COMMAND_PLAY = 2;
2181 public const int PARCEL_MEDIA_COMMAND_AGENT = 7; 2181 public const int PARCEL_MEDIA_COMMAND_LOOP = 3;
2182 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8; 2182 public const int PARCEL_MEDIA_COMMAND_TEXTURE = 4;
2183 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9; 2183 public const int PARCEL_MEDIA_COMMAND_URL = 5;
2184 public const int PAY_HIDE = -1; 2184 public const int PARCEL_MEDIA_COMMAND_TIME = 6;
2185 public const int PAY_DEFAULT = -2; 2185 public const int PARCEL_MEDIA_COMMAND_AGENT = 7;
2186 public const string NULL_KEY = "00000000-0000-0000-0000-000000000000"; 2186 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8;
2187 public const string EOF = "\n\n\n"; 2187 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9;
2188 public const double PI = 3.14159274f; 2188 public const int PAY_HIDE = -1;
2189 public const double TWO_PI = 6.28318548f; 2189 public const int PAY_DEFAULT = -2;
2190 public const double PI_BY_TWO = 1.57079637f; 2190 public const string NULL_KEY = "00000000-0000-0000-0000-000000000000";
2191 public const double DEG_TO_RAD = 0.01745329238f; 2191 public const string EOF = "\n\n\n";
2192 public const double RAD_TO_DEG = 57.29578f; 2192 public const double PI = 3.14159274f;
2193 public const double SQRT2 = 1.414213538f; 2193 public const double TWO_PI = 6.28318548f;
2194 public const int STRING_TRIM_HEAD = 1; 2194 public const double PI_BY_TWO = 1.57079637f;
2195 public const int STRING_TRIM_TAIL = 2; 2195 public const double DEG_TO_RAD = 0.01745329238f;
2196 public const int STRING_TRIM = 3; 2196 public const double RAD_TO_DEG = 57.29578f;
2197 public const int LIST_STAT_RANGE = 0; 2197 public const double SQRT2 = 1.414213538f;
2198 public const int LIST_STAT_MIN = 1; 2198 public const int STRING_TRIM_HEAD = 1;
2199 public const int LIST_STAT_MAX = 2; 2199 public const int STRING_TRIM_TAIL = 2;
2200 public const int LIST_STAT_MEAN = 3; 2200 public const int STRING_TRIM = 3;
2201 public const int LIST_STAT_MEDIAN = 4; 2201 public const int LIST_STAT_RANGE = 0;
2202 public const int LIST_STAT_STD_DEV = 5; 2202 public const int LIST_STAT_MIN = 1;
2203 public const int LIST_STAT_SUM = 6; 2203 public const int LIST_STAT_MAX = 2;
2204 public const int LIST_STAT_SUM_SQUARES = 7; 2204 public const int LIST_STAT_MEAN = 3;
2205 public const int LIST_STAT_NUM_COUNT = 8; 2205 public const int LIST_STAT_MEDIAN = 4;
2206 public const int LIST_STAT_GEOMETRIC_MEAN = 9; 2206 public const int LIST_STAT_STD_DEV = 5;
2207 public const int LIST_STAT_HARMONIC_MEAN = 100; 2207 public const int LIST_STAT_SUM = 6;
2208 // Can not be public const? 2208 public const int LIST_STAT_SUM_SQUARES = 7;
2209 public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); 2209 public const int LIST_STAT_NUM_COUNT = 8;
2210 public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); 2210 public const int LIST_STAT_GEOMETRIC_MEAN = 9;
2211 } 2211 public const int LIST_STAT_HARMONIC_MEAN = 100;
2212} 2212 // Can not be public const?
2213 public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0);
2214 public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0);
2215 }
2216}
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index b91751d..b2f2d59 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -482,43 +482,43 @@ namespace OpenSim.Region.ScriptEngine.Common
482 public void llSetStatus(int status, int value) 482 public void llSetStatus(int status, int value)
483 { 483 {
484 m_host.AddScriptLPS(1); 484 m_host.AddScriptLPS(1);
485 if ((status & LSL_BaseClass.STATUS_PHYSICS) == LSL_BaseClass.STATUS_PHYSICS) 485 if ((status & BuiltIn_Commands_BaseClass.STATUS_PHYSICS) == BuiltIn_Commands_BaseClass.STATUS_PHYSICS)
486 { 486 {
487 m_host.AddFlag(LLObject.ObjectFlags.Physics); 487 m_host.AddFlag(LLObject.ObjectFlags.Physics);
488 } 488 }
489 if ((status & LSL_BaseClass.STATUS_PHANTOM) == LSL_BaseClass.STATUS_PHANTOM) 489 if ((status & BuiltIn_Commands_BaseClass.STATUS_PHANTOM) == BuiltIn_Commands_BaseClass.STATUS_PHANTOM)
490 { 490 {
491 m_host.AddFlag(LLObject.ObjectFlags.Phantom); 491 m_host.AddFlag(LLObject.ObjectFlags.Phantom);
492 } 492 }
493 if ((status & LSL_BaseClass.STATUS_CAST_SHADOWS) == LSL_BaseClass.STATUS_CAST_SHADOWS) 493 if ((status & BuiltIn_Commands_BaseClass.STATUS_CAST_SHADOWS) == BuiltIn_Commands_BaseClass.STATUS_CAST_SHADOWS)
494 { 494 {
495 m_host.AddFlag(LLObject.ObjectFlags.CastShadows); 495 m_host.AddFlag(LLObject.ObjectFlags.CastShadows);
496 } 496 }
497 if ((status & LSL_BaseClass.STATUS_ROTATE_X) == LSL_BaseClass.STATUS_ROTATE_X) 497 if ((status & BuiltIn_Commands_BaseClass.STATUS_ROTATE_X) == BuiltIn_Commands_BaseClass.STATUS_ROTATE_X)
498 { 498 {
499 NotImplemented("llSetStatus - STATUS_ROTATE_X"); 499 NotImplemented("llSetStatus - STATUS_ROTATE_X");
500 } 500 }
501 if ((status & LSL_BaseClass.STATUS_ROTATE_Y) == LSL_BaseClass.STATUS_ROTATE_Y) 501 if ((status & BuiltIn_Commands_BaseClass.STATUS_ROTATE_Y) == BuiltIn_Commands_BaseClass.STATUS_ROTATE_Y)
502 { 502 {
503 NotImplemented("llSetStatus - STATUS_ROTATE_Y"); 503 NotImplemented("llSetStatus - STATUS_ROTATE_Y");
504 } 504 }
505 if ((status & LSL_BaseClass.STATUS_ROTATE_Z) == LSL_BaseClass.STATUS_ROTATE_Z) 505 if ((status & BuiltIn_Commands_BaseClass.STATUS_ROTATE_Z) == BuiltIn_Commands_BaseClass.STATUS_ROTATE_Z)
506 { 506 {
507 NotImplemented("llSetStatus - STATUS_ROTATE_Z"); 507 NotImplemented("llSetStatus - STATUS_ROTATE_Z");
508 } 508 }
509 if ((status & LSL_BaseClass.STATUS_BLOCK_GRAB) == LSL_BaseClass.STATUS_BLOCK_GRAB) 509 if ((status & BuiltIn_Commands_BaseClass.STATUS_BLOCK_GRAB) == BuiltIn_Commands_BaseClass.STATUS_BLOCK_GRAB)
510 { 510 {
511 NotImplemented("llSetStatus - STATUS_BLOCK_GRAB"); 511 NotImplemented("llSetStatus - STATUS_BLOCK_GRAB");
512 } 512 }
513 if ((status & LSL_BaseClass.STATUS_DIE_AT_EDGE) == LSL_BaseClass.STATUS_DIE_AT_EDGE) 513 if ((status & BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE)
514 { 514 {
515 NotImplemented("llSetStatus - STATUS_DIE_AT_EDGE"); 515 NotImplemented("llSetStatus - STATUS_DIE_AT_EDGE");
516 } 516 }
517 if ((status & LSL_BaseClass.STATUS_RETURN_AT_EDGE) == LSL_BaseClass.STATUS_RETURN_AT_EDGE) 517 if ((status & BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE) == BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE)
518 { 518 {
519 NotImplemented("llSetStatus - STATUS_RETURN_AT_EDGE"); 519 NotImplemented("llSetStatus - STATUS_RETURN_AT_EDGE");
520 } 520 }
521 if ((status & LSL_BaseClass.STATUS_SANDBOX) == LSL_BaseClass.STATUS_SANDBOX) 521 if ((status & BuiltIn_Commands_BaseClass.STATUS_SANDBOX) == BuiltIn_Commands_BaseClass.STATUS_SANDBOX)
522 { 522 {
523 NotImplemented("llSetStatus - STATUS_SANDBOX"); 523 NotImplemented("llSetStatus - STATUS_SANDBOX");
524 } 524 }
@@ -532,43 +532,43 @@ namespace OpenSim.Region.ScriptEngine.Common
532 Console.WriteLine(m_host.UUID.ToString() + " status is " + m_host.ObjectFlags.ToString()); 532 Console.WriteLine(m_host.UUID.ToString() + " status is " + m_host.ObjectFlags.ToString());
533 switch (status) 533 switch (status)
534 { 534 {
535 case LSL_BaseClass.STATUS_PHYSICS: 535 case BuiltIn_Commands_BaseClass.STATUS_PHYSICS:
536 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == (uint)LLObject.ObjectFlags.Physics) 536 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Physics) == (uint)LLObject.ObjectFlags.Physics)
537 { 537 {
538 return 1; 538 return 1;
539 } 539 }
540 return 0; 540 return 0;
541 case LSL_BaseClass.STATUS_PHANTOM: 541 case BuiltIn_Commands_BaseClass.STATUS_PHANTOM:
542 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom) 542 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.Phantom) == (uint)LLObject.ObjectFlags.Phantom)
543 { 543 {
544 return 1; 544 return 1;
545 } 545 }
546 return 0; 546 return 0;
547 case LSL_BaseClass.STATUS_CAST_SHADOWS: 547 case BuiltIn_Commands_BaseClass.STATUS_CAST_SHADOWS:
548 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows) 548 if ((m_host.ObjectFlags & (uint)LLObject.ObjectFlags.CastShadows) == (uint)LLObject.ObjectFlags.CastShadows)
549 { 549 {
550 return 1; 550 return 1;
551 } 551 }
552 return 0; 552 return 0;
553 case LSL_BaseClass.STATUS_BLOCK_GRAB: 553 case BuiltIn_Commands_BaseClass.STATUS_BLOCK_GRAB:
554 NotImplemented("llGetStatus - STATUS_BLOCK_GRAB"); 554 NotImplemented("llGetStatus - STATUS_BLOCK_GRAB");
555 return 0; 555 return 0;
556 case LSL_BaseClass.STATUS_DIE_AT_EDGE: 556 case BuiltIn_Commands_BaseClass.STATUS_DIE_AT_EDGE:
557 NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE"); 557 NotImplemented("llGetStatus - STATUS_DIE_AT_EDGE");
558 return 0; 558 return 0;
559 case LSL_BaseClass.STATUS_RETURN_AT_EDGE: 559 case BuiltIn_Commands_BaseClass.STATUS_RETURN_AT_EDGE:
560 NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE"); 560 NotImplemented("llGetStatus - STATUS_RETURN_AT_EDGE");
561 return 0; 561 return 0;
562 case LSL_BaseClass.STATUS_ROTATE_X: 562 case BuiltIn_Commands_BaseClass.STATUS_ROTATE_X:
563 NotImplemented("llGetStatus - STATUS_ROTATE_X"); 563 NotImplemented("llGetStatus - STATUS_ROTATE_X");
564 return 0; 564 return 0;
565 case LSL_BaseClass.STATUS_ROTATE_Y: 565 case BuiltIn_Commands_BaseClass.STATUS_ROTATE_Y:
566 NotImplemented("llGetStatus - STATUS_ROTATE_Y"); 566 NotImplemented("llGetStatus - STATUS_ROTATE_Y");
567 return 0; 567 return 0;
568 case LSL_BaseClass.STATUS_ROTATE_Z: 568 case BuiltIn_Commands_BaseClass.STATUS_ROTATE_Z:
569 NotImplemented("llGetStatus - STATUS_ROTATE_Z"); 569 NotImplemented("llGetStatus - STATUS_ROTATE_Z");
570 return 0; 570 return 0;
571 case LSL_BaseClass.STATUS_SANDBOX: 571 case BuiltIn_Commands_BaseClass.STATUS_SANDBOX:
572 NotImplemented("llGetStatus - STATUS_SANDBOX"); 572 NotImplemented("llGetStatus - STATUS_SANDBOX");
573 return 0; 573 return 0;
574 } 574 }
@@ -2553,23 +2553,23 @@ namespace OpenSim.Region.ScriptEngine.Common
2553 { 2553 {
2554 switch ((int)rules.Data[i]) 2554 switch ((int)rules.Data[i])
2555 { 2555 {
2556 case (int)LSL_BaseClass.PSYS_PART_FLAGS: 2556 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_FLAGS:
2557 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)((uint)Convert.ToInt32(rules.Data[i + 1].ToString())); 2557 prules.PartDataFlags = (Primitive.ParticleSystem.ParticleDataFlags)((uint)Convert.ToInt32(rules.Data[i + 1].ToString()));
2558 break; 2558 break;
2559 2559
2560 case (int)LSL_BaseClass.PSYS_PART_START_COLOR: 2560 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_START_COLOR:
2561 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2561 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2562 prules.PartStartColor.R = (float)tempv.x; 2562 prules.PartStartColor.R = (float)tempv.x;
2563 prules.PartStartColor.G = (float)tempv.y; 2563 prules.PartStartColor.G = (float)tempv.y;
2564 prules.PartStartColor.B = (float)tempv.z; 2564 prules.PartStartColor.B = (float)tempv.z;
2565 break; 2565 break;
2566 2566
2567 case (int)LSL_BaseClass.PSYS_PART_START_ALPHA: 2567 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_START_ALPHA:
2568 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2568 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2569 prules.PartStartColor.A = (float)tempf; 2569 prules.PartStartColor.A = (float)tempf;
2570 break; 2570 break;
2571 2571
2572 case (int)LSL_BaseClass.PSYS_PART_END_COLOR: 2572 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_END_COLOR:
2573 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2573 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2574 //prules.PartEndColor = new LLColor(tempv.x,tempv.y,tempv.z,1); 2574 //prules.PartEndColor = new LLColor(tempv.x,tempv.y,tempv.z,1);
2575 2575
@@ -2578,74 +2578,74 @@ namespace OpenSim.Region.ScriptEngine.Common
2578 prules.PartEndColor.B = (float)tempv.z; 2578 prules.PartEndColor.B = (float)tempv.z;
2579 break; 2579 break;
2580 2580
2581 case (int)LSL_BaseClass.PSYS_PART_END_ALPHA: 2581 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_END_ALPHA:
2582 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2582 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2583 prules.PartEndColor.A = (float)tempf; 2583 prules.PartEndColor.A = (float)tempf;
2584 break; 2584 break;
2585 2585
2586 case (int)LSL_BaseClass.PSYS_PART_START_SCALE: 2586 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_START_SCALE:
2587 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2587 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2588 prules.PartStartScaleX = (float)tempv.x; 2588 prules.PartStartScaleX = (float)tempv.x;
2589 prules.PartStartScaleY = (float)tempv.y; 2589 prules.PartStartScaleY = (float)tempv.y;
2590 break; 2590 break;
2591 2591
2592 case (int)LSL_BaseClass.PSYS_PART_END_SCALE: 2592 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_END_SCALE:
2593 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2593 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2594 prules.PartEndScaleX = (float)tempv.x; 2594 prules.PartEndScaleX = (float)tempv.x;
2595 prules.PartEndScaleY = (float)tempv.y; 2595 prules.PartEndScaleY = (float)tempv.y;
2596 break; 2596 break;
2597 2597
2598 case (int)LSL_BaseClass.PSYS_PART_MAX_AGE: 2598 case (int)BuiltIn_Commands_BaseClass.PSYS_PART_MAX_AGE:
2599 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2599 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2600 prules.PartMaxAge = (float)tempf; 2600 prules.PartMaxAge = (float)tempf;
2601 break; 2601 break;
2602 2602
2603 case (int)LSL_BaseClass.PSYS_SRC_ACCEL: 2603 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_ACCEL:
2604 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2604 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2605 prules.PartAcceleration.X = (float)tempv.x; 2605 prules.PartAcceleration.X = (float)tempv.x;
2606 prules.PartAcceleration.Y = (float)tempv.y; 2606 prules.PartAcceleration.Y = (float)tempv.y;
2607 prules.PartAcceleration.Z = (float)tempv.z; 2607 prules.PartAcceleration.Z = (float)tempv.z;
2608 break; 2608 break;
2609 2609
2610 case (int)LSL_BaseClass.PSYS_SRC_PATTERN: 2610 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_PATTERN:
2611 int tmpi = (int)rules.Data[i + 1]; 2611 int tmpi = (int)rules.Data[i + 1];
2612 prules.Pattern = (Primitive.ParticleSystem.SourcePattern)tmpi; 2612 prules.Pattern = (Primitive.ParticleSystem.SourcePattern)tmpi;
2613 break; 2613 break;
2614 2614
2615 case (int)LSL_BaseClass.PSYS_SRC_TEXTURE: 2615 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_TEXTURE:
2616 prules.Texture = new LLUUID(rules.Data[i + 1].ToString()); 2616 prules.Texture = new LLUUID(rules.Data[i + 1].ToString());
2617 break; 2617 break;
2618 2618
2619 case (int)LSL_BaseClass.PSYS_SRC_BURST_RATE: 2619 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_BURST_RATE:
2620 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2620 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2621 prules.BurstRate = (float)tempf; 2621 prules.BurstRate = (float)tempf;
2622 break; 2622 break;
2623 2623
2624 case (int)LSL_BaseClass.PSYS_SRC_BURST_PART_COUNT: 2624 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_BURST_PART_COUNT:
2625 prules.BurstPartCount = (byte)Convert.ToByte(rules.Data[i + 1].ToString()); 2625 prules.BurstPartCount = (byte)Convert.ToByte(rules.Data[i + 1].ToString());
2626 break; 2626 break;
2627 2627
2628 case (int)LSL_BaseClass.PSYS_SRC_BURST_RADIUS: 2628 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_BURST_RADIUS:
2629 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2629 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2630 prules.BurstRadius = (float)tempf; 2630 prules.BurstRadius = (float)tempf;
2631 break; 2631 break;
2632 2632
2633 case (int)LSL_BaseClass.PSYS_SRC_BURST_SPEED_MIN: 2633 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_BURST_SPEED_MIN:
2634 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2634 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2635 prules.BurstSpeedMin = (float)tempf; 2635 prules.BurstSpeedMin = (float)tempf;
2636 break; 2636 break;
2637 2637
2638 case (int)LSL_BaseClass.PSYS_SRC_BURST_SPEED_MAX: 2638 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_BURST_SPEED_MAX:
2639 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2639 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2640 prules.BurstSpeedMax = (float)tempf; 2640 prules.BurstSpeedMax = (float)tempf;
2641 break; 2641 break;
2642 2642
2643 case (int)LSL_BaseClass.PSYS_SRC_MAX_AGE: 2643 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_MAX_AGE:
2644 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2644 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2645 prules.MaxAge = (float)tempf; 2645 prules.MaxAge = (float)tempf;
2646 break; 2646 break;
2647 2647
2648 case (int)LSL_BaseClass.PSYS_SRC_TARGET_KEY: 2648 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_TARGET_KEY:
2649 LLUUID key = LLUUID.Zero; 2649 LLUUID key = LLUUID.Zero;
2650 if (LLUUID.TryParse(rules.Data[i + 1].ToString(), out key)) 2650 if (LLUUID.TryParse(rules.Data[i + 1].ToString(), out key))
2651 { 2651 {
@@ -2657,7 +2657,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2657 } 2657 }
2658 break; 2658 break;
2659 2659
2660 case (int)LSL_BaseClass.PSYS_SRC_OMEGA: 2660 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_OMEGA:
2661 // AL: This is an assumption, since it is the only thing that would match. 2661 // AL: This is an assumption, since it is the only thing that would match.
2662 tempv = (LSL_Types.Vector3)rules.Data[i + 1]; 2662 tempv = (LSL_Types.Vector3)rules.Data[i + 1];
2663 prules.AngularVelocity.X = (float)tempv.x; 2663 prules.AngularVelocity.X = (float)tempv.x;
@@ -2666,12 +2666,12 @@ namespace OpenSim.Region.ScriptEngine.Common
2666 //cast?? prules.MaxAge = (float)rules[i + 1]; 2666 //cast?? prules.MaxAge = (float)rules[i + 1];
2667 break; 2667 break;
2668 2668
2669 case (int)LSL_BaseClass.PSYS_SRC_ANGLE_BEGIN: 2669 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_ANGLE_BEGIN:
2670 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2670 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2671 prules.InnerAngle = (float)tempf; 2671 prules.InnerAngle = (float)tempf;
2672 break; 2672 break;
2673 2673
2674 case (int)LSL_BaseClass.PSYS_SRC_ANGLE_END: 2674 case (int)BuiltIn_Commands_BaseClass.PSYS_SRC_ANGLE_END:
2675 tempf = Convert.ToSingle(rules.Data[i + 1].ToString()); 2675 tempf = Convert.ToSingle(rules.Data[i + 1].ToString());
2676 prules.OuterAngle = (float)tempf; 2676 prules.OuterAngle = (float)tempf;
2677 break; 2677 break;
@@ -3391,27 +3391,27 @@ namespace OpenSim.Region.ScriptEngine.Common
3391 LSL_Types.list nums = LSL_Types.list.ToDoubleList(src); 3391 LSL_Types.list nums = LSL_Types.list.ToDoubleList(src);
3392 switch (operation) 3392 switch (operation)
3393 { 3393 {
3394 case LSL_BaseClass.LIST_STAT_RANGE: 3394 case BuiltIn_Commands_BaseClass.LIST_STAT_RANGE:
3395 return nums.Range(); 3395 return nums.Range();
3396 case LSL_BaseClass.LIST_STAT_MIN: 3396 case BuiltIn_Commands_BaseClass.LIST_STAT_MIN:
3397 return nums.Min(); 3397 return nums.Min();
3398 case LSL_BaseClass.LIST_STAT_MAX: 3398 case BuiltIn_Commands_BaseClass.LIST_STAT_MAX:
3399 return nums.Max(); 3399 return nums.Max();
3400 case LSL_BaseClass.LIST_STAT_MEAN: 3400 case BuiltIn_Commands_BaseClass.LIST_STAT_MEAN:
3401 return nums.Mean(); 3401 return nums.Mean();
3402 case LSL_BaseClass.LIST_STAT_MEDIAN: 3402 case BuiltIn_Commands_BaseClass.LIST_STAT_MEDIAN:
3403 return nums.Median(); 3403 return nums.Median();
3404 case LSL_BaseClass.LIST_STAT_NUM_COUNT: 3404 case BuiltIn_Commands_BaseClass.LIST_STAT_NUM_COUNT:
3405 return nums.NumericLength(); 3405 return nums.NumericLength();
3406 case LSL_BaseClass.LIST_STAT_STD_DEV: 3406 case BuiltIn_Commands_BaseClass.LIST_STAT_STD_DEV:
3407 return nums.StdDev(); 3407 return nums.StdDev();
3408 case LSL_BaseClass.LIST_STAT_SUM: 3408 case BuiltIn_Commands_BaseClass.LIST_STAT_SUM:
3409 return nums.Sum(); 3409 return nums.Sum();
3410 case LSL_BaseClass.LIST_STAT_SUM_SQUARES: 3410 case BuiltIn_Commands_BaseClass.LIST_STAT_SUM_SQUARES:
3411 return nums.SumSqrs(); 3411 return nums.SumSqrs();
3412 case LSL_BaseClass.LIST_STAT_GEOMETRIC_MEAN: 3412 case BuiltIn_Commands_BaseClass.LIST_STAT_GEOMETRIC_MEAN:
3413 return nums.GeometricMean(); 3413 return nums.GeometricMean();
3414 case LSL_BaseClass.LIST_STAT_HARMONIC_MEAN: 3414 case BuiltIn_Commands_BaseClass.LIST_STAT_HARMONIC_MEAN:
3415 return nums.HarmonicMean(); 3415 return nums.HarmonicMean();
3416 default: 3416 default:
3417 return 0.0; 3417 return 0.0;
@@ -3576,9 +3576,9 @@ namespace OpenSim.Region.ScriptEngine.Common
3576 public string llStringTrim(string src, int type) 3576 public string llStringTrim(string src, int type)
3577 { 3577 {
3578 m_host.AddScriptLPS(1); 3578 m_host.AddScriptLPS(1);
3579 if (type == (int)LSL_BaseClass.STRING_TRIM_HEAD) { return src.TrimStart(); } 3579 if (type == (int)BuiltIn_Commands_BaseClass.STRING_TRIM_HEAD) { return src.TrimStart(); }
3580 if (type == (int)LSL_BaseClass.STRING_TRIM_TAIL) { return src.TrimEnd(); } 3580 if (type == (int)BuiltIn_Commands_BaseClass.STRING_TRIM_TAIL) { return src.TrimEnd(); }
3581 if (type == (int)LSL_BaseClass.STRING_TRIM) { return src.Trim(); } 3581 if (type == (int)BuiltIn_Commands_BaseClass.STRING_TRIM) { return src.Trim(); }
3582 return src; 3582 return src;
3583 } 3583 }
3584 3584
diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
index d5af74a..80360ee 100644
--- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
@@ -39,9 +39,11 @@ namespace OpenSim.Region.ScriptEngine.Common
39 LLUUID itemID) 39 LLUUID itemID)
40 : base(scriptEngine, host, localID, itemID) 40 : base(scriptEngine, host, localID, itemID)
41 { 41 {
42 Prim = new OSSLPrim(this);
42 } 43 }
43 44
44 private OSSLPrim Prim; 45
46 public OSSLPrim Prim;
45 47
46 public class OSSLPrim 48 public class OSSLPrim
47 { 49 {
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
index fe30119..5cd3d94 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
@@ -289,7 +289,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
289 compileScript = String.Empty + 289 compileScript = String.Empty +
290 "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" + 290 "import OpenSim.Region.ScriptEngine.Common; import System.Collections.Generic;\r\n" +
291 "package SecondLife {\r\n" + 291 "package SecondLife {\r\n" +
292 "class Script extends OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" + 292 "class Script extends OpenSim.Region.ScriptEngine.Common.BuiltIn_Commands_BaseClass { \r\n" +
293 compileScript + 293 compileScript +
294 "} }\r\n"; 294 "} }\r\n";
295 return compileScript; 295 return compileScript;
@@ -300,7 +300,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
300 compileScript = String.Empty + 300 compileScript = String.Empty +
301 "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" + 301 "using OpenSim.Region.ScriptEngine.Common; using System.Collections.Generic;\r\n" +
302 String.Empty + "namespace SecondLife { " + 302 String.Empty + "namespace SecondLife { " +
303 String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.BuilIn_Commands { \r\n" + 303 String.Empty + "public class Script : OpenSim.Region.ScriptEngine.Common.BuiltIn_Commands_BaseClass { \r\n" +
304 @"public Script() { } " + 304 @"public Script() { } " +
305 compileScript + 305 compileScript +
306 "} }\r\n"; 306 "} }\r\n";
@@ -312,7 +312,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
312 compileScript = String.Empty + 312 compileScript = String.Empty +
313 "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " + 313 "Imports OpenSim.Region.ScriptEngine.Common: Imports System.Collections.Generic: " +
314 String.Empty + "NameSpace SecondLife:" + 314 String.Empty + "NameSpace SecondLife:" +
315 String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.BuilIn_Commands: " + 315 String.Empty + "Public Class Script: Inherits OpenSim.Region.ScriptEngine.Common.BuiltIn_Commands_BaseClass: " +
316 "\r\nPublic Sub New()\r\nEnd Sub: " + 316 "\r\nPublic Sub New()\r\nEnd Sub: " +
317 compileScript + 317 compileScript +
318 ":End Class :End Namespace\r\n"; 318 ":End Class :End Namespace\r\n";
diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/Engine.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/Engine.cs
index c6fa4ce..a64f580 100644
--- a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/Engine.cs
+++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/Engine.cs
@@ -86,7 +86,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
86 TypeBuilder typeBuilder = modBuilder.DefineType( 86 TypeBuilder typeBuilder = modBuilder.DefineType(
87 "LSL_ScriptObject", 87 "LSL_ScriptObject",
88 TypeAttributes.Public | TypeAttributes.BeforeFieldInit, 88 TypeAttributes.Public | TypeAttributes.BeforeFieldInit,
89 typeof (LSL_BaseClass)); 89 typeof (BuiltIn_Commands_BaseClass));
90 //, 90 //,
91 // typeof()); 91 // typeof());
92 //, typeof(LSL_BuiltIn_Commands_Interface)); 92 //, typeof(LSL_BuiltIn_Commands_Interface));
@@ -179,7 +179,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
179 new Type[0]); 179 new Type[0]);
180 180
181 //Define the reflection ConstructorInfor for System.Object 181 //Define the reflection ConstructorInfor for System.Object
182 ConstructorInfo conObj = typeof (LSL_BaseClass).GetConstructor(new Type[0]); 182 ConstructorInfo conObj = typeof (BuiltIn_Commands_BaseClass).GetConstructor(new Type[0]);
183 183
184 //call constructor of base object 184 //call constructor of base object
185 ILGenerator il = constructor.GetILGenerator(); 185 ILGenerator il = constructor.GetILGenerator();
@@ -272,7 +272,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
272 272
273 // Make call 273 // Make call
274 il.Emit(OpCodes.Call, 274 il.Emit(OpCodes.Call,
275 typeof (LSL_BaseClass).GetMethod("AddToStatic", new Type[] {typeof (UInt32), datatype})); 275 typeof (BuiltIn_Commands_BaseClass).GetMethod("AddToStatic", new Type[] {typeof (UInt32), datatype}));
276 } 276 }
277 } 277 }
278 278
diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs
index 30d3890..8c5262b 100644
--- a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs
+++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSL_OPCODE_IL_processor.cs
@@ -162,7 +162,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
162 if (mi.Name == fname) 162 if (mi.Name == fname)
163 { 163 {
164 il.Emit(OpCodes.Ldarg_0); 164 il.Emit(OpCodes.Ldarg_0);
165 il.Emit(OpCodes.Call, typeof (LSL_BaseClass).GetMethod("GetLSL_BuiltIn", new Type[] {})); 165 il.Emit(OpCodes.Call, typeof (BuiltIn_Commands_BaseClass).GetMethod("GetLSL_BuiltIn", new Type[] {}));
166 // Pop required number of items from my stack to .Net stack 166 // Pop required number of items from my stack to .Net stack
167 IL_PopToStack(il, mi.GetParameters().Length); 167 IL_PopToStack(il, mi.GetParameters().Length);
168 il.Emit(OpCodes.Callvirt, mi); 168 il.Emit(OpCodes.Callvirt, mi);
@@ -377,7 +377,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
377 private void IL_CallBaseFunction(ILGenerator il, string methodname) 377 private void IL_CallBaseFunction(ILGenerator il, string methodname)
378 { 378 {
379 il.Emit(OpCodes.Ldarg_0); 379 il.Emit(OpCodes.Ldarg_0);
380 il.Emit(OpCodes.Call, typeof (LSL_BaseClass).GetMethod(methodname, new Type[] {})); 380 il.Emit(OpCodes.Call, typeof (BuiltIn_Commands_BaseClass).GetMethod(methodname, new Type[] {}));
381 } 381 }
382 382
383 private void IL_CallBaseFunction(ILGenerator il, string methodname, object data) 383 private void IL_CallBaseFunction(ILGenerator il, string methodname, object data)
@@ -387,7 +387,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
387 il.Emit(OpCodes.Ldstr, (string) data); 387 il.Emit(OpCodes.Ldstr, (string) data);
388 if (data.GetType() == typeof (UInt32)) 388 if (data.GetType() == typeof (UInt32))
389 il.Emit(OpCodes.Ldc_I4, (UInt32) data); 389 il.Emit(OpCodes.Ldc_I4, (UInt32) data);
390 il.Emit(OpCodes.Call, typeof (LSL_BaseClass).GetMethod(methodname, new Type[] {data.GetType()})); 390 il.Emit(OpCodes.Call, typeof (BuiltIn_Commands_BaseClass).GetMethod(methodname, new Type[] {data.GetType()}));
391 } 391 }
392 392
393 private void IL_Push(ILGenerator il, object data) 393 private void IL_Push(ILGenerator il, object data)
@@ -397,7 +397,7 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO
397 397
398 IL_PushDataTypeToILStack(il, data); 398 IL_PushDataTypeToILStack(il, data);
399 399
400 il.Emit(OpCodes.Call, typeof (LSL_BaseClass).GetMethod("PUSH", new Type[] {data.GetType()})); 400 il.Emit(OpCodes.Call, typeof (BuiltIn_Commands_BaseClass).GetMethod("PUSH", new Type[] {data.GetType()}));
401 } 401 }
402 402
403 private void IL_PushDataTypeToILStack(ILGenerator il, object data) 403 private void IL_PushDataTypeToILStack(ILGenerator il, object data)