Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -132,9 +132,9 @@ bool LLAudioEngine_FMODEX::init(const S32 num_channels, void* userdata)
|
||||
|
||||
LL_DEBUGS("AppInit") << "LLAudioEngine_FMODEX::init() initializing FMOD" << LL_ENDL;
|
||||
|
||||
result = FMOD::Memory_Initialize(NULL, 0, &decode_alloc, &decode_realloc, &decode_dealloc, FMOD_MEMORY_STREAM_DECODE | FMOD_MEMORY_STREAM_FILE);
|
||||
if(Check_FMOD_Error(result, "FMOD::Memory_Initialize"))
|
||||
return false;
|
||||
//result = FMOD::Memory_Initialize(NULL, 0, &decode_alloc, &decode_realloc, &decode_dealloc, FMOD_MEMORY_STREAM_DECODE | FMOD_MEMORY_STREAM_FILE);
|
||||
//if(Check_FMOD_Error(result, "FMOD::Memory_Initialize"))
|
||||
// return false;
|
||||
|
||||
result = FMOD::System_Create(&mSystem);
|
||||
if(Check_FMOD_Error(result, "FMOD::System_Create"))
|
||||
|
||||
@@ -73,6 +73,15 @@ const S32 LSL_PRIM_TEXGEN = 22;
|
||||
const S32 LSL_PRIM_POINT_LIGHT = 23;
|
||||
const S32 LSL_PRIM_CAST_SHADOWS = 24;
|
||||
const S32 LSL_PRIM_GLOW = 25;
|
||||
const S32 LSL_PRIM_TEXT = 26;
|
||||
const S32 LSL_PRIM_NAME = 27;
|
||||
const S32 LSL_PRIM_DESC = 28;
|
||||
const S32 LSL_PRIM_ROT_LOCAL = 29;
|
||||
const S32 LSL_PRIM_PHYSICS_SHAPE_TYPE = 30;
|
||||
const S32 LSL_PRIM_OMEGA = 32;
|
||||
const S32 LSL_PRIM_POS_LOCAL = 33;
|
||||
const S32 LSL_PRIM_LINK_TARGET = 34;
|
||||
const S32 LSL_PRIM_SLICE = 35;
|
||||
|
||||
const S32 LSL_PRIM_TYPE_BOX = 0;
|
||||
const S32 LSL_PRIM_TYPE_CYLINDER= 1;
|
||||
@@ -132,6 +141,15 @@ const S32 LSL_PRIM_SCULPT_TYPE_MASK = 7;
|
||||
const S32 LSL_PRIM_SCULPT_FLAG_INVERT = 64;
|
||||
const S32 LSL_PRIM_SCULPT_FLAG_MIRROR = 128;
|
||||
|
||||
const S32 LSL_PRIM_PHYSICS_SHAPE_PRIM = 0;
|
||||
const S32 LSL_PRIM_PHYSICS_SHAPE_NONE = 1;
|
||||
const S32 LSL_PRIM_PHYSICS_SHAPE_CONVEX = 2;
|
||||
|
||||
const S32 LSL_DENSITY = 1;
|
||||
const S32 LSL_FRICTION = 2;
|
||||
const S32 LSL_RESTITUTION = 4;
|
||||
const S32 LSL_GRAVITY_MULTIPLIER = 8;
|
||||
|
||||
const S32 LSL_ALL_SIDES = -1;
|
||||
const S32 LSL_LINK_ROOT = 1;
|
||||
const S32 LSL_LINK_FIRST_CHILD = 2;
|
||||
@@ -189,6 +207,13 @@ const S32 OBJECT_RUNNING_SCRIPT_COUNT = 9;
|
||||
const S32 OBJECT_TOTAL_SCRIPT_COUNT = 10;
|
||||
const S32 OBJECT_SCRIPT_MEMORY = 11;
|
||||
const S32 OBJECT_SCRIPT_TIME = 12;
|
||||
const S32 OBJECT_PRIM_EQUIVALENCE = 13;
|
||||
const S32 OBJECT_SERVER_COST = 14;
|
||||
const S32 OBJECT_STREAMING_COST = 15;
|
||||
const S32 OBJECT_PHYSICS_COST = 16;
|
||||
|
||||
// llTextBox() magic token string - yes it's a hack.
|
||||
char const* const TEXTBOX_MAGIC_TOKEN = "!!llTextBox!!";
|
||||
|
||||
// changed() event flags
|
||||
const U32 CHANGED_NONE = 0x0;
|
||||
@@ -216,4 +241,156 @@ const U32 LSL_STATUS_INTERNAL_ERROR = 1999;
|
||||
|
||||
// Start per-function errors below, starting at 2000:
|
||||
const U32 LSL_STATUS_WHITELIST_FAILED = 2001;
|
||||
|
||||
// Memory profiling support
|
||||
const S32 LSL_PROFILE_SCRIPT_NONE = 0;
|
||||
const S32 LSL_PROFILE_SCRIPT_MEMORY = 1;
|
||||
|
||||
// HTTP responses contents type
|
||||
const S32 LSL_CONTENT_TYPE_TEXT = 0;
|
||||
const S32 LSL_CONTENT_TYPE_HTML = 1;
|
||||
|
||||
// Ray casting
|
||||
const S32 LSL_RCERR_UNKNOWN = -1;
|
||||
const S32 LSL_RCERR_SIM_PERF_LOW = -2;
|
||||
const S32 LSL_RCERR_CAST_TIME_EXCEEDED = -3;
|
||||
|
||||
const S32 LSL_RC_REJECT_TYPES = 0;
|
||||
const S32 LSL_RC_DETECT_PHANTOM = 1;
|
||||
const S32 LSL_RC_DATA_FLAGS = 2;
|
||||
const S32 LSL_RC_MAX_HITS = 3;
|
||||
|
||||
const S32 LSL_RC_REJECT_AGENTS = 1;
|
||||
const S32 LSL_RC_REJECT_PHYSICAL = 2;
|
||||
const S32 LSL_RC_REJECT_NONPHYSICAL = 4;
|
||||
const S32 LSL_RC_REJECT_LAND = 8;
|
||||
|
||||
const S32 LSL_RC_GET_NORMAL = 1;
|
||||
const S32 LSL_RC_GET_ROOT_KEY = 2;
|
||||
const S32 LSL_RC_GET_LINK_NUM = 4;
|
||||
|
||||
// Estate management
|
||||
const S32 LSL_ESTATE_ACCESS_ALLOWED_AGENT_ADD = 4;
|
||||
const S32 LSL_ESTATE_ACCESS_ALLOWED_AGENT_REMOVE = 8;
|
||||
const S32 LSL_ESTATE_ACCESS_ALLOWED_GROUP_ADD = 16;
|
||||
const S32 LSL_ESTATE_ACCESS_ALLOWED_GROUP_REMOVE = 32;
|
||||
const S32 LSL_ESTATE_ACCESS_BANNED_AGENT_ADD = 64;
|
||||
const S32 LSL_ESTATE_ACCESS_BANNED_AGENT_REMOVE = 128;
|
||||
|
||||
// Key Frame Motion:
|
||||
const S32 LSL_KFM_COMMAND = 0;
|
||||
const S32 LSL_KFM_MODE = 1;
|
||||
const S32 LSL_KFM_DATA = 2;
|
||||
const S32 LSL_KFM_FORWARD = 0;
|
||||
const S32 LSL_KFM_LOOP = 1;
|
||||
const S32 LSL_KFM_PING_PONG = 2;
|
||||
const S32 LSL_KFM_REVERSE = 3;
|
||||
const S32 LSL_KFM_ROTATION = 1;
|
||||
const S32 LSL_KFM_TRANSLATION = 2;
|
||||
const S32 LSL_KFM_CMD_PLAY = 0;
|
||||
const S32 LSL_KFM_CMD_STOP = 1;
|
||||
const S32 LSL_KFM_CMD_PAUSE = 2;
|
||||
|
||||
// Second Life Server/12 12.04.30.255166 constants for llGetAgentList
|
||||
const S32 AGENT_LIST_PARCEL = 1;
|
||||
const S32 AGENT_LIST_PARCEL_OWNER = 2;
|
||||
const S32 AGENT_LIST_REGION = 4;
|
||||
|
||||
|
||||
// --- SL Constants ABOVE this line ---
|
||||
// --- OpenSim / Aurora-Sim constants Below ---
|
||||
// OpenSim Constants (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\LSL_Constants.cs)
|
||||
// Constants for cmWindlight (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\CM_Constants.cs)
|
||||
const S32 CHANGED_ANIMATION = 16384;
|
||||
const S32 PARCEL_DETAILS_CLAIMDATE = 10; // used by OpenSim osSetParcelDetails
|
||||
const S32 STATS_TIME_DILATION = 0;
|
||||
const S32 STATS_SIM_FPS = 1;
|
||||
const S32 STATS_PHYSICS_FPS = 2;
|
||||
const S32 STATS_AGENT_UPDATES = 3;
|
||||
const S32 STATS_ROOT_AGENTS = 4;
|
||||
const S32 STATS_CHILD_AGENTS = 5;
|
||||
const S32 STATS_TOTAL_PRIMS = 6;
|
||||
const S32 STATS_ACTIVE_PRIMS = 7;
|
||||
const S32 STATS_FRAME_MS = 8;
|
||||
const S32 STATS_NET_MS = 9;
|
||||
const S32 STATS_PHYSICS_MS = 10;
|
||||
const S32 STATS_IMAGE_MS = 11;
|
||||
const S32 STATS_OTHER_MS = 12;
|
||||
const S32 STATS_IN_PACKETS_PER_SECOND = 13;
|
||||
const S32 STATS_OUT_PACKETS_PER_SECOND = 14;
|
||||
const S32 STATS_UNACKED_BYTES = 15;
|
||||
const S32 STATS_AGENT_MS = 16;
|
||||
const S32 STATS_PENDING_DOWNLOADS = 17;
|
||||
const S32 STATS_PENDING_UPLOADS = 18;
|
||||
const S32 STATS_ACTIVE_SCRIPTS = 19;
|
||||
const S32 STATS_SCRIPT_LPS = 20;
|
||||
// osNPC
|
||||
const S32 OS_NPC_FLY = 0;
|
||||
const S32 OS_NPC_NO_FLY = 1;
|
||||
const S32 OS_NPC_LAND_AT_TARGET = 2;
|
||||
const S32 OS_NPC_SIT_NOW = 0;
|
||||
const U32 OS_NPC_CREATOR_OWNED = 0x1;
|
||||
const U32 OS_NPC_NOT_OWNED = 0x2;
|
||||
const U32 OS_NPC_SENSE_AS_AGENT = 0x4;
|
||||
const U32 OS_NPC_RUNNING = 4;
|
||||
// Lightshare / Windlight
|
||||
const S32 WL_WATER_COLOR = 0;
|
||||
const S32 WL_WATER_FOG_DENSITY_EXPONENT = 1;
|
||||
const S32 WL_UNDERWATER_FOG_MODIFIER = 2;
|
||||
const S32 WL_REFLECTION_WAVELET_SCALE = 3;
|
||||
const S32 WL_FRESNEL_SCALE = 4;
|
||||
const S32 WL_FRESNEL_OFFSET = 5;
|
||||
const S32 WL_REFRACT_SCALE_ABOVE = 6;
|
||||
const S32 WL_REFRACT_SCALE_BELOW = 7;
|
||||
const S32 WL_BLUR_MULTIPLIER = 8;
|
||||
const S32 WL_BIG_WAVE_DIRECTION = 9;
|
||||
const S32 WL_LITTLE_WAVE_DIRECTION = 10;
|
||||
const S32 WL_NORMAL_MAP_TEXTURE = 11;
|
||||
const S32 WL_HORIZON = 12;
|
||||
const S32 WL_HAZE_HORIZON = 13;
|
||||
const S32 WL_BLUE_DENSITY = 14;
|
||||
const S32 WL_HAZE_DENSITY = 15;
|
||||
const S32 WL_DENSITY_MULTIPLIER = 16;
|
||||
const S32 WL_DISTANCE_MULTIPLIER = 17;
|
||||
const S32 WL_MAX_ALTITUDE = 18;
|
||||
const S32 WL_SUN_MOON_COLOR = 19;
|
||||
const S32 WL_AMBIENT = 20;
|
||||
const S32 WL_EAST_ANGLE = 21;
|
||||
const S32 WL_SUN_GLOW_FOCUS = 22;
|
||||
const S32 WL_SUN_GLOW_SIZE = 23;
|
||||
const S32 WL_SCENE_GAMMA = 24;
|
||||
const S32 WL_STAR_BRIGHTNESS = 25;
|
||||
const S32 WL_CLOUD_COLOR = 26;
|
||||
const S32 WL_CLOUD_XY_DENSITY = 27;
|
||||
const S32 WL_CLOUD_COVERAGE = 28;
|
||||
const S32 WL_CLOUD_SCALE = 29;
|
||||
const S32 WL_CLOUD_DETAIL_XY_DENSITY = 30;
|
||||
const S32 WL_CLOUD_SCROLL_X = 31;
|
||||
const S32 WL_CLOUD_SCROLL_Y = 32;
|
||||
const S32 WL_CLOUD_SCROLL_Y_LOCK = 33;
|
||||
const S32 WL_CLOUD_SCROLL_X_LOCK = 34;
|
||||
const S32 WL_DRAW_CLASSIC_CLOUDS = 35;
|
||||
const S32 WL_SUN_MOON_POSITION = 36;
|
||||
// Aurora-Sim Constants (\Aurora\AuroraDotNetEngine\APIs\AA_Constants.cs) -->
|
||||
const S32 BOT_FOLLOW_FLAG_NONE = 0;
|
||||
const S32 BOT_FOLLOW_FLAG_INDEFINITELY = 1;
|
||||
const S32 BOT_FOLLOW_WALK = 0;
|
||||
const S32 BOT_FOLLOW_RUN = 1;
|
||||
const S32 BOT_FOLLOW_FLY = 2;
|
||||
const S32 BOT_FOLLOW_TELEPORT = 3;
|
||||
const S32 BOT_FOLLOW_WAIT = 4;
|
||||
const S32 BOT_FOLLOW_TRIGGER_HERE_EVENT = 1;
|
||||
const S32 BOT_FOLLOW_FLAG_FORCEDIRECTPATH = 4;
|
||||
// string constants from Aurora-Sim
|
||||
char const* const ENABLE_GRAVITY = "enable_gravity";
|
||||
char const* const GRAVITY_FORCE_X = "gravity_force_x";
|
||||
char const* const GRAVITY_FORCE_Y = "gravity_force_y";
|
||||
char const* const GRAVITY_FORCE_Z = "gravity_force_z";
|
||||
char const* const ADD_GRAVITY_POINT = "add_gravity_point";
|
||||
char const* const ADD_GRAVITY_FORCE = "add_gravity_force";
|
||||
char const* const START_TIME_REVERSAL_SAVING = "start_time_reversal_saving";
|
||||
char const* const STOP_TIME_REVERSAL_SAVING = "stop_time_reversal_saving";
|
||||
char const* const START_TIME_REVERSAL = "start_time_reversal";
|
||||
char const* const STOP_TIME_REVERSAL = "stop_time_reversal";
|
||||
|
||||
#endif
|
||||
|
||||
@@ -308,6 +308,8 @@ void LLRenderTarget::release()
|
||||
}
|
||||
else
|
||||
{
|
||||
//Release before delete.
|
||||
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, LLTexUnit::getInternalType(mUsage), 0, 0);
|
||||
LLImageGL::deleteTextures(mUsage, 0, 0, 1, &mDepth, true);
|
||||
stop_glerror();
|
||||
}
|
||||
@@ -339,6 +341,9 @@ void LLRenderTarget::release()
|
||||
|
||||
if (mTex.size() > 0)
|
||||
{
|
||||
//Release before delete.
|
||||
for (U32 i = 0; i < mTex.size(); ++i)
|
||||
glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0+i, LLTexUnit::getInternalType(mUsage), 0, 0);
|
||||
sBytesAllocated -= mResX*mResY*4*mTex.size();
|
||||
LLImageGL::deleteTextures(mUsage, mInternalFormat[0], 0, mTex.size(), &mTex[0], true);
|
||||
mTex.clear();
|
||||
@@ -490,10 +495,21 @@ void LLRenderTarget::flush(bool fetch_depth)
|
||||
}
|
||||
stop_glerror();
|
||||
|
||||
//Following case never currently evalutes true, but it's still good to have.
|
||||
if (mTex.size() > 1)
|
||||
{
|
||||
{
|
||||
for (U32 i = 1; i < mTex.size(); ++i)
|
||||
{
|
||||
glDrawBuffer(GL_COLOR_ATTACHMENT0 + i);
|
||||
glReadBuffer(GL_COLOR_ATTACHMENT0 + i);
|
||||
stop_glerror();
|
||||
glBlitFramebuffer(0, 0, mResX, mResY, 0, 0, mResX, mResY, GL_COLOR_BUFFER_BIT, GL_NEAREST);
|
||||
stop_glerror();
|
||||
}
|
||||
|
||||
/*for (U32 i = 1; i < mTex.size(); ++i)
|
||||
{
|
||||
|
||||
glFramebufferTexture2D(GL_DRAW_FRAMEBUFFER, GL_COLOR_ATTACHMENT0,
|
||||
LLTexUnit::getInternalType(mUsage), mTex[i], 0);
|
||||
stop_glerror();
|
||||
@@ -510,7 +526,7 @@ void LLRenderTarget::flush(bool fetch_depth)
|
||||
stop_glerror();
|
||||
glFramebufferRenderbuffer(GL_READ_FRAMEBUFFER, GL_COLOR_ATTACHMENT0+i, GL_RENDERBUFFER, mSampleBuffer->mTex[i]);
|
||||
stop_glerror();
|
||||
}
|
||||
}*/
|
||||
}
|
||||
glBindFramebuffer(GL_FRAMEBUFFER, 0);
|
||||
}
|
||||
|
||||
@@ -254,6 +254,10 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"OBJECT_TOTAL_SCRIPT_COUNT" { count(); yylval.ival = OBJECT_TOTAL_SCRIPT_COUNT; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_SCRIPT_MEMORY" { count(); yylval.ival = OBJECT_SCRIPT_MEMORY; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_SCRIPT_TIME" { count(); yylval.ival = OBJECT_SCRIPT_TIME; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_PRIM_EQUIVALENCE" { count(); yylval.ival = OBJECT_PRIM_EQUIVALENCE; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_SERVER_COST" { count(); yylval.ival = OBJECT_SERVER_COST; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_STREAMING_COST" { count(); yylval.ival = OBJECT_STREAMING_COST; return(INTEGER_CONSTANT); }
|
||||
"OBJECT_PHYSICS_COST" { count(); yylval.ival = OBJECT_SCRIPT_TIME; return(INTEGER_CONSTANT); }
|
||||
|
||||
"TYPE_INTEGER" { count(); yylval.ival = LST_INTEGER; return(INTEGER_CONSTANT); }
|
||||
"TYPE_FLOAT" { count(); yylval.ival = LST_FLOATINGPOINT; return(INTEGER_CONSTANT); }
|
||||
@@ -347,7 +351,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"REMOTE_DATA_REQUEST" { count(); yylval.ival = LSL_REMOTE_DATA_REQUEST; return(INTEGER_CONSTANT); }
|
||||
"REMOTE_DATA_REPLY" { count(); yylval.ival = LSL_REMOTE_DATA_REPLY; return(INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
"PSYS_PART_FLAGS" { count(); yylval.ival = LLPS_PART_FLAGS; return(INTEGER_CONSTANT); }
|
||||
"PSYS_PART_START_COLOR" { count(); yylval.ival = LLPS_PART_START_COLOR; return (INTEGER_CONSTANT); }
|
||||
"PSYS_PART_START_ALPHA" { count(); yylval.ival = LLPS_PART_START_ALPHA; return (INTEGER_CONSTANT); }
|
||||
@@ -357,7 +360,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"PSYS_PART_END_SCALE" { count(); yylval.ival = LLPS_PART_END_SCALE; return (INTEGER_CONSTANT); }
|
||||
"PSYS_PART_MAX_AGE" { count(); yylval.ival = LLPS_PART_MAX_AGE; return (INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
"PSYS_PART_WIND_MASK" { count(); yylval.ival = LLPartData::LL_PART_WIND_MASK; return(INTEGER_CONSTANT); }
|
||||
"PSYS_PART_INTERP_COLOR_MASK" { count(); yylval.ival = LLPartData::LL_PART_INTERP_COLOR_MASK; return(INTEGER_CONSTANT); }
|
||||
"PSYS_PART_INTERP_SCALE_MASK" { count(); yylval.ival = LLPartData::LL_PART_INTERP_SCALE_MASK; return(INTEGER_CONSTANT); }
|
||||
@@ -368,7 +370,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"PSYS_PART_EMISSIVE_MASK" { count(); yylval.ival = LLPartData::LL_PART_EMISSIVE_MASK; return(INTEGER_CONSTANT); }
|
||||
"PSYS_PART_TARGET_LINEAR_MASK" { count(); yylval.ival = LLPartData::LL_PART_TARGET_LINEAR_MASK; return(INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
"PSYS_SRC_MAX_AGE" { count(); yylval.ival = LLPS_SRC_MAX_AGE; return(INTEGER_CONSTANT); }
|
||||
"PSYS_SRC_PATTERN" { count(); yylval.ival = LLPS_SRC_PATTERN; return(INTEGER_CONSTANT); }
|
||||
"PSYS_SRC_INNERANGLE" { count(); yylval.ival = LLPS_SRC_INNERANGLE; return(INTEGER_CONSTANT); }
|
||||
@@ -393,7 +394,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"PSYS_SRC_PATTERN_ANGLE_CONE" { count(); yylval.ival = LLPartSysData::LL_PART_SRC_PATTERN_ANGLE_CONE; return(INTEGER_CONSTANT); }
|
||||
"PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY" { count(); yylval.ival = LLPartSysData::LL_PART_SRC_PATTERN_ANGLE_CONE_EMPTY; return(INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
"VEHICLE_TYPE_NONE" { count(); yylval.ival = VEHICLE_TYPE_NONE; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_TYPE_SLED" { count(); yylval.ival = VEHICLE_TYPE_SLED; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_TYPE_CAR" { count(); yylval.ival = VEHICLE_TYPE_CAR; return(INTEGER_CONSTANT); }
|
||||
@@ -408,8 +408,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"VEHICLE_ANGULAR_MOTOR_DIRECTION" { count(); yylval.ival = VEHICLE_ANGULAR_MOTOR_DIRECTION; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_LINEAR_MOTOR_OFFSET" { count(); yylval.ival = VEHICLE_LINEAR_MOTOR_OFFSET; return(INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
|
||||
"VEHICLE_HOVER_HEIGHT" { count(); yylval.ival = VEHICLE_HOVER_HEIGHT; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_HOVER_EFFICIENCY" { count(); yylval.ival = VEHICLE_HOVER_EFFICIENCY; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_HOVER_TIMESCALE" { count(); yylval.ival = VEHICLE_HOVER_TIMESCALE; return(INTEGER_CONSTANT); }
|
||||
@@ -444,8 +442,6 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"VEHICLE_FLAG_MOUSELOOK_BANK" { count(); yylval.ival = VEHICLE_FLAG_MOUSELOOK_BANK; return(INTEGER_CONSTANT); }
|
||||
"VEHICLE_FLAG_CAMERA_DECOUPLED" { count(); yylval.ival = VEHICLE_FLAG_CAMERA_DECOUPLED; return(INTEGER_CONSTANT); }
|
||||
|
||||
|
||||
|
||||
"PRIM_TYPE" { count(); yylval.ival = LSL_PRIM_TYPE; return(INTEGER_CONSTANT); }
|
||||
"PRIM_MATERIAL" { count(); yylval.ival = LSL_PRIM_MATERIAL; return(INTEGER_CONSTANT); }
|
||||
"PRIM_PHYSICS" { count(); yylval.ival = LSL_PRIM_PHYSICS; return(INTEGER_CONSTANT); }
|
||||
@@ -463,6 +459,15 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"PRIM_FULLBRIGHT" { count(); yylval.ival = LSL_PRIM_FULLBRIGHT; return(INTEGER_CONSTANT); }
|
||||
"PRIM_TEXGEN" { count(); yylval.ival = LSL_PRIM_TEXGEN; return(INTEGER_CONSTANT); }
|
||||
"PRIM_GLOW" { count(); yylval.ival = LSL_PRIM_GLOW; return(INTEGER_CONSTANT); }
|
||||
"PRIM_TEXT" { count(); yylval.ival = LSL_PRIM_TEXT; return(INTEGER_CONSTANT); }
|
||||
"PRIM_NAME" { count(); yylval.ival = LSL_PRIM_NAME; return(INTEGER_CONSTANT); }
|
||||
"PRIM_DESC" { count(); yylval.ival = LSL_PRIM_DESC; return(INTEGER_CONSTANT); }
|
||||
"PRIM_ROT_LOCAL" { count(); yylval.ival = LSL_PRIM_ROT_LOCAL; return(INTEGER_CONSTANT); }
|
||||
"PRIM_PHYSICS_SHAPE_TYPE" { count(); yylval.ival = LSL_PRIM_PHYSICS_SHAPE_TYPE; return(INTEGER_CONSTANT); }
|
||||
"PRIM_OMEGA" { count(); yylval.ival = LSL_PRIM_OMEGA; return(INTEGER_CONSTANT); }
|
||||
"PRIM_POS_LOCAL" { count(); yylval.ival = LSL_PRIM_POS_LOCAL; return(INTEGER_CONSTANT); }
|
||||
"PRIM_LINK_TARGET" { count(); yylval.ival = LSL_PRIM_LINK_TARGET; return(INTEGER_CONSTANT); }
|
||||
"PRIM_SLICE" { count(); yylval.ival = LSL_PRIM_SLICE; return(INTEGER_CONSTANT); }
|
||||
|
||||
"PRIM_TYPE_BOX" { count(); yylval.ival = LSL_PRIM_TYPE_BOX; return(INTEGER_CONSTANT); }
|
||||
"PRIM_TYPE_CYLINDER" { count(); yylval.ival = LSL_PRIM_TYPE_CYLINDER; return(INTEGER_CONSTANT); }
|
||||
@@ -522,6 +527,15 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"PRIM_SCULPT_FLAG_MIRROR" { count(); yylval.ival = LSL_PRIM_SCULPT_FLAG_MIRROR; return(INTEGER_CONSTANT); }
|
||||
"PRIM_SCULPT_FLAG_INVERT" { count(); yylval.ival = LSL_PRIM_SCULPT_FLAG_INVERT; return(INTEGER_CONSTANT); }
|
||||
|
||||
"PRIM_PHYSICS_SHAPE_PRIM" { count(); yylval.ival = LSL_PRIM_PHYSICS_SHAPE_PRIM; return(INTEGER_CONSTANT); }
|
||||
"PRIM_PHYSICS_SHAPE_NONE" { count(); yylval.ival = LSL_PRIM_PHYSICS_SHAPE_NONE; return(INTEGER_CONSTANT); }
|
||||
"PRIM_PHYSICS_SHAPE_CONVEX" { count(); yylval.ival = LSL_PRIM_PHYSICS_SHAPE_CONVEX; return(INTEGER_CONSTANT); }
|
||||
|
||||
"DENSITY" { count(); yylval.ival = LSL_DENSITY; return(INTEGER_CONSTANT); }
|
||||
"FRICTION" { count(); yylval.ival = LSL_FRICTION; return(INTEGER_CONSTANT); }
|
||||
"RESTITUTION" { count(); yylval.ival = LSL_RESTITUTION; return(INTEGER_CONSTANT); }
|
||||
"GRAVITY_MULTIPLIER" { count(); yylval.ival = LSL_GRAVITY_MULTIPLIER; return(INTEGER_CONSTANT); }
|
||||
|
||||
"MASK_BASE" { count(); yylval.ival = 0; return(INTEGER_CONSTANT); }
|
||||
"MASK_OWNER" { count(); yylval.ival = 1; return(INTEGER_CONSTANT); }
|
||||
"MASK_GROUP" { count(); yylval.ival = 2; return(INTEGER_CONSTANT); }
|
||||
@@ -595,6 +609,7 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"HTTP_BODY_MAXLENGTH" { count(); yylval.ival = HTTP_BODY_MAXLENGTH; return(INTEGER_CONSTANT); }
|
||||
"HTTP_BODY_TRUNCATED" { count(); yylval.ival = HTTP_BODY_TRUNCATED; return(INTEGER_CONSTANT); }
|
||||
"HTTP_VERIFY_CERT" { count(); yylval.ival = HTTP_VERIFY_CERT; return(INTEGER_CONSTANT); }
|
||||
"HTTP_VERBOSE_THROTTLE" { count(); yylval.ival = HTTP_VERBOSE_THROTTLE; return(INTEGER_CONSTANT); }
|
||||
|
||||
"PARCEL_COUNT_TOTAL" { count(); yylval.ival = OC_TOTAL; return(INTEGER_CONSTANT); }
|
||||
"PARCEL_COUNT_OWNER" { count(); yylval.ival = OC_OWNER; return(INTEGER_CONSTANT); }
|
||||
@@ -675,6 +690,54 @@ extern "C" { int yyerror(const char *fmt, ...); }
|
||||
"STATUS_INTERNAL_ERROR" { count(); yylval.ival = LSL_STATUS_INTERNAL_ERROR; return(INTEGER_CONSTANT); }
|
||||
"STATUS_WHITELIST_FAILED" { count(); yylval.ival = LSL_STATUS_WHITELIST_FAILED; return(INTEGER_CONSTANT); }
|
||||
|
||||
"PROFILE_SCRIPT_NONE" { count(); yylval.ival = LSL_PROFILE_SCRIPT_NONE; return(INTEGER_CONSTANT); }
|
||||
"PROFILE_SCRIPT_MEMORY" { count(); yylval.ival = LSL_PROFILE_SCRIPT_MEMORY; return(INTEGER_CONSTANT); }
|
||||
|
||||
"CONTENT_TYPE_TEXT" { count(); yylval.ival = LSL_CONTENT_TYPE_TEXT; return(INTEGER_CONSTANT); }
|
||||
"CONTENT_TYPE_HTML" { count(); yylval.ival = LSL_CONTENT_TYPE_HTML; return(INTEGER_CONSTANT); }
|
||||
|
||||
"RCERR_UNKNOWN" { count(); yylval.ival = LSL_RCERR_UNKNOWN; return(INTEGER_CONSTANT); }
|
||||
"RCERR_SIM_PERF_LOW" { count(); yylval.ival = LSL_RCERR_SIM_PERF_LOW; return(INTEGER_CONSTANT); }
|
||||
"RCERR_CAST_TIME_EXCEEDED" { count(); yylval.ival = LSL_RCERR_CAST_TIME_EXCEEDED; return(INTEGER_CONSTANT); }
|
||||
|
||||
"RC_REJECT_TYPES" { count(); yylval.ival = LSL_RC_REJECT_TYPES; return(INTEGER_CONSTANT); }
|
||||
"RC_DETECT_PHANTOM" { count(); yylval.ival = LSL_RC_DETECT_PHANTOM; return(INTEGER_CONSTANT); }
|
||||
"RC_DATA_FLAGS" { count(); yylval.ival = LSL_RC_DATA_FLAGS; return(INTEGER_CONSTANT); }
|
||||
"RC_MAX_HITS" { count(); yylval.ival = LSL_RC_MAX_HITS; return(INTEGER_CONSTANT); }
|
||||
|
||||
"RC_REJECT_AGENTS" { count(); yylval.ival = LSL_RC_REJECT_AGENTS; return(INTEGER_CONSTANT); }
|
||||
"RC_REJECT_PHYSICAL" { count(); yylval.ival = LSL_RC_REJECT_PHYSICAL; return(INTEGER_CONSTANT); }
|
||||
"RC_REJECT_NONPHYSICAL" { count(); yylval.ival = LSL_RC_REJECT_NONPHYSICAL; return(INTEGER_CONSTANT); }
|
||||
"RC_REJECT_LAND" { count(); yylval.ival = LSL_RC_REJECT_LAND; return(INTEGER_CONSTANT); }
|
||||
|
||||
"RC_GET_NORMAL" { count(); yylval.ival = LSL_RC_GET_NORMAL; return(INTEGER_CONSTANT); }
|
||||
"RC_GET_ROOT_KEY" { count(); yylval.ival = LSL_RC_GET_ROOT_KEY; return(INTEGER_CONSTANT); }
|
||||
"RC_GET_LINK_NUM" { count(); yylval.ival = LSL_RC_GET_LINK_NUM; return(INTEGER_CONSTANT); }
|
||||
|
||||
"ESTATE_ACCESS_ALLOWED_AGENT_ADD" { count(); yylval.ival = LSL_ESTATE_ACCESS_ALLOWED_AGENT_ADD; return(INTEGER_CONSTANT); }
|
||||
"ESTATE_ACCESS_ALLOWED_AGENT_REMOVE" { count(); yylval.ival = LSL_ESTATE_ACCESS_ALLOWED_AGENT_REMOVE; return(INTEGER_CONSTANT); }
|
||||
"ESTATE_ACCESS_ALLOWED_GROUP_ADD" { count(); yylval.ival = LSL_ESTATE_ACCESS_ALLOWED_GROUP_ADD; return(INTEGER_CONSTANT); }
|
||||
"ESTATE_ACCESS_ALLOWED_GROUP_REMOVE" { count(); yylval.ival = LSL_ESTATE_ACCESS_ALLOWED_GROUP_REMOVE; return(INTEGER_CONSTANT); }
|
||||
"ESTATE_ACCESS_BANNED_AGENT_ADD" { count(); yylval.ival = LSL_ESTATE_ACCESS_BANNED_AGENT_ADD; return(INTEGER_CONSTANT); }
|
||||
"ESTATE_ACCESS_BANNED_AGENT_REMOVE" { count(); yylval.ival = LSL_ESTATE_ACCESS_BANNED_AGENT_REMOVE; return(INTEGER_CONSTANT); }
|
||||
|
||||
"KFM_COMMAND" { count(); yylval.ival = LSL_KFM_COMMAND; return(INTEGER_CONSTANT); }
|
||||
"KFM_MODE" { count(); yylval.ival = LSL_KFM_MODE; return(INTEGER_CONSTANT); }
|
||||
"KFM_DATA" { count(); yylval.ival = LSL_KFM_DATA; return(INTEGER_CONSTANT); }
|
||||
"KFM_FORWARD" { count(); yylval.ival = LSL_KFM_FORWARD; return(INTEGER_CONSTANT); }
|
||||
"KFM_LOOP" { count(); yylval.ival = LSL_KFM_LOOP; return(INTEGER_CONSTANT); }
|
||||
"KFM_PING_PONG" { count(); yylval.ival = LSL_KFM_PING_PONG; return(INTEGER_CONSTANT); }
|
||||
"KFM_REVERSE" { count(); yylval.ival = LSL_KFM_REVERSE; return(INTEGER_CONSTANT); }
|
||||
"KFM_ROTATION" { count(); yylval.ival = LSL_KFM_ROTATION; return(INTEGER_CONSTANT); }
|
||||
"KFM_TRANSLATION" { count(); yylval.ival = LSL_KFM_TRANSLATION; return(INTEGER_CONSTANT); }
|
||||
"KFM_CMD_PLAY" { count(); yylval.ival = LSL_KFM_CMD_PLAY; return(INTEGER_CONSTANT); }
|
||||
"KFM_CMD_STOP" { count(); yylval.ival = LSL_KFM_CMD_STOP; return(INTEGER_CONSTANT); }
|
||||
"KFM_CMD_PAUSE" { count(); yylval.ival = LSL_KFM_CMD_PAUSE; return(INTEGER_CONSTANT); }
|
||||
|
||||
"AGENT_LIST_PARCEL" { count(); yylval.ival = 1; return(INTEGER_CONSTANT); }
|
||||
"AGENT_LIST_PARCEL_OWNER" { count(); yylval.ival = 2; return(INTEGER_CONSTANT); }
|
||||
"AGENT_LIST_REGION" { count(); yylval.ival = 4; return(INTEGER_CONSTANT); }
|
||||
|
||||
{L}({L}|{N})* { count(); yylval.sval = new char[strlen(yytext) + 1]; strcpy(yylval.sval, yytext); return(IDENTIFIER); }
|
||||
|
||||
{N}+{E} { count(); yylval.fval = (F32)atof(yytext); return(FP_CONSTANT); }
|
||||
|
||||
@@ -40,7 +40,8 @@ enum LLScriptHTTPRequestParameterKey
|
||||
HTTP_METHOD,
|
||||
HTTP_MIMETYPE,
|
||||
HTTP_BODY_MAXLENGTH,
|
||||
HTTP_VERIFY_CERT
|
||||
HTTP_VERIFY_CERT,
|
||||
HTTP_VERBOSE_THROTTLE
|
||||
};
|
||||
|
||||
enum LLScriptHTTPResponseMetadataKey
|
||||
|
||||
@@ -469,102 +469,109 @@ void LLScriptLibrary::init()
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetEnv", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "llRegionSayTo", NULL, "kis");
|
||||
|
||||
// energy, sleep, dummy_func, name, return type, parameters, help text, gods-only
|
||||
|
||||
// Adding missing (more recent) LSL functions.
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "llCastRay", "l", "vvl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetSPMaxMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetUsedMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGodLikeRezObject", NULL, "kv");
|
||||
addFunction(10.f, 0.f, dummy_func, "llScriptProfiler", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetInventoryPermMask", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetObjectPermMask", NULL, "ii");
|
||||
// Even more recent
|
||||
// Server v11.08.10.238207 new functions:
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetMemoryLimit", "i", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetMemoryLimit", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetLinkMedia", "i", "iil");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetLinkMedia", "l", "iil");
|
||||
addFunction(10.f, 0.f, dummy_func, "llClearLinkMedia", "i", "ii");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetLinkCamera", NULL, "ivv");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetContentType", NULL, "ki");
|
||||
addFunction(10.f, 0.f, dummy_func, "llLinkSitTarget", NULL, "ivr");
|
||||
addFunction(10.f, 0.f, dummy_func, "llLinkSitTarget", NULL, "ivq");
|
||||
addFunction(10.f, 0.f, dummy_func, "llAvatarOnLinkSitTarget", "k", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetMassMKS", "f", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetMemoryLimit", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetParcelMusicURL", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetPhysicsMaterial", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llManageEstateAccess", "i", "ik");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetAngularVelocity", NULL, "vi");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetKeyframedMotion", NULL, "ll");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetPhysicsMaterial", NULL, "iffff");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetRegionPos", "i", "v");
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetVelocity", NULL, "vi");
|
||||
// Server v11.09.09.240509 new functions:
|
||||
addFunction(10.f, 0.f, dummy_func, "llCastRay", "l", "vvl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetMassMKS", "f", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetPhysicsMaterial", NULL, "iffff");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetPhysicsMaterial", "l", NULL);
|
||||
// Server v11.10.18.243270 new functions:
|
||||
addFunction(10.f, 0.f, dummy_func, "llManageEstateAccess", "i", "ik");
|
||||
// Server RC magnum v11.10.31.244254 new function:
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetKeyframedMotion", NULL, "ll");
|
||||
// Server RC Le Tigre v11.10.30.245889 new function:
|
||||
addFunction(10.f, 0.f, dummy_func, "llTransferLindenDollars", "k", "ki");
|
||||
|
||||
// llGenerateKey officially implemented now added
|
||||
addFunction(10.f, 0.f, dummy_func, "llGenerateKey", "k", NULL);
|
||||
|
||||
//Pathfinder functions. Current state: alpha, thus subject to change.
|
||||
//This and the preceding line are to be removed in future revisions of this file.
|
||||
// Server new function 2011-12-13:
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetParcelMusicURL", "s", NULL);
|
||||
|
||||
// Missing script functions as of 2011-12-13
|
||||
addFunction(10.f, 0.f, dummy_func, "llScriptProfiler", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetSPMaxMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetUsedMemory", "i", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llSetAngularVelocity", NULL, "vi");
|
||||
|
||||
// Server 12.01.24.248357 new functions
|
||||
addFunction(0.f, 0.f, dummy_func, "llSetRegionPos", "i", "v");
|
||||
|
||||
// Server 12.04.13.253827 new function
|
||||
addFunction(0.f, 0.f, dummy_func, "llGetAgentList", "l", "il");
|
||||
|
||||
// Server RC Magnum 12.05.25.258071 new functions:
|
||||
addFunction(0.f, 0.f, dummy_func, "llAttachToAvatarTemp", NULL, "i");
|
||||
addFunction(0.f, 0.f, dummy_func, "llTeleportAgent", NULL, "ksvv");
|
||||
addFunction(0.f, 0.f, dummy_func, "llTeleportAgentGlobalCoords", NULL, "kvvv");
|
||||
|
||||
// Pathfinding functions
|
||||
addFunction(10.f, 0.f, dummy_func, "llCreateCharacter", NULL, "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "llDeleteCharacter", NULL, NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "llEvade", NULL, "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llExecCharacterCmd", NULL, "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetClosestNavPoint", "l", "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llFleeFrom", NULL, "vfl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetClosestNavPoint", NULL, "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llGetStaticPath", NULL, "vvfl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llNavigateTo", NULL, "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llPatrolPoints", NULL, "ll");
|
||||
addFunction(10.f, 0.f, dummy_func, "llPursue", NULL, "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llUpdateCharacter", NULL, "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "llWanderWithin", NULL, "vfl");
|
||||
addFunction(10.f, 0.f, dummy_func, "llWanderWithin", NULL, "vvl");
|
||||
|
||||
|
||||
|
||||
// REGARDING OSSL FUNCTIONS
|
||||
// SL-LSL Functions to be added above this line
|
||||
// ---------------------------------------------
|
||||
// NOTE bytecode placement no longer applies, viewers do not compile scripts anymore (confirmed with LL, also noted by Phoenix/Firestorm team.)
|
||||
// REGARDING NON SL-LSL FUNCTIONS (OSSL, aaFunctions, botFunctions)
|
||||
// These additions should be posted underneath the llFunctions
|
||||
// These functions pertain to OpenSimulator and are in no part applicable to SecondLife by Linden Labs
|
||||
// The Current State of these functions are in flux and development is ongoing. Not all the functions are presently
|
||||
// documented and therefore the description may be incomplete and require further attention.
|
||||
// OpenSimulator is written in C# and not CPP therefore some values for example "double = float" etc. are different.
|
||||
|
||||
// OSSL corrections and syntax additions added + set in same order as found in OSSL_stub.cs of OpenSim Source (Updated PM October-21-2010
|
||||
// based on OpenSimulator Ver. 0.7.x DEV/Master Git # a7acb650d400a280a7b9edabd304376dff9c81af - a7acb65-r/14142
|
||||
// fully documented and therefore the description may be incomplete and require further attention.
|
||||
// OpenSim & Aurora-Sim are written in C# and not CPP therefore some values for example "double = float" etc. are different.
|
||||
//
|
||||
// OSSL corrections and syntax additions added + set initially in same order as found in IOSSL_Api.cs of Aurora-Sim & OpenSim Source
|
||||
// updates added @ end of each subsection for update timeline maint.
|
||||
// Updates by WhiteStar Magic
|
||||
|
||||
// It should be noted though, that the order of OSSL functions is not important for correct functionality.
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionWaterHeight", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionSunSettings", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetEstateSunSettings", NULL, "if");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetCurrentSunHour", "f", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osSunGetParam","f", "s"); // Deprecated. Use osGetSunParam instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osSunSetParam", "sf", NULL); // Deprecated. Use osSetSunParam instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osWindActiveModelPluginName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelJoin", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelSubdivide", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelSetDetails", NULL, "vv"); // Deprecated. Use osSetParcelDetails instead.
|
||||
// addFunction(10.f, 0.f, dummy_func, "osWindParamSet", NULL, "ssf"); // This function was renamed before it was implemented. Leaving this in for now.
|
||||
// addFunction(10.f, 0.f, dummy_func, "osWindParamGet", "f", "ss"); // This function was renamed before it was implemented. Leaving this in for now.
|
||||
addFunction(10.f, 0.f, dummy_func, "osList2Double", "f", "li");
|
||||
//
|
||||
// OSSL Functions COMMON to OpenSim & Aurora-Sim
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURL", NULL, "ksssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureData", NULL, "ksssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlend", NULL, "ksssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlend", NULL, "ksssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureURLBlendFace", NULL, "ksssfiiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureData", NULL, "ksssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlend", NULL, "ksssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetDynamicTextureDataBlendFace", NULL, "ksssfiiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainGetHeight", "f", "ii"); // Deprecated. Use osGetTerrainHeight instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainSetHeight", NULL, "iif"); // Deprecated. Use osSetTerrainHeight instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetTerrainHeight", "f", "ii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetTerrainHeight", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osTerrainFlush", NULL, NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osRegionRestart", "i", "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osRegionNotice",NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osConsoleCommand", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelMediaURL", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelSIPAddress", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPrimFloatOnWater", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "ksvv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelSIPAddress", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAgentIP", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAgents", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportAgent", NULL, "ksvv"); // Polymorphic
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportOwner", NULL, "svv"); // Polymorphic
|
||||
addFunction(10.f, 0.f, dummy_func, "osAvatarPlayAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osAvatarStopAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osForceAttachToAvatar", NULL, "i"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osForceDetachFromAvatar", NULL, NULL); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osMovePen", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "siiii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawLine", NULL, "siiii"); // Polymorphic
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawText", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawEllipse", NULL, "sii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawRectangle", NULL, "sii");
|
||||
@@ -574,14 +581,27 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetFontSize", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetFontName", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenSize", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenColor", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenCap", NULL, "sss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenColour", NULL, "ss"); // Deprecated. Use osSetPenColor instead
|
||||
addFunction(10.f, 0.f, dummy_func, "osDrawImage", NULL, "siis");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetDrawStringSize", "v", "sssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetStateEvents", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osList2Double", "f", "li");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionWaterHeight", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRegionSunSettings", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetEstateSunSettings", NULL, "if");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetCurrentSunHour", "f", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSunParam","f", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetSunParam", "sf", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osWindActiveModelPluginName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetWindParam", NULL, "ssf");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetWindParam", "f", "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelJoin", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParcelSubdivide", NULL, "vv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelDetails", NULL, "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetScriptEngineName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSimulatorVersion", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osParseJSON", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osParseJSONNew", "s", "s"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osMessageObject", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMakeNotecard", NULL, "sl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetNotecardLine", "s", "si");
|
||||
@@ -592,16 +612,16 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridNick", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridName", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridLoginURI", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridHomeURI","s",NULL); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridGatekeeperURI", "s", "NULL"); //mar.11.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridCustom","s","k"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osFormatString", "s", "sl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osMatchString", "l", "ssi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osReplaceString", "s", "sssi"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationDate", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationTime", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osLoadedCreationID", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetLinkPrimitiveParams", "l", "il");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcCreate", "k", "ssvk");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcMoveTo", NULL, "kv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcRemove", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetMapTexture", "k", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetRegionMapTexture", "k", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetRegionStats", "l", NULL);
|
||||
@@ -613,52 +633,105 @@ void LLScriptLibrary::init()
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetPrimitiveParams", "l", "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPrimitiveParams", NULL, "kl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetProjectionParams", NULL, "kikfff");
|
||||
addFunction(10.f, 0.f, dummy_func, "osUnixTimeToTimestamp", "s", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetPenColor", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetSunParam","f", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetSunParam", NULL, "sf");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetParcelDetails", NULL, "vl");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetTerrainHeight", "f", "ii");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetTerrainHeight", NULL, "iif");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetAvatarList", "l", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osTeleportOwner", NULL, "svv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetWindParam","f", "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetWindParam", NULL, "ssf");
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "osUnixTimeToTimestamp", "s", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetInventoryDesc", "s", "s"); //mar.17.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osInviteToGroup", "i", "k"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osEjectFromGroup", "i", "k"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetTerrainTexture", NULL, "ik"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetTerrainTextureHeight", NULL, "iff"); // May.03.2012
|
||||
|
||||
// LightShare functions
|
||||
//
|
||||
// OSSL Functions OpenSim Unique
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetStateEvents", NULL, "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "osIsNpc","i","k"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcCreate", "k", "ssvk");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSaveAppearance", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcLoadAppearance", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetPos","k","k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcMoveTo", NULL, "kv");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcMoveToTarget", NULL, "kvi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetOwner","k","k"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetRot", "r", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSetRot", NULL, "kr");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStopMoveToTarget", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSay", NULL, "kis"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSit", NULL, "kki");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStand", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcRemove", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcPlayAnimation",NULL,"ks"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStopAnimation",NULL,"ks"); // mar.5.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osOwnerSaveAppearance", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osAgentSaveAppearance", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcShout", NULL, "kis"); // May.03.2012
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcWhisper", NULL, "kis"); // May.03.2012
|
||||
//
|
||||
// OSSL Functions Aurora-Sim Unique
|
||||
addFunction(10.f, 0.f, dummy_func, "osReturnObject", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osReturnObjects", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "osShutDown", NULL, NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osAddAgentToGroup", NULL, "kss");
|
||||
addFunction(10.f, 0.f, dummy_func, "osRezObject", NULL, "svvriiiii");
|
||||
//
|
||||
// LightShare functions (Careminster Variant)
|
||||
addFunction(10.f, 0.f, dummy_func, "cmSetWindlightScene", "i", "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "cmSetWindlightSceneTargeted", "i", "lk");
|
||||
addFunction(10.f, 0.f, dummy_func, "cmGetWindlightScene", "l", "l");
|
||||
// LightShare functions - alternate versions
|
||||
// don't ask me why they renamed 'em, but we need to include both versions -- MC
|
||||
// LightShare functions - alternate versions (os & aa variant)
|
||||
addFunction(10.f, 0.f, dummy_func, "lsSetWindlightScene", "i", "l");
|
||||
addFunction(10.f, 0.f, dummy_func, "lsSetWindlightSceneTargeted", "i", "lk");
|
||||
addFunction(10.f, 0.f, dummy_func, "lsGetWindlightScene", "l", "l");
|
||||
|
||||
// New OSSL functions 08-10-2011
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSaveAppearance", "k", "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcLoadAppearance", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcMoveToTarget", NULL, "kvi");
|
||||
addFunction(10.f, 0.f, dummy_func, "osOwnerSaveAppearance", "k", "s");
|
||||
|
||||
// More new stuffs
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetRot", "r", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSetRot", NULL, "kr");
|
||||
addFunction(10.f, 0.f, dummy_func, "osAgentSaveAppearance", "k", "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetPos", "v", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStopMoveToTarget", NULL, "k");
|
||||
|
||||
addFunction(10.f, 0.f, dummy_func, "osIsNpc", "i", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcGetOwner", "k", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridCustom", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "osGetGridHomeURI", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcPlayAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcSit", NULL, "kki");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStand", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "osNpcStopAnimation", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "osSetRot", NULL, "kq");
|
||||
|
||||
//
|
||||
// aaFunctions Aurora-Sim ONLY
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSetCloudDensity", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaUpdateDatabase", NULL, "sss");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaQueryDatabase", "l", "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaDeserializeXMLValues", "l", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaDeserializeXMLKeys","l", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSetConeOfSilence", NULL, "f");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSerializeXML", "s", "ll");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetTeam", "s", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetHealth", "f", "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaJoinCombat", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaLeaveCombat", NULL, "k");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaJoinCombatTeam", NULL, "ks");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaRequestCombatPermission", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaThawAvatar", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaFreezeAvatar", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetTeamMembers", "l", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetLastOwner", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSayDistance", NULL, "ifs");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSayTo", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetWalkDisabled ", "i", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSetWalkDisabled", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetFlyDisabled ", "i", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSetFlyDisabled", NULL, "sf");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaAvatarFullName2Key ", "s", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaRaiseError", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetText ", "s", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetTextColor ", "r", NULL);
|
||||
addFunction(10.f, 0.f, dummy_func, "aaSetEnv ", NULL, "sl");
|
||||
addFunction(10.f, 0.f, dummy_func, "aaGetIsInfiniteRegion", "i", NULL);
|
||||
// botFunctions Aurora-Sim ONLY
|
||||
addFunction(10.f, 0.f, dummy_func, "botGetWaitingTime", "v", "i");
|
||||
addFunction(10.f, 0.f, dummy_func, "botSetMap", NULL, "slii");
|
||||
addFunction(10.f, 0.f, dummy_func, "botCreateBot", "s", "sssv");
|
||||
addFunction(10.f, 0.f, dummy_func, "botRemoveBot", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botPauseMovement", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botResumeMovement", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botFollowAvatar", NULL, "ssff");
|
||||
addFunction(10.f, 0.f, dummy_func, "botStopFollowAvatar", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botSendChatMessage", NULL, "ssii");
|
||||
addFunction(10.f, 0.f, dummy_func, "botSendIM",NULL,"sss");
|
||||
addFunction(10.f, 0.f, dummy_func, "botSetShouldFly", NULL, "si");
|
||||
addFunction(10.f, 0.f, dummy_func, "botSitObject", NULL, "ssv");
|
||||
addFunction(10.f, 0.f, dummy_func, "botStandUp", NULL, "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botTouchObject", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "botAddTag", NULL, "ss");
|
||||
addFunction(10.f, 0.f, dummy_func, "botGetBotsWithTag", "l", "s");
|
||||
addFunction(10.f, 0.f, dummy_func, "botRemoveBotsWithTag", NULL, "s");
|
||||
// energy, sleep, dummy_func, name, return type, parameters
|
||||
}
|
||||
|
||||
LLScriptLibraryFunction::LLScriptLibraryFunction(F32 eu, F32 st, void (*exec_func)(LLScriptLibData *, LLScriptLibData *, const LLUUID &), const char *name, const char *ret_type, const char *args, BOOL god_only)
|
||||
|
||||
@@ -14,7 +14,7 @@ key Key type. Use NULL_KEY to test for empty keys
|
||||
vector Vector type of 3 floats. Used to represent 3D motion, Euler angles, and color.:Access components by .x, .y. or .z
|
||||
rotation Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y., .z, or .w
|
||||
list List of various data types
|
||||
quaternion Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y, .z, or .w
|
||||
quaternion Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y, .z, or .w
|
||||
|
||||
# events
|
||||
[word 0, .3, .5]
|
||||
@@ -52,7 +52,7 @@ changed changed( integer change ):Triggered various event change the task:(tes
|
||||
remote_data remote_data(integer event_type, key channel, key message_id, string sender,integer idata, string sdata):Triggered by various XML-RPC calls (event_type will be one of REMOTE_DATA_CHANNEL, REMOTE_DATA_REQUEST, REMOTE_DATA_REPLY)
|
||||
http_response http_response(key request_id, integer status, list metadata, string body):Triggered when task receives a response to one of its llHTTPRequests
|
||||
http_request http_request(key id, string method, string body):Triggered when task receives an http request against a public URL
|
||||
transaction_result transaction_result(key id, integer success, string data):Triggered when task receives asynchronous data.
|
||||
transaction_result transaction_result(key id, integer success, string data):Triggered when task receives asynchronous data.
|
||||
path_update path_update(integer type, list reserved):Triggered when the state of a pathfinder character changes. Note; "list reserved" is not currently used
|
||||
|
||||
# integer constants
|
||||
@@ -70,9 +70,10 @@ STATUS_BLOCK_GRAB_OBJECT This status flag keeps the object from being moved by g
|
||||
STATUS_DIE_AT_EDGE Passed in the llSetStatus library function. If TRUE, objects that reach the edge of the world just die:rather than teleporting back to the owner
|
||||
STATUS_RETURN_AT_EDGE Passed in the llSetStatus library function. If TRUE, script rezzed objects that reach the edge of the world:are returned rather than killed:STATUS_RETURN_AT_EDGE trumps STATUS_DIE_AT_EDGE if both are set
|
||||
STATUS_CAST_SHADOWS Passed in the llSetStatus library function. If TRUE, object casts shadows on other objects
|
||||
|
||||
AGENT Passed in llSensor library function to look for other Agents; DEPRECATED: Use AGENT_BY_LEGACY_NAME
|
||||
AGENT_BY_USERNAME Passed in llSensor library function to look for other Agents by username
|
||||
AGENT_BY_LEGACY_NAME Passed in llSensor library function to look for other Agents by legacy name
|
||||
AGENT_BY_LEGACY_NAME Passed in llSensor library function to look for other Agents by legacy name
|
||||
AGENT_BY_USERNAME Passed in llSensor library function to look for other Agents by username
|
||||
ACTIVE Passed in llSensor library function to look for moving objects
|
||||
PASSIVE Passed in llSensor library function to look for objects that aren't moving
|
||||
SCRIPTED Passed in llSensor library function to look for scripted objects
|
||||
@@ -171,10 +172,10 @@ OBJECT_VELOCITY Used with llGetObjectDetails to get an object's velocity
|
||||
OBJECT_OWNER Used with llGetObjectDetails to get an object's owner's key. Will be NULL_KEY if group owned
|
||||
OBJECT_GROUP Used with llGetObjectDetails to get an object's group's key
|
||||
OBJECT_CREATOR Used with llGetObjectDetails to get an object's creator's key
|
||||
OBJECT_RUNNING_SCRIPT_COUNT Used with llGetObjectDetails to get an object's velocity.
|
||||
OBJECT_TOTAL_SCRIPT_COUNT Used with llGetObjectDetails to get an object's owner's key. Will be NULL_KEY if group owned.
|
||||
OBJECT_SCRIPT_MEMORY Used with llGetObjectDetails to get an object's group's key.
|
||||
OBJECT_SCRIPT_TIME Used with llGetObjectDetails to get an object's creator's key.
|
||||
OBJECT_RUNNING_SCRIPT_COUNT Gets the number of running scripts attached to the object or agent
|
||||
OBJECT_TOTAL_SCRIPT_COUNT Gets the number of scripts, both running and stopped, attached to the object or agent.
|
||||
OBJECT_SCRIPT_MEMORY Gets the total amount of script memory allocated to the object or agent, in bytes.
|
||||
OBJECT_SCRIPT_TIME Gets the total amount of average script CPU time used by the object or agent, in seconds.
|
||||
OBJECT_PRIM_EQUIVALENCE Gets the prim equivalence of the object.
|
||||
OBJECT_SERVER_COST Used with llGetObjectDetails to get the server cost.
|
||||
OBJECT_STREAMING_COST Used with llGetObjectDetails to get the streaming (download) cost.
|
||||
@@ -185,8 +186,8 @@ VEHICLE_TYPE_NONE Used with llSetVehicleType to turn off vehicle support
|
||||
VEHICLE_TYPE_SLED Used with llSetVehicleType to make a simple vehicle that bumps along the ground, and likes to move along its local x-axis
|
||||
VEHICLE_TYPE_CAR Used with llSetVehicleType to make a vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events
|
||||
VEHICLE_TYPE_BOAT Used with llSetVehicleType to make a vehicle that hovers over water with lots of friction and some angular deflection
|
||||
VEHICLE_TYPE_AIRPLANE Used with llSetVehicleType to make a vehicle that uses linear deflection for lift, and banking to turn, but doesn't hover
|
||||
VEHICLE_TYPE_BALLOON Used with llSetVehicleType to make a vehicle that uses hover, and friction, but doesn't use deflection
|
||||
VEHICLE_TYPE_AIRPLANE Used with llSetVehicleType to make a vehicle that uses linear deflection for lift, and banking to turn, but doesn't hover
|
||||
VEHICLE_TYPE_BALLOON Used with llSetVehicleType to make a vehicle that uses hover, and friction, but doesn't use deflection
|
||||
|
||||
VEHICLE_REFERENCE_FRAME Rotation of vehicle axes relative to local frame
|
||||
|
||||
@@ -289,14 +290,14 @@ ATTACH_LLLEG Passed to llAttachToAvatar to attach task to left lower leg
|
||||
ATTACH_BELLY Passed to llAttachToAvatar to attach task to belly
|
||||
ATTACH_LEFT_PEC Passed to llAttachToAvatar to attach task to left pectoral
|
||||
ATTACH_RIGHT_PEC Passed to llAttachToAvatar to attach task to right pectoral
|
||||
ATTACH_HUD_BOTTOM Passed to llAttachToAvatar to attach task to bottom hud area
|
||||
ATTACH_HUD_BOTTOM_LEFT Passed to llAttachToAvatar to attach task to bottom left hud area
|
||||
ATTACH_HUD_BOTTOM_RIGHT Passed to llAttachToAvatar to attach task to bottom right hud area
|
||||
ATTACH_HUD_CENTER_1 Passed to llAttachToAvatar to attach task to center 1 hud area
|
||||
ATTACH_HUD_CENTER_2 Passed to llAttachToAvatar to attach task to center 2 hud area
|
||||
ATTACH_HUD_TOP_RIGHT Passed to llAttachToAvatar to attach task to top right hud area
|
||||
ATTACH_HUD_TOP_CENTER Passed to llAttachToAvatar to attach task to top center hud area
|
||||
ATTACH_HUD_TOP_LEFT Passed to llAttachToAvatar to attach task to top left hud area
|
||||
ATTACH_HUD_CENTER_1 Passed to llAttachToAvatar to attach task to center 1 hud area
|
||||
ATTACH_HUD_BOTTOM_LEFT Passed to llAttachToAvatar to attach task to bottom left hud area
|
||||
ATTACH_HUD_BOTTOM Passed to llAttachToAvatar to attach task to bottom hud area
|
||||
ATTACH_HUD_BOTTOM_RIGHT Passed to llAttachToAvatar to attach task to bottom right hud area
|
||||
ATTACH_HUD_TOP_RIGHT Passed to llAttachToAvatar to attach task to top right hud area
|
||||
##The following attachment points exist only as numbers thus far, but will be ready when the time comes.
|
||||
#ATTACH_NECK Passed to llAttachToAvatar to attach task to neck
|
||||
#ATTACH_ROOT Passed to llAttachToAvatar to attach task to avatar center/root
|
||||
@@ -369,29 +370,28 @@ REMOTE_DATA_REPLY Value of event_type in remote_event if XML-RPC reply is receiv
|
||||
PRIM_NAME For primitive name (from server v1.40 onwards). Followed by a string.
|
||||
PRIM_DESC For primitive description (from server v1.40 onwards). Followed by a string.
|
||||
PRIM_TYPE Followed by PRIM_TYPE_BOX, PRIM_TYPE_CYLINDER, PRIM_TYPE_PRISM, PRIM_TYPE_SPHERE, PRIM_TYPE_TORUS, PRIM_TYPE_TUBE, or PRIM_TYPE_SCULPT and their arguments
|
||||
PRIM_SLICE Get and set the 'slice' parameter of all shapes. Takes a vector parameter of the form <start_slice, end_slice, 0>
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_MATERIAL Followed by PRIM_MATERIAL_STONE, PRIM_MATERIAL_METAL, PRIM_MATERIAL_GLASS, PRIM_MATERIAL_WOOD, PRIM_MATERIAL_FLESH, PRIM_MATERIAL_PLASTIC, or PRIM_MATERIAL_RUBBER
|
||||
PRIM_PHYSICS Sets physics to TRUE or FALSE
|
||||
PRIM_FLEXIBLE Followed by TRUE or FALSE, integer softness, float gravity, float friction, float wind, float tension, and vector force
|
||||
PRIM_POINT_LIGHT Followed by TRUE or FALSE, vector color, float intensity, float radius, float falloff
|
||||
PRIM_TEMP_ON_REZ Sets temporay on rez to TRUE or FALSE
|
||||
PRIM_TEMP_ON_REZ Sets temporary on rez to TRUE or FALSE
|
||||
PRIM_PHANTOM Sets phantom to TRUE or FALSE
|
||||
PRIM_CAST_SHADOWS DEPRECATED. Takes 1 parameter, an integer, but has no effect when set and always returns 0 if used in llGetPrimitiveParams
|
||||
PRIM_POSITION Sets primitive position to a vector position
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_SIZE Sets primitive size to a vector size
|
||||
PRIM_ROTATION Sets primitive rotation
|
||||
PRIM_ROT_LOCAL Sets the prim's local rotation
|
||||
PRIM_TEXT Used to get or set the object's floating text.
|
||||
PRIM_TEXTURE Followed by an integer face, key id, vector repeats, vector offsets,:and float rotation in radians
|
||||
PRIM_TEXT For primitive hovertext. Followed by a string, a vector color and a float alpha
|
||||
PRIM_COLOR Followed by an integer face, vector color, and float alpha
|
||||
PRIM_BUMP_SHINY Followed by an integer face, one of PRIM_SHINY_NONE, PRIM_SHINY_LOW,:PRIM_SHINY_MEDIUM, or PRIM_SHINY_HIGH,:and one of PRIM_BUMP_NONE, PRIM_BUMP_BRIGHT, PRIM_BUMP_DARK, etc
|
||||
PRIM_FULLBRIGHT Followed by an integer face, and TRUE or FALSE
|
||||
PRIM_TEXGEN Followed by an integer face, and one of PRIM_TEXGEN_DEFAULT or PRIM_TEXGEN_PLANAR
|
||||
PRIM_GLOW Followed by an integer face, and a float from 0.0 to 1.0 specifying glow amount
|
||||
PRIM_OMEGA Makes the object spin at the specified axis and rate
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_ROT_LOCAL Sets the prim's local rotation
|
||||
PRIM_OMEGA Makes the object spin at the specified axis and rate
|
||||
PRIM_LINK_TARGET Used to get or set multiple links with a single PrimParameters call
|
||||
PRIM_SLICE Get and set the 'slice' parameter of all shapes. Takes a vector parameter of the form <start_slice, end_slice, 0>
|
||||
|
||||
PROFILE_NONE Disables profiling
|
||||
PROFILE_SCRIPT_MEMORY Enables memory profiling
|
||||
@@ -454,9 +454,10 @@ PRIM_SCULPT_TYPE_MASK Mask used to determine stitching type
|
||||
PRIM_SCULPT_FLAG_INVERT Flag to specify that the surface normals should be inverted
|
||||
PRIM_SCULPT_FLAG_MIRROR Flag to specify that the prim should be reflected along X axis
|
||||
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_PHYSICS_SHAPE_PRIM Use the normal prim shape for physics (this is the default for all non-mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
PRIM_PHYSICS_SHAPE_NONE Use the convex hull of the prim shape for physics (this is the default for mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
|
||||
MASK_BASE Base permissions
|
||||
MASK_OWNER Owner permissions
|
||||
@@ -526,19 +527,13 @@ REGION_FLAG_BLOCK_FLY Used with llGetRegionFlags to find if a region blocks f
|
||||
REGION_FLAG_ALLOW_DIRECT_TELEPORT Used with llGetRegionFlags to find if a region allows direct teleports
|
||||
REGION_FLAG_RESTRICT_PUSHOBJECT Used with llGetRegionFlags to find if a region restricts llPushObject() calls
|
||||
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Used with llManageEstateAccess to add a group to this estate's allowed groups list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Used with llManageEstateAccess to remove a group from this estate's allowed groups list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's banned residents list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's banned residents list.
|
||||
|
||||
HTTP_METHOD Used with llHTTPRequest to specify the method, "GET", "POST", "PUT", or "DELETE"
|
||||
HTTP_MIMETYPE Used with llHTTPRequest to specify the MIME type, defaults to "text/plain"
|
||||
HTTP_BODY_MAXLENGTH Used with llHTTPRequest to specify the maximum response body to return
|
||||
HTTP_VERIFY_CERT Used with llHTTPRequest to specify SSL certificate verification
|
||||
HTTP_BODY_TRUNCATED Used with http_response to indicate truncation point in bytes
|
||||
HTTP_VERBOSE_THROTTLE Used with llHTTPRequest to shout error messages to DEBUG_CHANNEL if the outgoing request rate exceeds the server limit.
|
||||
HTTP_BODY_MAXLENGTH Used with llHTTPRequest to specify the maximum body size for the date returned from the request. Mono scripts can request from 1byte to 16k, non-mono scripts can request from 1byte to 4k. The default is 2k.
|
||||
|
||||
PARCEL_COUNT_TOTAL Used with llGetParcelPrimCount to get the total number of prims on the parcel
|
||||
PARCEL_COUNT_OWNER Used with llGetParcelPrimCount to get the number of prims on the parcel owned by the owner
|
||||
@@ -613,7 +608,132 @@ STATUS_NOT_SUPPORTED Feature not supported
|
||||
STATUS_INTERNAL_ERROR An internal error occurred
|
||||
STATUS_WHITELIST_FAILED URL failed to pass whitelist
|
||||
|
||||
# windlight constants
|
||||
RC_DATA_FLAGS Option for llCastRay() followed with a bitwise combination of RC_GET_NORMAL, RC_GET_ROOT_KEY and RC_GET_LINK_NUM.
|
||||
RC_DETECT_PHANTOM Option for llCastRay() followed with TRUE to detect phantom AND volume detect objects, FASLE otherwise.
|
||||
RC_GET_LINK_NUM Flag used in the RC_DATA_FLAGS mask to get link numbers in llCastRay() results.
|
||||
RC_GET_NORMAL Flag used in the RC_DATA_FLAGS mask to get hit normals in llCastRay() results.
|
||||
RC_GET_ROOT_KEY Flag used in the RC_DATA_FLAGS mask to get root keys in llCastRay() results.
|
||||
RC_MAX_HITS Option for llCastRay() followed with an integer specifying the maximum number of hits to return (must be <= 256).
|
||||
RC_REJECT_TYPES Option for llCastRay() used to ignore specific types of objects, followed with a bitwise combination of RC_REJECT_AGENTS, RC_REJECT_PHYSICAL, RC_REJECT_NONPHYSICAL and RC_REJECT_LAND.
|
||||
RC_REJECT_AGENTS Flag used in the RC_REJECT_TYPES mask to reject agents in llCastRay().
|
||||
RC_REJECT_PHYSICAL Flag used in the RC_REJECT_TYPES mask to reject physical objects in llCastRay().
|
||||
RC_REJECT_NONPHYSICAL Flag used in the RC_REJECT_TYPES mask to reject non-physical objects in llCastRay().
|
||||
RC_REJECT_LAND Flag used in the RC_REJECT_TYPES mask to reject land in llCastRay().
|
||||
|
||||
RCERR_CAST_TIME_EXCEEDED Returned by llCastRay() when the raycast failed because the parcel or agent has exceeded the maximum time allowed for raycasting.
|
||||
RCERR_SIM_PERF_LOW Returned by llCastRay() when the raycast failed because simulator performance is low.
|
||||
RCERR_UNKNOWN Returned by llCastRay() when the raycast failed for an unspecified reason.
|
||||
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Used with llManageEstateAccess to add a group to this estate's allowed groups list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Used with llManageEstateAccess to remove a group from this estate's allowed groups list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's banned residents list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's banned residents list.
|
||||
|
||||
DENSITY For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the density.
|
||||
FRICTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the friction.
|
||||
RESTITUTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the restitution.
|
||||
GRAVITY_MULTIPLIER For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the gravity multiplier.
|
||||
|
||||
KFM_COMMAND Option for llSetKeyframedMotion(), followed by one of KFM_CMD_STOP, KFM_CMD_PLAY, KFM_CMD_PAUSE. Note that KFM_COMMAND must be the only option in the list, and cannot be specified in the same function call that sets the keyframes list.
|
||||
KFM_CMD_PLAY Option for llSetKeyframedMotion(), used after KFM_COMMAND to play the motion.
|
||||
KFM_CMD_STOP Option for llSetKeyframedMotion(), used after KFM_COMMAND to stop the motion.
|
||||
KFM_CMD_PAUSE Option for llSetKeyframedMotion(), used after KFM_COMMAND to pause the motion.
|
||||
KFM_CMD_SET_MODE TODO: add documentation
|
||||
KFM_MODE Option for llSetKeyframedMotion(), used to specify the playback mode, followed by one of KFM_FORWARD, KFM_LOOP, KFM_PING_PONG or KFM_REVERSE.
|
||||
KFM_FORWARD Option for llSetKeyframedMotion(), used after KFM_MODE to specify the forward playback mode.
|
||||
KFM_LOOP Option for llSetKeyframedMotion(), used after KFM_MODE to specify the loop playback mode.
|
||||
KFM_PING_PONG Option for llSetKeyframedMotion(), used after KFM_MODE to specify the ping pong playback mode.
|
||||
KFM_REVERSE Option for llSetKeyframedMotion(), used after KFM_MODE to specify the reverse playback mode.
|
||||
KFM_DATA Option for llSetKeyframedMotion(), followed by a bitwise combination of KFM_TRANSLATION and KFM_ROTATION. If you specify one or the other, you should only include translations or rotations in your keyframe list.
|
||||
KFM_ROTATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_TRANSLATION.
|
||||
KFM_TRANSLATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_ROTATION.
|
||||
|
||||
CHARACTER_CMD_STOP TODO: add documentation
|
||||
CHARACTER_CMD_JUMP TODO: add documentation
|
||||
|
||||
CHARACTER_DESIRED_SPEED TODO: add documentation
|
||||
CHARACTER_RADIUS TODO: add documentation
|
||||
CHARACTER_LENGTH TODO: add documentation
|
||||
CHARACTER_ORIENTATION TODO: add documentation
|
||||
CHARACTER_AVOIDANCE_MODE TODO: add documentation
|
||||
PURSUIT_OFFSET TODO: add documentation
|
||||
REQUIRE_LINE_OF_SIGHT TODO: add documentation
|
||||
PURSUIT_FUZZ_FACTOR TODO: add documentation
|
||||
PURSUIT_INTERCEPT TODO: add documentation
|
||||
FORCE_DIRECT_PATH TODO: add documentation
|
||||
VERTICAL TODO: add documentation
|
||||
HORIZONTAL TODO: add documentation
|
||||
AVOID_CHARACTERS TODO: add documentation
|
||||
AVOID_DYNAMIC_OBSTACLES TODO: add documentation
|
||||
|
||||
PU_EVADE_HIDDEN Triggered when an llEvade character thinks it has hidden from its pursuer.
|
||||
PU_EVADE_SPOTTED Triggered when an llEvade character switches from hiding to running
|
||||
PU_FAILURE_INVALID_GOAL Goal is not on the navigation-mesh and cannot be reached.
|
||||
PU_FAILURE_INVALID_START Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it.
|
||||
PU_FAILURE_NO_VALID_DESTINATION There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable.
|
||||
PU_FAILURE_OTHER Unknown failure
|
||||
PU_FAILURE_TARGET_GONE Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region.
|
||||
PU_FAILURE_UNREACHABLE Goal is no longer reachable for some reason - e.g., an obstacle blocks the path.
|
||||
PU_GOAL_REACHED Character has reached the goal and will stop or choose a new goal (if wandering).
|
||||
PU_SLOWDOWN_DISTANCE_REACHED Character is near current goal.
|
||||
|
||||
CHARACTER_TYPE TODO: add documentation
|
||||
CHARACTER_TYPE_A TODO: add documentation
|
||||
CHARACTER_TYPE_B TODO: add documentation
|
||||
CHARACTER_TYPE_C TODO: add documentation
|
||||
CHARACTER_TYPE_D TODO: add documentation
|
||||
CHARACTER_TYPE_NONE TODO: add documentation
|
||||
|
||||
TRAVERSAL_TYPE TODO: add documentation
|
||||
TRAVERSAL_TYPE_SLOW TODO: add documentation
|
||||
TRAVERSAL_TYPE_FAST TODO: add documentation
|
||||
TRAVERSAL_TYPE_NONE TODO: add documentation
|
||||
|
||||
CHARACTER_MAX_ACCEL TODO: add documentation
|
||||
CHARACTER_MAX_DECEL TODO: add documentation
|
||||
CHARACTER_MAX_ANGULAR_SPEED TODO: add documentation
|
||||
CHARACTER_MAX_ANGULAR_ACCEL TODO: add documentation
|
||||
CHARACTER_TURN_SPEED_MULTIPLIER TODO: add documentation
|
||||
CHARACTER_DESIRED_TURN_SPEED TODO: add documentation
|
||||
CHARACTER_MAX_TURN_RADIUS TODO: add documentation
|
||||
# --- OpenSim and Aurora-Sim constants Below ---
|
||||
# OpenSim Constants (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\LSL_Constants.cs)
|
||||
# Constants for cmWindlight (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\CM_Constants.cs)
|
||||
CHANGED_ANIMATION OpenSim change event animation change detection.
|
||||
# osGetRegionStats
|
||||
STATS_TIME_DILATION returned value from osGetRegionStats(), 1st of 21 items in returned list.
|
||||
STATS_SIM_FPS returned value from osGetRegionStats(), 2nd of 21 items in returned list.
|
||||
STATS_PHYSICS_FPS returned value from osGetRegionStats(), 3rd of 21 items in returned list.
|
||||
STATS_AGENT_UPDATES returned value from osGetRegionStats(), 4th of 21 items in returned list.
|
||||
STATS_ROOT_AGENTS returned value from osGetRegionStats(), 5th of 21 items in returned list.
|
||||
STATS_CHILD_AGENTS returned value from osGetRegionStats(), 6th of 21 items in returned list.
|
||||
STATS_TOTAL_PRIMS returned value from osGetRegionStats(), 7th of 21 items in returned list.
|
||||
STATS_ACTIVE_PRIMS returned value from osGetRegionStats(), 8th of 21 items in returned list.
|
||||
STATS_FRAME_MS returned value from osGetRegionStats(), 9th of 21 items in returned list.
|
||||
STATS_NET_MS returned value from osGetRegionStats(), 10th of 21 items in returned list.
|
||||
STATS_PHYSICS_MS returned value from osGetRegionStats(), 11th of 21 items in returned list.
|
||||
STATS_IMAGE_MS returned value from osGetRegionStats(), 12th of 21 items in returned list.
|
||||
STATS_OTHER_MS returned value from osGetRegionStats(), 13th of 21 items in returned list.
|
||||
STATS_IN_PACKETS_PER_SECOND returned value from osGetRegionStats(), 14th of 21 items in returned list.
|
||||
STATS_OUT_PACKETS_PER_SECOND returned value from osGetRegionStats(), 15th of 21 items in returned list.
|
||||
STATS_UNACKED_BYTES returned value from osGetRegionStats(), 16th of 21 items in returned list.
|
||||
STATS_AGENT_MS returned value from osGetRegionStats(), 17th of 21 items in returned list.
|
||||
STATS_PENDING_DOWNLOADS returned value from osGetRegionStats(), 18th of 21 items in returned list.
|
||||
STATS_PENDING_UPLOADS returned value from osGetRegionStats(), 19th of 21 items in returned list.
|
||||
STATS_ACTIVE_SCRIPTS returned value from osGetRegionStats(), 20th of 21 items in returned list.
|
||||
STATS_SCRIPT_LPS returned value from osGetRegionStats(), 21st of 21 items in returned list.
|
||||
# OpenSim NPC
|
||||
OS_NPC_FLY used by osNPC.
|
||||
OS_NPC_NO_FLY used by osNPC.
|
||||
OS_NPC_LAND_AT_TARGET used by osNPC.
|
||||
OS_NPC_SIT_NOW used by osNPC.
|
||||
OS_NPC_CREATOR_OWNED used by osNPC.
|
||||
OS_NPC_NOT_OWNED used by osNPC.
|
||||
OS_NPC_SENSE_AS_AGENT used by osNPC.
|
||||
OS_NPC_RUNNING used by osNPC.
|
||||
# Windlight/Lightshare
|
||||
WL_WATER_COLOR Windlight Water Colour
|
||||
WL_WATER_FOG_DENSITY_EXPONENT Windlight Water Fog Density Exponent
|
||||
WL_UNDERWATER_FOG_MODIFIER Windlight Underwater Fog Modifier
|
||||
@@ -651,112 +771,28 @@ WL_CLOUD_SCROLL_Y Windlight Cloud Scroll Y
|
||||
WL_CLOUD_SCROLL_Y_LOCK Windlight Cloud Scroll Y Lock
|
||||
WL_CLOUD_SCROLL_X_LOCK Windlight Cloud Scroll X Lock
|
||||
WL_DRAW_CLASSIC_CLOUDS Windlight Draw Classic Clouds
|
||||
|
||||
# keyframe constants
|
||||
KFM_COMMAND Option for llSetKeyframedMotion(), followed by one of KFM_CMD_STOP, KFM_CMD_PLAY, KFM_CMD_PAUSE. Note that KFM_COMMAND must be the only option in the list, and cannot be specified in the same function call that sets the keyframes list.
|
||||
KFM_MODE Option for llSetKeyframedMotion(), used to specify the playback mode, followed by one of KFM_FORWARD, KFM_LOOP, KFM_PING_PONG or KFM_REVERSE.
|
||||
KFM_DATA Option for llSetKeyframedMotion(), followed by a bitwise combination of KFM_TRANSLATION and KFM_ROTATION. If you specify one or the other, you should only include translations or rotations in your keyframe list.
|
||||
KFM_FORWARD Option for llSetKeyframedMotion(), used after KFM_MODE to specify the forward playback mode.
|
||||
KFM_LOOP Option for llSetKeyframedMotion(), used after KFM_MODE to specify the loop playback mode.
|
||||
KFM_PING_PONG Option for llSetKeyframedMotion(), used after KFM_MODE to specify the ping pong playback mode.
|
||||
KFM_REVERSE Option for llSetKeyframedMotion(), used after KFM_MODE to specify the reverse playback mode.
|
||||
KFM_ROTATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_TRANSLATION.
|
||||
KFM_TRANSLATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_ROTATION.
|
||||
KFM_CMD_PLAY Option for llSetKeyframedMotion(), used after KFM_COMMAND to play the motion.
|
||||
KFM_CMD_STOP Option for llSetKeyframedMotion(), used after KFM_COMMAND to stop the motion.
|
||||
KFM_CMD_PAUSE Option for llSetKeyframedMotion(), used after KFM_COMMAND to pause the motion.
|
||||
|
||||
# OSSL constants
|
||||
STATS_TIME_DILATION
|
||||
STATS_SIM_FPS
|
||||
STATS_PHYSICS_FPS
|
||||
STATS_AGENT_UPDATES
|
||||
STATS_ROOT_AGENTS
|
||||
STATS_CHILD_AGENTS
|
||||
STATS_TOTAL_PRIMS
|
||||
STATS_ACTIVE_PRIMS
|
||||
STATS_FRAME_MS
|
||||
STATS_NET_MS
|
||||
STATS_PHYSICS_MS
|
||||
STATS_IMAGE_MS
|
||||
STATS_OTHER_MS
|
||||
STATS_IN_PACKETS_PER_SECOND
|
||||
STATS_OUT_PACKETS_PER_SECOND
|
||||
STATS_UNACKED_BYTES
|
||||
STATS_AGENT_MS
|
||||
STATS_PENDING_DOWNLOADS
|
||||
STATS_PENDING_UPLOADS
|
||||
STATS_ACTIVE_SCRIPTS
|
||||
STATS_SCRIPT_LPS
|
||||
|
||||
## Constants for osNpc* functions
|
||||
NPC
|
||||
OS_NPC_CREATOR_OWNED
|
||||
OS_NPC_NOT_OWNED
|
||||
OS_NPC_SENSE_AS_AGENT
|
||||
OS_NPC_FLY
|
||||
OS_NPC_NO_FLY
|
||||
OS_NPC_LAND_AT_TARGET
|
||||
OS_NPC_SIT_NOW
|
||||
|
||||
## Missing LSL constants (from http://wiki.secondlife.com/wiki/Category:LSL_Constants)
|
||||
|
||||
# physics constants
|
||||
DENSITY For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the density.
|
||||
FRICTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the friction.
|
||||
RESTITUTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the restitution.
|
||||
GRAVITY_MULTIPLIER For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the gravity multiplier.
|
||||
|
||||
##Even more missing constants, thanks to Justin Clark Casey for pointing me into the right direction
|
||||
##Liru: Were these supposed to be LSL? They're undocumented, commenting out for now.
|
||||
#CAMERA_FOCUS_OFFSET_X
|
||||
#CAMERA_FOCUS_OFFSET_Y
|
||||
#CAMERA_FOCUS_OFFSET_Z
|
||||
#CAMERA_FOCUS_X
|
||||
#CAMERA_FOCUS_Y
|
||||
#CAMERA_FOCUS_Z
|
||||
#CAMERA_POSITION_X
|
||||
#CAMERA_POSITION_Y
|
||||
#CAMERA_POSITION_Z
|
||||
#CHANGED_ANIMATION
|
||||
#CHANGED_REGION_RESTART
|
||||
#DATA_SIM_RELEASE
|
||||
#LIST_STAT_HARMONIC_MEAN
|
||||
#PARCEL_DETAILS_CLAIMDATE
|
||||
#VEHICLE_FLAG_LOCK_HOVER_HEIGHT
|
||||
#VEHICLE_FLAG_LOCK_ROTATION
|
||||
#VEHICLE_FLAG_NO_X
|
||||
#VEHICLE_FLAG_NO_Y
|
||||
#VEHICLE_FLAG_NO_Z
|
||||
#VEHICLE_RANGE_BLOCK
|
||||
#VEHICLE_ROLL_FRAME
|
||||
#LSL_STATUS_BOUNDS_ERROR
|
||||
#LSL_STATUS_INTERNAL_ERROR
|
||||
#LSL_STATUS_MALFORMED_PARAMS
|
||||
#LSL_STATUS_NOT_FOUND
|
||||
#LSL_STATUS_NOT_SUPPORTED
|
||||
#LSL_STATUS_OK
|
||||
#LSL_STATUS_TYPE_MISMATCH
|
||||
#LSL_STATUS_WHITELIST_FAILED
|
||||
|
||||
# castray constants
|
||||
RCERR_UNKNOWN Returned by llCastRay() when the raycast failed for an unspecified reason.
|
||||
RCERR_SIM_PERF_LOW Returned by llCastRay() when the raycast failed because simulator performance is low.
|
||||
RCERR_CAST_TIME_EXCEEDED Returned by llCastRay() when the raycast failed because the parcel or agent has exceeded the maximum time allowed for raycasting.
|
||||
|
||||
RC_REJECT_TYPES Option for llCastRay() used to ignore specific types of objects, followed with a bitwise combination of RC_REJECT_AGENTS, RC_REJECT_PHYSICAL, RC_REJECT_NONPHYSICAL and RC_REJECT_LAND.
|
||||
RC_DETECT_PHANTOM Option for llCastRay() followed with TRUE to detect phantom AND volume detect objects, FASLE otherwise.
|
||||
RC_DATA_FLAGS Option for llCastRay() followed with a bitwise combination of RC_GET_NORMAL, RC_GET_ROOT_KEY and RC_GET_LINK_NUM.
|
||||
RC_MAX_HITS Option for llCastRay() followed with an integer specifying the maximum number of hits to return (must be <= 256).
|
||||
|
||||
RC_REJECT_AGENTS Flag used in the RC_REJECT_TYPES mask to reject agents in llCastRay().
|
||||
RC_REJECT_PHYSICAL Flag used in the RC_REJECT_TYPES mask to reject physical objects in llCastRay().
|
||||
RC_REJECT_NONPHYSICAL Flag used in the RC_REJECT_TYPES mask to reject non-physical objects in llCastRay().
|
||||
RC_REJECT_LAND Flag used in the RC_REJECT_TYPES mask to reject land in llCastRay().
|
||||
|
||||
RC_GET_NORMAL Flag used in the RC_DATA_FLAGS mask to get hit normals in llCastRay() results.
|
||||
RC_GET_ROOT_KEY Flag used in the RC_DATA_FLAGS mask to get root keys in llCastRay() results.
|
||||
RC_GET_LINK_NUM Flag used in the RC_DATA_FLAGS mask to get link numbers in llCastRay() results.
|
||||
# Aurora-Sim Constants (\Aurora\AuroraDotNetEngine\APIs\AA_Constants.cs) -->
|
||||
ENABLE_GRAVITY enable_gravity.
|
||||
GRAVITY_FORCE_X gravity_force_x.
|
||||
GRAVITY_FORCE_Y gravity_force_y.
|
||||
GRAVITY_FORCE_Z gravity_force_z.
|
||||
ADD_GRAVITY_POINT add_gravity_point.
|
||||
ADD_GRAVITY_FORCE add_gravity_force.
|
||||
START_TIME_REVERSAL_SAVING start_time_reversal_saving.
|
||||
STOP_TIME_REVERSAL_SAVING stop_time_reversal_saving.
|
||||
START_TIME_REVERSAL start_time_reversal.
|
||||
STOP_TIME_REVERSAL stop_time_reversal.
|
||||
# Aurora botFunctions
|
||||
BOT_FOLLOW_FLAG_NONE value 0.
|
||||
BOT_FOLLOW_FLAG_INDEFINITELY value 1.
|
||||
BOT_TAG_FIND_ALL value AllBots.
|
||||
BOT_FOLLOW_WALK value 0.
|
||||
BOT_FOLLOW_RUN value 1.
|
||||
BOT_FOLLOW_FLY value 2.
|
||||
BOT_FOLLOW_TELEPORT value 3.
|
||||
BOT_FOLLOW_WAIT value 4.
|
||||
BOT_FOLLOW_TRIGGER_HERE_EVENT value 1.
|
||||
BOT_FOLLOW_FLAG_FORCEDIRECTPATH value 4.
|
||||
|
||||
# string constants
|
||||
[word .1, .3, .5]
|
||||
|
||||
@@ -1971,7 +1971,7 @@
|
||||
<key>Comment</key>
|
||||
<string>Enable texture auditting.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<integer>0</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -14,7 +14,7 @@ key Key type. Use NULL_KEY to test for empty keys
|
||||
vector Vector type of 3 floats. Used to represent 3D motion, Euler angles, and color.:Access components by .x, .y. or .z
|
||||
rotation Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y., .z, or .w
|
||||
list List of various data types
|
||||
quaternion Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y, .z, or .w
|
||||
quaternion Rotation type of 4 floats. Used to represent rotation.:Access components by .x, .y, .z, or .w
|
||||
|
||||
# events
|
||||
[word .47, .62, .91]
|
||||
@@ -52,7 +52,7 @@ changed changed( integer change ):Triggered various event change the task:(tes
|
||||
remote_data remote_data(integer event_type, key channel, key message_id, string sender,integer idata, string sdata):Triggered by various XML-RPC calls (event_type will be one of REMOTE_DATA_CHANNEL, REMOTE_DATA_REQUEST, REMOTE_DATA_REPLY)
|
||||
http_response http_response(key request_id, integer status, list metadata, string body):Triggered when task receives a response to one of its llHTTPRequests
|
||||
http_request http_request(key id, string method, string body):Triggered when task receives an http request against a public URL
|
||||
transaction_result transaction_result(key id, integer success, string data):Triggered when task receives asynchronous data.
|
||||
transaction_result transaction_result(key id, integer success, string data):Triggered when task receives asynchronous data.
|
||||
path_update path_update(integer type, list reserved):Triggered when the state of a pathfinder character changes. Note; "list reserved" is not currently used
|
||||
|
||||
# integer constants
|
||||
@@ -70,9 +70,10 @@ STATUS_BLOCK_GRAB_OBJECT This status flag keeps the object from being moved by g
|
||||
STATUS_DIE_AT_EDGE Passed in the llSetStatus library function. If TRUE, objects that reach the edge of the world just die:rather than teleporting back to the owner
|
||||
STATUS_RETURN_AT_EDGE Passed in the llSetStatus library function. If TRUE, script rezzed objects that reach the edge of the world:are returned rather than killed:STATUS_RETURN_AT_EDGE trumps STATUS_DIE_AT_EDGE if both are set
|
||||
STATUS_CAST_SHADOWS Passed in the llSetStatus library function. If TRUE, object casts shadows on other objects
|
||||
|
||||
AGENT Passed in llSensor library function to look for other Agents; DEPRECATED: Use AGENT_BY_LEGACY_NAME
|
||||
AGENT_BY_USERNAME Passed in llSensor library function to look for other Agents by username
|
||||
AGENT_BY_LEGACY_NAME Passed in llSensor library function to look for other Agents by legacy name
|
||||
AGENT_BY_LEGACY_NAME Passed in llSensor library function to look for other Agents by legacy name
|
||||
AGENT_BY_USERNAME Passed in llSensor library function to look for other Agents by username
|
||||
ACTIVE Passed in llSensor library function to look for moving objects
|
||||
PASSIVE Passed in llSensor library function to look for objects that aren't moving
|
||||
SCRIPTED Passed in llSensor library function to look for scripted objects
|
||||
@@ -171,10 +172,10 @@ OBJECT_VELOCITY Used with llGetObjectDetails to get an object's velocity
|
||||
OBJECT_OWNER Used with llGetObjectDetails to get an object's owner's key. Will be NULL_KEY if group owned
|
||||
OBJECT_GROUP Used with llGetObjectDetails to get an object's group's key
|
||||
OBJECT_CREATOR Used with llGetObjectDetails to get an object's creator's key
|
||||
OBJECT_RUNNING_SCRIPT_COUNT Used with llGetObjectDetails to get an object's velocity.
|
||||
OBJECT_TOTAL_SCRIPT_COUNT Used with llGetObjectDetails to get an object's owner's key. Will be NULL_KEY if group owned.
|
||||
OBJECT_SCRIPT_MEMORY Used with llGetObjectDetails to get an object's group's key.
|
||||
OBJECT_SCRIPT_TIME Used with llGetObjectDetails to get an object's creator's key.
|
||||
OBJECT_RUNNING_SCRIPT_COUNT Gets the number of running scripts attached to the object or agent
|
||||
OBJECT_TOTAL_SCRIPT_COUNT Gets the number of scripts, both running and stopped, attached to the object or agent.
|
||||
OBJECT_SCRIPT_MEMORY Gets the total amount of script memory allocated to the object or agent, in bytes.
|
||||
OBJECT_SCRIPT_TIME Gets the total amount of average script CPU time used by the object or agent, in seconds.
|
||||
OBJECT_PRIM_EQUIVALENCE Gets the prim equivalence of the object.
|
||||
OBJECT_SERVER_COST Used with llGetObjectDetails to get the server cost.
|
||||
OBJECT_STREAMING_COST Used with llGetObjectDetails to get the streaming (download) cost.
|
||||
@@ -185,8 +186,8 @@ VEHICLE_TYPE_NONE Used with llSetVehicleType to turn off vehicle support
|
||||
VEHICLE_TYPE_SLED Used with llSetVehicleType to make a simple vehicle that bumps along the ground, and likes to move along its local x-axis
|
||||
VEHICLE_TYPE_CAR Used with llSetVehicleType to make a vehicle that bounces along the ground but needs the motors to be driven from external controls or timer events
|
||||
VEHICLE_TYPE_BOAT Used with llSetVehicleType to make a vehicle that hovers over water with lots of friction and some angular deflection
|
||||
VEHICLE_TYPE_AIRPLANE Used with llSetVehicleType to make a vehicle that uses linear deflection for lift, and banking to turn, but doesn't hover
|
||||
VEHICLE_TYPE_BALLOON Used with llSetVehicleType to make a vehicle that uses hover, and friction, but doesn't use deflection
|
||||
VEHICLE_TYPE_AIRPLANE Used with llSetVehicleType to make a vehicle that uses linear deflection for lift, and banking to turn, but doesn't hover
|
||||
VEHICLE_TYPE_BALLOON Used with llSetVehicleType to make a vehicle that uses hover, and friction, but doesn't use deflection
|
||||
|
||||
VEHICLE_REFERENCE_FRAME Rotation of vehicle axes relative to local frame
|
||||
|
||||
@@ -289,14 +290,14 @@ ATTACH_LLLEG Passed to llAttachToAvatar to attach task to left lower leg
|
||||
ATTACH_BELLY Passed to llAttachToAvatar to attach task to belly
|
||||
ATTACH_LEFT_PEC Passed to llAttachToAvatar to attach task to left pectoral
|
||||
ATTACH_RIGHT_PEC Passed to llAttachToAvatar to attach task to right pectoral
|
||||
ATTACH_HUD_BOTTOM Passed to llAttachToAvatar to attach task to bottom hud area
|
||||
ATTACH_HUD_BOTTOM_LEFT Passed to llAttachToAvatar to attach task to bottom left hud area
|
||||
ATTACH_HUD_BOTTOM_RIGHT Passed to llAttachToAvatar to attach task to bottom right hud area
|
||||
ATTACH_HUD_CENTER_1 Passed to llAttachToAvatar to attach task to center 1 hud area
|
||||
ATTACH_HUD_CENTER_2 Passed to llAttachToAvatar to attach task to center 2 hud area
|
||||
ATTACH_HUD_TOP_RIGHT Passed to llAttachToAvatar to attach task to top right hud area
|
||||
ATTACH_HUD_TOP_CENTER Passed to llAttachToAvatar to attach task to top center hud area
|
||||
ATTACH_HUD_TOP_LEFT Passed to llAttachToAvatar to attach task to top left hud area
|
||||
ATTACH_HUD_CENTER_1 Passed to llAttachToAvatar to attach task to center 1 hud area
|
||||
ATTACH_HUD_BOTTOM_LEFT Passed to llAttachToAvatar to attach task to bottom left hud area
|
||||
ATTACH_HUD_BOTTOM Passed to llAttachToAvatar to attach task to bottom hud area
|
||||
ATTACH_HUD_BOTTOM_RIGHT Passed to llAttachToAvatar to attach task to bottom right hud area
|
||||
ATTACH_HUD_TOP_RIGHT Passed to llAttachToAvatar to attach task to top right hud area
|
||||
##The following attachment points exist only as numbers thus far, but will be ready when the time comes.
|
||||
#ATTACH_NECK Passed to llAttachToAvatar to attach task to neck
|
||||
#ATTACH_ROOT Passed to llAttachToAvatar to attach task to avatar center/root
|
||||
@@ -369,29 +370,28 @@ REMOTE_DATA_REPLY Value of event_type in remote_event if XML-RPC reply is receiv
|
||||
PRIM_NAME For primitive name (from server v1.40 onwards). Followed by a string.
|
||||
PRIM_DESC For primitive description (from server v1.40 onwards). Followed by a string.
|
||||
PRIM_TYPE Followed by PRIM_TYPE_BOX, PRIM_TYPE_CYLINDER, PRIM_TYPE_PRISM, PRIM_TYPE_SPHERE, PRIM_TYPE_TORUS, PRIM_TYPE_TUBE, or PRIM_TYPE_SCULPT and their arguments
|
||||
PRIM_SLICE Get and set the 'slice' parameter of all shapes. Takes a vector parameter of the form <start_slice, end_slice, 0>
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_MATERIAL Followed by PRIM_MATERIAL_STONE, PRIM_MATERIAL_METAL, PRIM_MATERIAL_GLASS, PRIM_MATERIAL_WOOD, PRIM_MATERIAL_FLESH, PRIM_MATERIAL_PLASTIC, or PRIM_MATERIAL_RUBBER
|
||||
PRIM_PHYSICS Sets physics to TRUE or FALSE
|
||||
PRIM_FLEXIBLE Followed by TRUE or FALSE, integer softness, float gravity, float friction, float wind, float tension, and vector force
|
||||
PRIM_POINT_LIGHT Followed by TRUE or FALSE, vector color, float intensity, float radius, float falloff
|
||||
PRIM_TEMP_ON_REZ Sets temporay on rez to TRUE or FALSE
|
||||
PRIM_TEMP_ON_REZ Sets temporary on rez to TRUE or FALSE
|
||||
PRIM_PHANTOM Sets phantom to TRUE or FALSE
|
||||
PRIM_CAST_SHADOWS DEPRECATED. Takes 1 parameter, an integer, but has no effect when set and always returns 0 if used in llGetPrimitiveParams
|
||||
PRIM_POSITION Sets primitive position to a vector position
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_SIZE Sets primitive size to a vector size
|
||||
PRIM_ROTATION Sets primitive rotation
|
||||
PRIM_ROT_LOCAL Sets the prim's local rotation
|
||||
PRIM_TEXT Used to get or set the object's floating text.
|
||||
PRIM_TEXTURE Followed by an integer face, key id, vector repeats, vector offsets,:and float rotation in radians
|
||||
PRIM_TEXT For primitive hovertext. Followed by a string, a vector color and a float alpha
|
||||
PRIM_COLOR Followed by an integer face, vector color, and float alpha
|
||||
PRIM_BUMP_SHINY Followed by an integer face, one of PRIM_SHINY_NONE, PRIM_SHINY_LOW,:PRIM_SHINY_MEDIUM, or PRIM_SHINY_HIGH,:and one of PRIM_BUMP_NONE, PRIM_BUMP_BRIGHT, PRIM_BUMP_DARK, etc
|
||||
PRIM_FULLBRIGHT Followed by an integer face, and TRUE or FALSE
|
||||
PRIM_TEXGEN Followed by an integer face, and one of PRIM_TEXGEN_DEFAULT or PRIM_TEXGEN_PLANAR
|
||||
PRIM_GLOW Followed by an integer face, and a float from 0.0 to 1.0 specifying glow amount
|
||||
PRIM_OMEGA Makes the object spin at the specified axis and rate
|
||||
PRIM_POS_LOCAL Sets the prim's local position
|
||||
PRIM_ROT_LOCAL Sets the prim's local rotation
|
||||
PRIM_OMEGA Makes the object spin at the specified axis and rate
|
||||
PRIM_LINK_TARGET Used to get or set multiple links with a single PrimParameters call
|
||||
PRIM_SLICE Get and set the 'slice' parameter of all shapes. Takes a vector parameter of the form <start_slice, end_slice, 0>
|
||||
|
||||
PROFILE_NONE Disables profiling
|
||||
PROFILE_SCRIPT_MEMORY Enables memory profiling
|
||||
@@ -454,9 +454,10 @@ PRIM_SCULPT_TYPE_MASK Mask used to determine stitching type
|
||||
PRIM_SCULPT_FLAG_INVERT Flag to specify that the surface normals should be inverted
|
||||
PRIM_SCULPT_FLAG_MIRROR Flag to specify that the prim should be reflected along X axis
|
||||
|
||||
PRIM_PHYSICS_SHAPE_TYPE For primitive physics shape type. Followed with either PRIM_PHYSICS_SHAPE_PRIM, PRIM_PHYSICS_SHAPE_NONE or PRIM_PHYSICS_SHAPE_CONVEX.
|
||||
PRIM_PHYSICS_SHAPE_PRIM Use the normal prim shape for physics (this is the default for all non-mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
PRIM_PHYSICS_SHAPE_NONE Use the convex hull of the prim shape for physics (this is the default for mesh objects)
|
||||
PRIM_PHYSICS_SHAPE_CONVEX Ignore this prim in the physics shape. This cannot be applied to the root prim.
|
||||
|
||||
MASK_BASE Base permissions
|
||||
MASK_OWNER Owner permissions
|
||||
@@ -526,19 +527,13 @@ REGION_FLAG_BLOCK_FLY Used with llGetRegionFlags to find if a region blocks f
|
||||
REGION_FLAG_ALLOW_DIRECT_TELEPORT Used with llGetRegionFlags to find if a region allows direct teleports
|
||||
REGION_FLAG_RESTRICT_PUSHOBJECT Used with llGetRegionFlags to find if a region restricts llPushObject() calls
|
||||
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Used with llManageEstateAccess to add a group to this estate's allowed groups list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Used with llManageEstateAccess to remove a group from this estate's allowed groups list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's banned residents list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's banned residents list.
|
||||
|
||||
HTTP_METHOD Used with llHTTPRequest to specify the method, "GET", "POST", "PUT", or "DELETE"
|
||||
HTTP_MIMETYPE Used with llHTTPRequest to specify the MIME type, defaults to "text/plain"
|
||||
HTTP_BODY_MAXLENGTH Used with llHTTPRequest to specify the maximum response body to return
|
||||
HTTP_VERIFY_CERT Used with llHTTPRequest to specify SSL certificate verification
|
||||
HTTP_BODY_TRUNCATED Used with http_response to indicate truncation point in bytes
|
||||
HTTP_VERBOSE_THROTTLE Used with llHTTPRequest to shout error messages to DEBUG_CHANNEL if the outgoing request rate exceeds the server limit.
|
||||
HTTP_BODY_MAXLENGTH Used with llHTTPRequest to specify the maximum body size for the date returned from the request. Mono scripts can request from 1byte to 16k, non-mono scripts can request from 1byte to 4k. The default is 2k.
|
||||
|
||||
PARCEL_COUNT_TOTAL Used with llGetParcelPrimCount to get the total number of prims on the parcel
|
||||
PARCEL_COUNT_OWNER Used with llGetParcelPrimCount to get the number of prims on the parcel owned by the owner
|
||||
@@ -613,7 +608,132 @@ STATUS_NOT_SUPPORTED Feature not supported
|
||||
STATUS_INTERNAL_ERROR An internal error occurred
|
||||
STATUS_WHITELIST_FAILED URL failed to pass whitelist
|
||||
|
||||
# windlight constants
|
||||
RC_DATA_FLAGS Option for llCastRay() followed with a bitwise combination of RC_GET_NORMAL, RC_GET_ROOT_KEY and RC_GET_LINK_NUM.
|
||||
RC_DETECT_PHANTOM Option for llCastRay() followed with TRUE to detect phantom AND volume detect objects, FASLE otherwise.
|
||||
RC_GET_LINK_NUM Flag used in the RC_DATA_FLAGS mask to get link numbers in llCastRay() results.
|
||||
RC_GET_NORMAL Flag used in the RC_DATA_FLAGS mask to get hit normals in llCastRay() results.
|
||||
RC_GET_ROOT_KEY Flag used in the RC_DATA_FLAGS mask to get root keys in llCastRay() results.
|
||||
RC_MAX_HITS Option for llCastRay() followed with an integer specifying the maximum number of hits to return (must be <= 256).
|
||||
RC_REJECT_TYPES Option for llCastRay() used to ignore specific types of objects, followed with a bitwise combination of RC_REJECT_AGENTS, RC_REJECT_PHYSICAL, RC_REJECT_NONPHYSICAL and RC_REJECT_LAND.
|
||||
RC_REJECT_AGENTS Flag used in the RC_REJECT_TYPES mask to reject agents in llCastRay().
|
||||
RC_REJECT_PHYSICAL Flag used in the RC_REJECT_TYPES mask to reject physical objects in llCastRay().
|
||||
RC_REJECT_NONPHYSICAL Flag used in the RC_REJECT_TYPES mask to reject non-physical objects in llCastRay().
|
||||
RC_REJECT_LAND Flag used in the RC_REJECT_TYPES mask to reject land in llCastRay().
|
||||
|
||||
RCERR_CAST_TIME_EXCEEDED Returned by llCastRay() when the raycast failed because the parcel or agent has exceeded the maximum time allowed for raycasting.
|
||||
RCERR_SIM_PERF_LOW Returned by llCastRay() when the raycast failed because simulator performance is low.
|
||||
RCERR_UNKNOWN Returned by llCastRay() when the raycast failed for an unspecified reason.
|
||||
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's allowed residents list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_ADD Used with llManageEstateAccess to add a group to this estate's allowed groups list.
|
||||
ESTATE_ACCESS_ALLOWED_GROUP_REMOVE Used with llManageEstateAccess to remove a group from this estate's allowed groups list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_ADD Used with llManageEstateAccess to add an agent to this estate's banned residents list.
|
||||
ESTATE_ACCESS_BANNED_AGENT_REMOVE Used with llManageEstateAccess to remove an agent from this estate's banned residents list.
|
||||
|
||||
DENSITY For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the density.
|
||||
FRICTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the friction.
|
||||
RESTITUTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the restitution.
|
||||
GRAVITY_MULTIPLIER For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the gravity multiplier.
|
||||
|
||||
KFM_COMMAND Option for llSetKeyframedMotion(), followed by one of KFM_CMD_STOP, KFM_CMD_PLAY, KFM_CMD_PAUSE. Note that KFM_COMMAND must be the only option in the list, and cannot be specified in the same function call that sets the keyframes list.
|
||||
KFM_CMD_PLAY Option for llSetKeyframedMotion(), used after KFM_COMMAND to play the motion.
|
||||
KFM_CMD_STOP Option for llSetKeyframedMotion(), used after KFM_COMMAND to stop the motion.
|
||||
KFM_CMD_PAUSE Option for llSetKeyframedMotion(), used after KFM_COMMAND to pause the motion.
|
||||
KFM_CMD_SET_MODE TODO: add documentation
|
||||
KFM_MODE Option for llSetKeyframedMotion(), used to specify the playback mode, followed by one of KFM_FORWARD, KFM_LOOP, KFM_PING_PONG or KFM_REVERSE.
|
||||
KFM_FORWARD Option for llSetKeyframedMotion(), used after KFM_MODE to specify the forward playback mode.
|
||||
KFM_LOOP Option for llSetKeyframedMotion(), used after KFM_MODE to specify the loop playback mode.
|
||||
KFM_PING_PONG Option for llSetKeyframedMotion(), used after KFM_MODE to specify the ping pong playback mode.
|
||||
KFM_REVERSE Option for llSetKeyframedMotion(), used after KFM_MODE to specify the reverse playback mode.
|
||||
KFM_DATA Option for llSetKeyframedMotion(), followed by a bitwise combination of KFM_TRANSLATION and KFM_ROTATION. If you specify one or the other, you should only include translations or rotations in your keyframe list.
|
||||
KFM_ROTATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_TRANSLATION.
|
||||
KFM_TRANSLATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_ROTATION.
|
||||
|
||||
CHARACTER_CMD_STOP TODO: add documentation
|
||||
CHARACTER_CMD_JUMP TODO: add documentation
|
||||
|
||||
CHARACTER_DESIRED_SPEED TODO: add documentation
|
||||
CHARACTER_RADIUS TODO: add documentation
|
||||
CHARACTER_LENGTH TODO: add documentation
|
||||
CHARACTER_ORIENTATION TODO: add documentation
|
||||
CHARACTER_AVOIDANCE_MODE TODO: add documentation
|
||||
PURSUIT_OFFSET TODO: add documentation
|
||||
REQUIRE_LINE_OF_SIGHT TODO: add documentation
|
||||
PURSUIT_FUZZ_FACTOR TODO: add documentation
|
||||
PURSUIT_INTERCEPT TODO: add documentation
|
||||
FORCE_DIRECT_PATH TODO: add documentation
|
||||
VERTICAL TODO: add documentation
|
||||
HORIZONTAL TODO: add documentation
|
||||
AVOID_CHARACTERS TODO: add documentation
|
||||
AVOID_DYNAMIC_OBSTACLES TODO: add documentation
|
||||
|
||||
PU_EVADE_HIDDEN Triggered when an llEvade character thinks it has hidden from its pursuer.
|
||||
PU_EVADE_SPOTTED Triggered when an llEvade character switches from hiding to running
|
||||
PU_FAILURE_INVALID_GOAL Goal is not on the navigation-mesh and cannot be reached.
|
||||
PU_FAILURE_INVALID_START Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it.
|
||||
PU_FAILURE_NO_VALID_DESTINATION There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable.
|
||||
PU_FAILURE_OTHER Unknown failure
|
||||
PU_FAILURE_TARGET_GONE Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region.
|
||||
PU_FAILURE_UNREACHABLE Goal is no longer reachable for some reason - e.g., an obstacle blocks the path.
|
||||
PU_GOAL_REACHED Character has reached the goal and will stop or choose a new goal (if wandering).
|
||||
PU_SLOWDOWN_DISTANCE_REACHED Character is near current goal.
|
||||
|
||||
CHARACTER_TYPE TODO: add documentation
|
||||
CHARACTER_TYPE_A TODO: add documentation
|
||||
CHARACTER_TYPE_B TODO: add documentation
|
||||
CHARACTER_TYPE_C TODO: add documentation
|
||||
CHARACTER_TYPE_D TODO: add documentation
|
||||
CHARACTER_TYPE_NONE TODO: add documentation
|
||||
|
||||
TRAVERSAL_TYPE TODO: add documentation
|
||||
TRAVERSAL_TYPE_SLOW TODO: add documentation
|
||||
TRAVERSAL_TYPE_FAST TODO: add documentation
|
||||
TRAVERSAL_TYPE_NONE TODO: add documentation
|
||||
|
||||
CHARACTER_MAX_ACCEL TODO: add documentation
|
||||
CHARACTER_MAX_DECEL TODO: add documentation
|
||||
CHARACTER_MAX_ANGULAR_SPEED TODO: add documentation
|
||||
CHARACTER_MAX_ANGULAR_ACCEL TODO: add documentation
|
||||
CHARACTER_TURN_SPEED_MULTIPLIER TODO: add documentation
|
||||
CHARACTER_DESIRED_TURN_SPEED TODO: add documentation
|
||||
CHARACTER_MAX_TURN_RADIUS TODO: add documentation
|
||||
# --- OpenSim and Aurora-Sim constants Below ---
|
||||
# OpenSim Constants (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\LSL_Constants.cs)
|
||||
# Constants for cmWindlight (\OpenSim\Region\ScriptEngine\Shared\Api\Runtime\CM_Constants.cs)
|
||||
CHANGED_ANIMATION OpenSim change event animation change detection.
|
||||
# osGetRegionStats
|
||||
STATS_TIME_DILATION returned value from osGetRegionStats(), 1st of 21 items in returned list.
|
||||
STATS_SIM_FPS returned value from osGetRegionStats(), 2nd of 21 items in returned list.
|
||||
STATS_PHYSICS_FPS returned value from osGetRegionStats(), 3rd of 21 items in returned list.
|
||||
STATS_AGENT_UPDATES returned value from osGetRegionStats(), 4th of 21 items in returned list.
|
||||
STATS_ROOT_AGENTS returned value from osGetRegionStats(), 5th of 21 items in returned list.
|
||||
STATS_CHILD_AGENTS returned value from osGetRegionStats(), 6th of 21 items in returned list.
|
||||
STATS_TOTAL_PRIMS returned value from osGetRegionStats(), 7th of 21 items in returned list.
|
||||
STATS_ACTIVE_PRIMS returned value from osGetRegionStats(), 8th of 21 items in returned list.
|
||||
STATS_FRAME_MS returned value from osGetRegionStats(), 9th of 21 items in returned list.
|
||||
STATS_NET_MS returned value from osGetRegionStats(), 10th of 21 items in returned list.
|
||||
STATS_PHYSICS_MS returned value from osGetRegionStats(), 11th of 21 items in returned list.
|
||||
STATS_IMAGE_MS returned value from osGetRegionStats(), 12th of 21 items in returned list.
|
||||
STATS_OTHER_MS returned value from osGetRegionStats(), 13th of 21 items in returned list.
|
||||
STATS_IN_PACKETS_PER_SECOND returned value from osGetRegionStats(), 14th of 21 items in returned list.
|
||||
STATS_OUT_PACKETS_PER_SECOND returned value from osGetRegionStats(), 15th of 21 items in returned list.
|
||||
STATS_UNACKED_BYTES returned value from osGetRegionStats(), 16th of 21 items in returned list.
|
||||
STATS_AGENT_MS returned value from osGetRegionStats(), 17th of 21 items in returned list.
|
||||
STATS_PENDING_DOWNLOADS returned value from osGetRegionStats(), 18th of 21 items in returned list.
|
||||
STATS_PENDING_UPLOADS returned value from osGetRegionStats(), 19th of 21 items in returned list.
|
||||
STATS_ACTIVE_SCRIPTS returned value from osGetRegionStats(), 20th of 21 items in returned list.
|
||||
STATS_SCRIPT_LPS returned value from osGetRegionStats(), 21st of 21 items in returned list.
|
||||
# OpenSim NPC
|
||||
OS_NPC_FLY used by osNPC.
|
||||
OS_NPC_NO_FLY used by osNPC.
|
||||
OS_NPC_LAND_AT_TARGET used by osNPC.
|
||||
OS_NPC_SIT_NOW used by osNPC.
|
||||
OS_NPC_CREATOR_OWNED used by osNPC.
|
||||
OS_NPC_NOT_OWNED used by osNPC.
|
||||
OS_NPC_SENSE_AS_AGENT used by osNPC.
|
||||
OS_NPC_RUNNING used by osNPC.
|
||||
# Windlight/Lightshare
|
||||
WL_WATER_COLOR Windlight Water Colour
|
||||
WL_WATER_FOG_DENSITY_EXPONENT Windlight Water Fog Density Exponent
|
||||
WL_UNDERWATER_FOG_MODIFIER Windlight Underwater Fog Modifier
|
||||
@@ -651,112 +771,28 @@ WL_CLOUD_SCROLL_Y Windlight Cloud Scroll Y
|
||||
WL_CLOUD_SCROLL_Y_LOCK Windlight Cloud Scroll Y Lock
|
||||
WL_CLOUD_SCROLL_X_LOCK Windlight Cloud Scroll X Lock
|
||||
WL_DRAW_CLASSIC_CLOUDS Windlight Draw Classic Clouds
|
||||
|
||||
# keyframe constants
|
||||
KFM_COMMAND Option for llSetKeyframedMotion(), followed by one of KFM_CMD_STOP, KFM_CMD_PLAY, KFM_CMD_PAUSE. Note that KFM_COMMAND must be the only option in the list, and cannot be specified in the same function call that sets the keyframes list.
|
||||
KFM_MODE Option for llSetKeyframedMotion(), used to specify the playback mode, followed by one of KFM_FORWARD, KFM_LOOP, KFM_PING_PONG or KFM_REVERSE.
|
||||
KFM_DATA Option for llSetKeyframedMotion(), followed by a bitwise combination of KFM_TRANSLATION and KFM_ROTATION. If you specify one or the other, you should only include translations or rotations in your keyframe list.
|
||||
KFM_FORWARD Option for llSetKeyframedMotion(), used after KFM_MODE to specify the forward playback mode.
|
||||
KFM_LOOP Option for llSetKeyframedMotion(), used after KFM_MODE to specify the loop playback mode.
|
||||
KFM_PING_PONG Option for llSetKeyframedMotion(), used after KFM_MODE to specify the ping pong playback mode.
|
||||
KFM_REVERSE Option for llSetKeyframedMotion(), used after KFM_MODE to specify the reverse playback mode.
|
||||
KFM_ROTATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_TRANSLATION.
|
||||
KFM_TRANSLATION Option for llSetKeyframedMotion(), used after KFM_DATA, possibly as a bitwise combination with KFM_ROTATION.
|
||||
KFM_CMD_PLAY Option for llSetKeyframedMotion(), used after KFM_COMMAND to play the motion.
|
||||
KFM_CMD_STOP Option for llSetKeyframedMotion(), used after KFM_COMMAND to stop the motion.
|
||||
KFM_CMD_PAUSE Option for llSetKeyframedMotion(), used after KFM_COMMAND to pause the motion.
|
||||
|
||||
# OSSL constants
|
||||
STATS_TIME_DILATION
|
||||
STATS_SIM_FPS
|
||||
STATS_PHYSICS_FPS
|
||||
STATS_AGENT_UPDATES
|
||||
STATS_ROOT_AGENTS
|
||||
STATS_CHILD_AGENTS
|
||||
STATS_TOTAL_PRIMS
|
||||
STATS_ACTIVE_PRIMS
|
||||
STATS_FRAME_MS
|
||||
STATS_NET_MS
|
||||
STATS_PHYSICS_MS
|
||||
STATS_IMAGE_MS
|
||||
STATS_OTHER_MS
|
||||
STATS_IN_PACKETS_PER_SECOND
|
||||
STATS_OUT_PACKETS_PER_SECOND
|
||||
STATS_UNACKED_BYTES
|
||||
STATS_AGENT_MS
|
||||
STATS_PENDING_DOWNLOADS
|
||||
STATS_PENDING_UPLOADS
|
||||
STATS_ACTIVE_SCRIPTS
|
||||
STATS_SCRIPT_LPS
|
||||
|
||||
## Constants for osNpc* functions
|
||||
NPC
|
||||
OS_NPC_CREATOR_OWNED
|
||||
OS_NPC_NOT_OWNED
|
||||
OS_NPC_SENSE_AS_AGENT
|
||||
OS_NPC_FLY
|
||||
OS_NPC_NO_FLY
|
||||
OS_NPC_LAND_AT_TARGET
|
||||
OS_NPC_SIT_NOW
|
||||
|
||||
## Missing LSL constants (from http://wiki.secondlife.com/wiki/Category:LSL_Constants)
|
||||
|
||||
# physics constants
|
||||
DENSITY For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the density.
|
||||
FRICTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the friction.
|
||||
RESTITUTION For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the restitution.
|
||||
GRAVITY_MULTIPLIER For use with llSetPhysicsMaterial() as a bitwise value in its material_bits parameter, to set the gravity multiplier.
|
||||
|
||||
##Even more missing constants, thanks to Justin Clark Casey for pointing me into the right direction
|
||||
##Liru: Were these supposed to be LSL? They're undocumented, commenting out for now.
|
||||
#CAMERA_FOCUS_OFFSET_X
|
||||
#CAMERA_FOCUS_OFFSET_Y
|
||||
#CAMERA_FOCUS_OFFSET_Z
|
||||
#CAMERA_FOCUS_X
|
||||
#CAMERA_FOCUS_Y
|
||||
#CAMERA_FOCUS_Z
|
||||
#CAMERA_POSITION_X
|
||||
#CAMERA_POSITION_Y
|
||||
#CAMERA_POSITION_Z
|
||||
#CHANGED_ANIMATION
|
||||
#CHANGED_REGION_RESTART
|
||||
#DATA_SIM_RELEASE
|
||||
#LIST_STAT_HARMONIC_MEAN
|
||||
#PARCEL_DETAILS_CLAIMDATE
|
||||
#VEHICLE_FLAG_LOCK_HOVER_HEIGHT
|
||||
#VEHICLE_FLAG_LOCK_ROTATION
|
||||
#VEHICLE_FLAG_NO_X
|
||||
#VEHICLE_FLAG_NO_Y
|
||||
#VEHICLE_FLAG_NO_Z
|
||||
#VEHICLE_RANGE_BLOCK
|
||||
#VEHICLE_ROLL_FRAME
|
||||
#LSL_STATUS_BOUNDS_ERROR
|
||||
#LSL_STATUS_INTERNAL_ERROR
|
||||
#LSL_STATUS_MALFORMED_PARAMS
|
||||
#LSL_STATUS_NOT_FOUND
|
||||
#LSL_STATUS_NOT_SUPPORTED
|
||||
#LSL_STATUS_OK
|
||||
#LSL_STATUS_TYPE_MISMATCH
|
||||
#LSL_STATUS_WHITELIST_FAILED
|
||||
|
||||
# castray constants
|
||||
RCERR_UNKNOWN Returned by llCastRay() when the raycast failed for an unspecified reason.
|
||||
RCERR_SIM_PERF_LOW Returned by llCastRay() when the raycast failed because simulator performance is low.
|
||||
RCERR_CAST_TIME_EXCEEDED Returned by llCastRay() when the raycast failed because the parcel or agent has exceeded the maximum time allowed for raycasting.
|
||||
|
||||
RC_REJECT_TYPES Option for llCastRay() used to ignore specific types of objects, followed with a bitwise combination of RC_REJECT_AGENTS, RC_REJECT_PHYSICAL, RC_REJECT_NONPHYSICAL and RC_REJECT_LAND.
|
||||
RC_DETECT_PHANTOM Option for llCastRay() followed with TRUE to detect phantom AND volume detect objects, FASLE otherwise.
|
||||
RC_DATA_FLAGS Option for llCastRay() followed with a bitwise combination of RC_GET_NORMAL, RC_GET_ROOT_KEY and RC_GET_LINK_NUM.
|
||||
RC_MAX_HITS Option for llCastRay() followed with an integer specifying the maximum number of hits to return (must be <= 256).
|
||||
|
||||
RC_REJECT_AGENTS Flag used in the RC_REJECT_TYPES mask to reject agents in llCastRay().
|
||||
RC_REJECT_PHYSICAL Flag used in the RC_REJECT_TYPES mask to reject physical objects in llCastRay().
|
||||
RC_REJECT_NONPHYSICAL Flag used in the RC_REJECT_TYPES mask to reject non-physical objects in llCastRay().
|
||||
RC_REJECT_LAND Flag used in the RC_REJECT_TYPES mask to reject land in llCastRay().
|
||||
|
||||
RC_GET_NORMAL Flag used in the RC_DATA_FLAGS mask to get hit normals in llCastRay() results.
|
||||
RC_GET_ROOT_KEY Flag used in the RC_DATA_FLAGS mask to get root keys in llCastRay() results.
|
||||
RC_GET_LINK_NUM Flag used in the RC_DATA_FLAGS mask to get link numbers in llCastRay() results.
|
||||
# Aurora-Sim Constants (\Aurora\AuroraDotNetEngine\APIs\AA_Constants.cs) -->
|
||||
ENABLE_GRAVITY enable_gravity.
|
||||
GRAVITY_FORCE_X gravity_force_x.
|
||||
GRAVITY_FORCE_Y gravity_force_y.
|
||||
GRAVITY_FORCE_Z gravity_force_z.
|
||||
ADD_GRAVITY_POINT add_gravity_point.
|
||||
ADD_GRAVITY_FORCE add_gravity_force.
|
||||
START_TIME_REVERSAL_SAVING start_time_reversal_saving.
|
||||
STOP_TIME_REVERSAL_SAVING stop_time_reversal_saving.
|
||||
START_TIME_REVERSAL start_time_reversal.
|
||||
STOP_TIME_REVERSAL stop_time_reversal.
|
||||
# Aurora botFunctions
|
||||
BOT_FOLLOW_FLAG_NONE value 0.
|
||||
BOT_FOLLOW_FLAG_INDEFINITELY value 1.
|
||||
BOT_TAG_FIND_ALL value AllBots.
|
||||
BOT_FOLLOW_WALK value 0.
|
||||
BOT_FOLLOW_RUN value 1.
|
||||
BOT_FOLLOW_FLY value 2.
|
||||
BOT_FOLLOW_TELEPORT value 3.
|
||||
BOT_FOLLOW_WAIT value 4.
|
||||
BOT_FOLLOW_TRIGGER_HERE_EVENT value 1.
|
||||
BOT_FOLLOW_FLAG_FORCEDIRECTPATH value 4.
|
||||
|
||||
# string constants
|
||||
[word .48, .72, .84]
|
||||
@@ -797,7 +833,7 @@ jump jump statement:jump label;:
|
||||
return Leave current function or event handler
|
||||
|
||||
# flow control label
|
||||
[word .47, .62, .91]
|
||||
[line .47, .62, .91]
|
||||
@ Label:Target for jump statement
|
||||
|
||||
# Comment
|
||||
|
||||
@@ -740,8 +740,8 @@ class LinuxManifest(ViewerManifest):
|
||||
if self.args['buildtype'].lower() in ['release', 'releasesse2']:
|
||||
print "* Going strip-crazy on the packaged binaries, since this is a RELEASE build"
|
||||
# makes some small assumptions about our packaged dir structure
|
||||
self.run_command("find %(d)r/bin %(d)r/lib* -type f | xargs --no-run-if-empty strip --strip-unneeded" % {'d': self.get_dst_prefix()} )
|
||||
self.run_command("find %(d)r/bin %(d)r/lib* -type f -not -name \\*.so | xargs --no-run-if-empty strip -s" % {'d': self.get_dst_prefix()} )
|
||||
self.run_command("find %(d)r/bin %(d)r/lib* -type f | xargs -d '\n' --no-run-if-empty strip --strip-unneeded" % {'d': self.get_dst_prefix()} )
|
||||
self.run_command("find %(d)r/bin %(d)r/lib* -type f -not -name \\*.so | xargs -d '\n' --no-run-if-empty strip -s" % {'d': self.get_dst_prefix()} )
|
||||
|
||||
# Fix access permissions
|
||||
self.run_command("""
|
||||
@@ -837,7 +837,7 @@ class Linux_x86_64Manifest(LinuxManifest):
|
||||
self.path("libSDL-1.2.so*")
|
||||
self.path("libELFIO.so")
|
||||
self.path("libjpeg.so*")
|
||||
self.path("libpng.so*")
|
||||
self.path("libpng*.so*")
|
||||
self.path("libz.so*")
|
||||
|
||||
# OpenAL
|
||||
|
||||
Reference in New Issue
Block a user