Adding constants to code emulation: CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES, HTTP_PRAGMA_NO_CACHE, OBJECT_ATTACHED_POINT, OBJECT_PATHFINDING_TYPE, OBJECT_ROOT, OPT_AVATAR, OPT_CHARACTER, OPT_EXCLUSION_VOLUME, OPT_LEGACY_LINKSET, OPT_MATERIAL_VOLUME, OPT_OTHER, OPT_STATIC_OBSTACLE, OPT_WALKABLE, SIM_STAT_PCT_CHARS_STEPPED; and function stubs: llAttachToAvatarTemp, llGetSimStats, llTeleportAgent, llTeleportAgentGlobalCoords.

This commit is contained in:
Ima Mechanique 2012-11-22 16:51:08 +00:00
parent 32c81be487
commit 3a0905ad7e

View file

@ -307,6 +307,7 @@ namespace LSLEditor
public static readonly integer CHANGED_REGION_START = 1024;
public static readonly integer CHANGED_MEDIA = 2048;
public static readonly integer CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES = 14;
public static readonly integer CHARACTER_AVOIDANCE_MODE = 5;
public static readonly integer CHARACTER_CMD_JUMP = 0x01;
public static readonly integer CHARACTER_CMD_STOP = 0x00;
@ -369,6 +370,7 @@ namespace LSLEditor
public static readonly integer HTTP_BODY_TRUNCATED = 0;
public static readonly integer HTTP_METHOD = 0;
public static readonly integer HTTP_MIMETYPE = 1;
public static readonly integer HTTP_PRAGMA_NO_CACHE = 6;
public static readonly integer HTTP_VERBOSE_THROTTLE = 4;
public static readonly integer HTTP_VERIFY_CERT = 3;
@ -434,12 +436,15 @@ namespace LSLEditor
public static readonly integer MASK_NEXT = 4;
public static readonly integer MASK_OWNER = 1;
public static readonly integer OBJECT_ATTACHED_POINT = 19;
public static readonly integer OBJECT_NAME = 1;
public static readonly integer OBJECT_DESC = 2;
public static readonly integer OBJECT_POS = 3;
public static readonly integer OBJECT_ROOT = 18;
public static readonly integer OBJECT_ROT = 4;
public static readonly integer OBJECT_VELOCITY = 5;
public static readonly integer OBJECT_OWNER = 6;
public static readonly integer OBJECT_PATHFINDING_TYPE = 20;
public static readonly integer OBJECT_GROUP = 7;
public static readonly integer OBJECT_CREATOR = 8;
@ -454,6 +459,15 @@ namespace LSLEditor
public static readonly integer OBJECT_TOTAL_SCRIPT_COUNT = 10;
public static readonly integer OBJECT_UNKNOWN_DETAIL = -1;
public static readonly integer OPT_AVATAR = 1;
public static readonly integer OPT_CHARACTER = 2;
public static readonly integer OPT_EXCLUSION_VOLUME = 6;
public static readonly integer OPT_LEGACY_LINKSET = 0;
public static readonly integer OPT_MATERIAL_VOLUME = 5;
public static readonly integer OPT_OTHER = -1;
public static readonly integer OPT_STATIC_OBSTACLE = 4;
public static readonly integer OPT_WALKABLE = 3;
public static readonly integer PARCEL_COUNT_TOTAL = 0;
public static readonly integer PARCEL_COUNT_OWNER = 1;
public static readonly integer PARCEL_COUNT_GROUP = 2;
@ -734,6 +748,8 @@ namespace LSLEditor
public static readonly integer REQUIRE_LINE_OF_SIGHT = 2;
public static readonly integer SIM_STAT_PCT_CHARS_STEPPED = 0;
public static readonly integer STATUS_PHYSICS = 1;
public static readonly integer STATUS_ROTATE_X = 2;
public static readonly integer STATUS_ROTATE_Y = 4;
@ -1223,9 +1239,9 @@ namespace LSLEditor
Verbose("AttachToAvatar(" + attachment + ")");
}
public void llAttachToAvatar(key avatar, integer attachment)
public void llAttachToAvatarTemp(integer AttachPoint)
{
Verbose("AttachToAvatar(" + avatar + "," + attachment + ")");
Verbose("llAttachToAvatarTemp(" + AttachPoint + ")");
}
public key llAvatarOnLinkSitTarget(integer LinkNumber)
@ -2433,6 +2449,12 @@ namespace LSLEditor
return 0;
}
public float llGetSimStats(integer StatType)
{
Verbose("llGetSimStats(" + StatType + ")");
return 0;
}
public String llGetSimulatorHostname()
{
Verbose("GetSimulatorHostname()");
@ -4148,15 +4170,25 @@ namespace LSLEditor
Verbose("TargetRemove(" + tnumber + ")");
}
public void llTeleportAgentHome(key id)
public void llTeleportAgent(key AvatarID, string LandmarkName, vector LandingPoint, vector LookAtPoint)
{
Verbose("TeleportAgentHome(" + id + ")");
Verbose("TeleportAgentHome({0}, \"{1}\", {2}, {3})", AvatarID, LandmarkName, LandingPoint, LookAtPoint);
}
public void llTeleportAgentGlobalCoords(key AvatarID, vector GlobalPosition, vector RegionPosition, vector LookAtPoint)
{
Verbose("TeleportAgentHome({0}, {1}, {2}, {3})", AvatarID, GlobalPosition, RegionPosition, LookAtPoint);
}
public void llTeleportAgentHome(key AvatarID)
{
Verbose("TeleportAgentHome({0})", AvatarID);
}
// 335
public void llTextBox(key avatar, String message, integer chat_channel)
{
Verbose("llTextBox({0},\"{1}\",{2})", avatar, message, chat_channel);
Verbose("llTextBox({0}, \"{1}\", {2})", avatar, message, chat_channel);
host.llTextBox(avatar, message, chat_channel);
}