aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-08-09 19:59:40 +1000
committerDavid Walter Seikel2014-08-09 19:59:40 +1000
commit46bb9d29f8649c734546b23654ca790cbf48dc9f (patch)
treee48faa92481d37b204542677c0ef6ee8b2f9c84c
parentMore stuff to ignore. (diff)
downloadSledjHamr-46bb9d29f8649c734546b23654ca790cbf48dc9f.zip
SledjHamr-46bb9d29f8649c734546b23654ca790cbf48dc9f.tar.gz
SledjHamr-46bb9d29f8649c734546b23654ca790cbf48dc9f.tar.bz2
SledjHamr-46bb9d29f8649c734546b23654ca790cbf48dc9f.tar.xz
Add particle and vehicle constants.
-rw-r--r--lib/LSL.lua91
1 files changed, 91 insertions, 0 deletions
diff --git a/lib/LSL.lua b/lib/LSL.lua
index a95ead3..1b6a8bd 100644
--- a/lib/LSL.lua
+++ b/lib/LSL.lua
@@ -369,6 +369,97 @@ local constants =
369 newConst("integer", "PRIM_TYPE_RING", 6), 369 newConst("integer", "PRIM_TYPE_RING", 6),
370 newConst("integer", "PRIM_TYPE_SCULPT", 7), 370 newConst("integer", "PRIM_TYPE_SCULPT", 7),
371 371
372 newConst("integer", "PSYS_PART_FLAGS", 0),
373 newConst("integer", "PSYS_PART_START_COLOR", 1),
374 newConst("integer", "PSYS_PART_START_ALPHA", 2),
375 newConst("integer", "PSYS_PART_END_COLOR", 3),
376 newConst("integer", "PSYS_PART_END_ALPHA", 4),
377 newConst("integer", "PSYS_PART_START_SCALE", 5),
378 newConst("integer", "PSYS_PART_END_SCALE", 6),
379 newConst("integer", "PSYS_PART_MAX_AGE", 7),
380
381 newConst("integer", "PSYS_SRC_ACCEL", 8),
382 newConst("integer", "PSYS_SRC_PATTERN", 9),
383 newConst("integer", "PSYS_SRC_INNERANGLE", 10),
384 newConst("integer", "PSYS_SRC_OUTERANGLE", 11),
385 newConst("integer", "PSYS_SRC_TEXTURE", 12),
386 newConst("integer", "PSYS_SRC_BURST_RATE", 13),
387 newConst("integer", "PSYS_SRC_BURST_PART_COUNT", 15),
388 newConst("integer", "PSYS_SRC_BURST_RADIUS", 16),
389 newConst("integer", "PSYS_SRC_BURST_SPEED_MIN", 17),
390 newConst("integer", "PSYS_SRC_BURST_SPEED_MAX", 18),
391 newConst("integer", "PSYS_SRC_MAX_AGE", 19),
392 newConst("integer", "PSYS_SRC_TARGET_KEY", 20),
393 newConst("integer", "PSYS_SRC_OMEGA", 21),
394 newConst("integer", "PSYS_SRC_ANGLE_BEGIN", 22),
395 newConst("integer", "PSYS_SRC_ANGLE_END", 23),
396
397 newConst("integer", "PSYS_PART_INTERP_COLOR_MASK", 1),
398 newConst("integer", "PSYS_PART_INTERP_SCALE_MASK", 2),
399 newConst("integer", "PSYS_PART_BOUNCE_MASK", 4),
400 newConst("integer", "PSYS_PART_WIND_MASK", 8),
401 newConst("integer", "PSYS_PART_FOLLOW_SRC_MASK", 16),
402 newConst("integer", "PSYS_PART_FOLLOW_VELOCITY_MASK", 32),
403 newConst("integer", "PSYS_PART_TARGET_POS_MASK", 64),
404 newConst("integer", "PSYS_PART_TARGET_LINEAR_MASK", 128),
405 newConst("integer", "PSYS_PART_EMISSIVE_MASK", 256),
406
407 newConst("integer", "PSYS_SRC_PATTERN_DROP", 1),
408 newConst("integer", "PSYS_SRC_PATTERN_EXPLODE", 2),
409 newConst("integer", "PSYS_SRC_PATTERN_ANGLE", 4),
410 newConst("integer", "PSYS_SRC_PATTERN_ANGLE_CONE", 8),
411 newConst("integer", "PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY", 16),
412
413 newConst("integer", "VEHICLE_FLAG_NO_DEFLECTION_UP", 1),
414 newConst("integer", "VEHICLE_FLAG_LIMIT_ROLL_ONLY", 2),
415 newConst("integer", "VEHICLE_FLAG_HOVER_WATER_ONLY", 4),
416 newConst("integer", "VEHICLE_FLAG_HOVER_TERRAIN_ONLY", 8),
417 newConst("integer", "VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT", 16),
418 newConst("integer", "VEHICLE_FLAG_HOVER_UP_ONLY", 32),
419 newConst("integer", "VEHICLE_FLAG_LIMIT_MOTOR_UP", 64),
420 newConst("integer", "VEHICLE_FLAG_MOUSELOOK_STEER", 128),
421 newConst("integer", "VEHICLE_FLAG_MOUSELOOK_BANK", 256),
422 newConst("integer", "VEHICLE_FLAG_CAMERA_DECOUPLED", 512),
423 newConst("integer", "VEHICLE_FLAG_NO_X", 1024),
424 newConst("integer", "VEHICLE_FLAG_NO_Y", 2048),
425 newConst("integer", "VEHICLE_FLAG_NO_Z", 4096),
426 newConst("integer", "VEHICLE_FLAG_LOCK_HOVER_HEIGHT", 8192),
427 newConst("integer", "VEHICLE_FLAG_NO_DEFLECTION", 16392),
428 newConst("integer", "VEHICLE_FLAG_LOCK_ROTATION", 32784),
429
430 newConst("integer", "VEHICLE_TYPE_NONE", 0),
431 newConst("integer", "VEHICLE_TYPE_SLED", 1),
432 newConst("integer", "VEHICLE_TYPE_CAR", 2),
433 newConst("integer", "VEHICLE_TYPE_BOAT", 3),
434 newConst("integer", "VEHICLE_TYPE_AIRPLANE", 4),
435 newConst("integer", "VEHICLE_TYPE_BALLOON", 5),
436
437 newConst("integer", "VEHICLE_LINEAR_FRICTION_TIMESCALE", 16),
438 newConst("integer", "VEHICLE_ANGULAR_FRICTION_TIMESCALE", 17),
439 newConst("integer", "VEHICLE_LINEAR_MOTOR_DIRECTION", 18),
440 newConst("integer", "VEHICLE_ANGULAR_MOTOR_DIRECTION", 19),
441 newConst("integer", "VEHICLE_LINEAR_MOTOR_OFFSET", 20),
442 newConst("integer", "VEHICLE_HOVER_HEIGHT", 24),
443 newConst("integer", "VEHICLE_HOVER_EFFICIENCY", 25),
444 newConst("integer", "VEHICLE_HOVER_TIMESCALE", 26),
445 newConst("integer", "VEHICLE_BUOYANCY", 27),
446 newConst("integer", "VEHICLE_LINEAR_DEFLECTION_EFFICIENCY", 28),
447 newConst("integer", "VEHICLE_LINEAR_DEFLECTION_TIMESCALE", 29),
448 newConst("integer", "VEHICLE_LINEAR_MOTOR_TIMESCALE", 30),
449 newConst("integer", "VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE", 31),
450 newConst("integer", "VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY", 32),
451 newConst("integer", "VEHICLE_ANGULAR_DEFLECTION_TIMESCALE", 33),
452 newConst("integer", "VEHICLE_ANGULAR_MOTOR_TIMESCALE", 34),
453 newConst("integer", "VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE", 35),
454 newConst("integer", "VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY", 36),
455 newConst("integer", "VEHICLE_VERTICAL_ATTRACTION_TIMESCALE", 37),
456 newConst("integer", "VEHICLE_BANKING_EFFICIENCY", 38),
457 newConst("integer", "VEHICLE_BANKING_MIX", 39),
458 newConst("integer", "VEHICLE_BANKING_TIMESCALE", 40),
459 newConst("integer", "VEHICLE_REFERENCE_FRAME", 44),
460 newConst("integer", "VEHICLE_RANGE_BLOCK", 45),
461 newConst("integer", "VEHICLE_ROLL_FRAME", 46),
462
372 newConst("integer", "STRING_TRIM", 3), 463 newConst("integer", "STRING_TRIM", 3),
373 newConst("integer", "STRING_TRIM_HEAD", 1), 464 newConst("integer", "STRING_TRIM_HEAD", 1),
374 newConst("integer", "STRING_TRIM_TAIL", 2), 465 newConst("integer", "STRING_TRIM_TAIL", 2),