aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting')
-rwxr-xr-xOpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs56
1 files changed, 28 insertions, 28 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
index baf5a5b..e0f16d6 100755
--- a/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/ExtendedPhysics/ExtendedPhysics.cs
@@ -160,7 +160,7 @@ public class ExtendedPhysics : INonSharedRegionModule
160 } 160 }
161 161
162 [ScriptConstant] 162 [ScriptConstant]
163 public static int PHYS_CENTER_OF_MASS = 1 << 0; 163 public const int PHYS_CENTER_OF_MASS = 1 << 0;
164 164
165 [ScriptInvocation] 165 [ScriptInvocation]
166 public string physGetEngineType(UUID hostID, UUID scriptID) 166 public string physGetEngineType(UUID hostID, UUID scriptID)
@@ -176,11 +176,11 @@ public class ExtendedPhysics : INonSharedRegionModule
176 } 176 }
177 177
178 [ScriptConstant] 178 [ScriptConstant]
179 public static int PHYS_LINKSET_TYPE_CONSTRAINT = 0; 179 public const int PHYS_LINKSET_TYPE_CONSTRAINT = 0;
180 [ScriptConstant] 180 [ScriptConstant]
181 public static int PHYS_LINKSET_TYPE_COMPOUND = 1; 181 public const int PHYS_LINKSET_TYPE_COMPOUND = 1;
182 [ScriptConstant] 182 [ScriptConstant]
183 public static int PHYS_LINKSET_TYPE_MANUAL = 2; 183 public const int PHYS_LINKSET_TYPE_MANUAL = 2;
184 184
185 [ScriptInvocation] 185 [ScriptInvocation]
186 public int physSetLinksetType(UUID hostID, UUID scriptID, int linksetType) 186 public int physSetLinksetType(UUID hostID, UUID scriptID, int linksetType)
@@ -292,15 +292,15 @@ public class ExtendedPhysics : INonSharedRegionModule
292 } 292 }
293 293
294 [ScriptConstant] 294 [ScriptConstant]
295 public static int PHYS_LINK_TYPE_FIXED = 1234; 295 public const int PHYS_LINK_TYPE_FIXED = 1234;
296 [ScriptConstant] 296 [ScriptConstant]
297 public static int PHYS_LINK_TYPE_HINGE = 4; 297 public const int PHYS_LINK_TYPE_HINGE = 4;
298 [ScriptConstant] 298 [ScriptConstant]
299 public static int PHYS_LINK_TYPE_SPRING = 9; 299 public const int PHYS_LINK_TYPE_SPRING = 9;
300 [ScriptConstant] 300 [ScriptConstant]
301 public static int PHYS_LINK_TYPE_6DOF = 6; 301 public const int PHYS_LINK_TYPE_6DOF = 6;
302 [ScriptConstant] 302 [ScriptConstant]
303 public static int PHYS_LINK_TYPE_SLIDER = 7; 303 public const int PHYS_LINK_TYPE_SLIDER = 7;
304 304
305 // physChangeLinkType(integer linkNum, integer typeCode) 305 // physChangeLinkType(integer linkNum, integer typeCode)
306 [ScriptInvocation] 306 [ScriptInvocation]
@@ -341,42 +341,42 @@ public class ExtendedPhysics : INonSharedRegionModule
341 341
342 // Code for specifying params. 342 // Code for specifying params.
343 // The choice if 14400 is arbitrary and only serves to catch parameter code misuse. 343 // The choice if 14400 is arbitrary and only serves to catch parameter code misuse.
344 public static int PHYS_PARAM_MIN = 14401; 344 public const int PHYS_PARAM_MIN = 14401;
345 [ScriptConstant] 345 [ScriptConstant]
346 public static int PHYS_PARAM_FRAMEINA_LOC = 14401; 346 public const int PHYS_PARAM_FRAMEINA_LOC = 14401;
347 [ScriptConstant] 347 [ScriptConstant]
348 public static int PHYS_PARAM_FRAMEINA_ROT = 14402; 348 public const int PHYS_PARAM_FRAMEINA_ROT = 14402;
349 [ScriptConstant] 349 [ScriptConstant]
350 public static int PHYS_PARAM_FRAMEINB_LOC = 14403; 350 public const int PHYS_PARAM_FRAMEINB_LOC = 14403;
351 [ScriptConstant] 351 [ScriptConstant]
352 public static int PHYS_PARAM_FRAMEINB_ROT = 14404; 352 public const int PHYS_PARAM_FRAMEINB_ROT = 14404;
353 [ScriptConstant] 353 [ScriptConstant]
354 public static int PHYS_PARAM_LINEAR_LIMIT_LOW = 14405; 354 public const int PHYS_PARAM_LINEAR_LIMIT_LOW = 14405;
355 [ScriptConstant] 355 [ScriptConstant]
356 public static int PHYS_PARAM_LINEAR_LIMIT_HIGH = 14406; 356 public const int PHYS_PARAM_LINEAR_LIMIT_HIGH = 14406;
357 [ScriptConstant] 357 [ScriptConstant]
358 public static int PHYS_PARAM_ANGULAR_LIMIT_LOW = 14407; 358 public const int PHYS_PARAM_ANGULAR_LIMIT_LOW = 14407;
359 [ScriptConstant] 359 [ScriptConstant]
360 public static int PHYS_PARAM_ANGULAR_LIMIT_HIGH = 14408; 360 public const int PHYS_PARAM_ANGULAR_LIMIT_HIGH = 14408;
361 [ScriptConstant] 361 [ScriptConstant]
362 public static int PHYS_PARAM_USE_FRAME_OFFSET = 14409; 362 public const int PHYS_PARAM_USE_FRAME_OFFSET = 14409;
363 [ScriptConstant] 363 [ScriptConstant]
364 public static int PHYS_PARAM_ENABLE_TRANSMOTOR = 14410; 364 public const int PHYS_PARAM_ENABLE_TRANSMOTOR = 14410;
365 [ScriptConstant] 365 [ScriptConstant]
366 public static int PHYS_PARAM_TRANSMOTOR_MAXVEL = 14411; 366 public const int PHYS_PARAM_TRANSMOTOR_MAXVEL = 14411;
367 [ScriptConstant] 367 [ScriptConstant]
368 public static int PHYS_PARAM_TRANSMOTOR_MAXFORCE = 14412; 368 public const int PHYS_PARAM_TRANSMOTOR_MAXFORCE = 14412;
369 [ScriptConstant] 369 [ScriptConstant]
370 public static int PHYS_PARAM_CFM = 14413; 370 public const int PHYS_PARAM_CFM = 14413;
371 [ScriptConstant] 371 [ScriptConstant]
372 public static int PHYS_PARAM_ERP = 14414; 372 public const int PHYS_PARAM_ERP = 14414;
373 [ScriptConstant] 373 [ScriptConstant]
374 public static int PHYS_PARAM_SOLVER_ITERATIONS = 14415; 374 public const int PHYS_PARAM_SOLVER_ITERATIONS = 14415;
375 [ScriptConstant] 375 [ScriptConstant]
376 public static int PHYS_PARAM_SPRING_DAMPING = 14416; 376 public const int PHYS_PARAM_SPRING_DAMPING = 14416;
377 [ScriptConstant] 377 [ScriptConstant]
378 public static int PHYS_PARAM_SPRING_STIFFNESS = 14417; 378 public const int PHYS_PARAM_SPRING_STIFFNESS = 14417;
379 public static int PHYS_PARAM_MAX = 14417; 379 public const int PHYS_PARAM_MAX = 14417;
380 380
381 // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...]) 381 // physChangeLinkParams(integer linkNum, [ PHYS_PARAM_*, value, PHYS_PARAM_*, value, ...])
382 [ScriptInvocation] 382 [ScriptInvocation]