diff options
author | Melanie | 2013-06-06 03:03:05 +0100 |
---|---|---|
committer | Melanie | 2013-06-06 03:03:05 +0100 |
commit | 81ad9255b5f44d988bf37cfaf6dc59b05fd744b7 (patch) | |
tree | 201e5f412c3f12e0f94424362fffb0c635343af3 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Committing Avination's Keyframe module. This is not hooked up yet and will do... (diff) | |
download | opensim-SC-81ad9255b5f44d988bf37cfaf6dc59b05fd744b7.zip opensim-SC-81ad9255b5f44d988bf37cfaf6dc59b05fd744b7.tar.gz opensim-SC-81ad9255b5f44d988bf37cfaf6dc59b05fd744b7.tar.bz2 opensim-SC-81ad9255b5f44d988bf37cfaf6dc59b05fd744b7.tar.xz |
Hook up Keyframe motion to almost everything. Failing to cross a sim border
may yield unexpected results in some cases. No database persistence yet,
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 13 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 5 |
2 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index dc5ef13..559068d 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -748,6 +748,19 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
748 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; | 748 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; |
749 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; | 749 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; |
750 | 750 | ||
751 | public const int KFM_MODE = 1; | ||
752 | public const int KFM_LOOP = 1; | ||
753 | public const int KFM_REVERSE = 3; | ||
754 | public const int KFM_FORWARD = 0; | ||
755 | public const int KFM_PING_PONG = 2; | ||
756 | public const int KFM_DATA = 2; | ||
757 | public const int KFM_TRANSLATION = 2; | ||
758 | public const int KFM_ROTATION = 1; | ||
759 | public const int KFM_COMMAND = 0; | ||
760 | public const int KFM_CMD_PLAY = 0; | ||
761 | public const int KFM_CMD_STOP = 1; | ||
762 | public const int KFM_CMD_PAUSE = 2; | ||
763 | |||
751 | /// <summary> | 764 | /// <summary> |
752 | /// process name parameter as regex | 765 | /// process name parameter as regex |
753 | /// </summary> | 766 | /// </summary> |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index c7a7cf6..398c125 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -554,6 +554,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
554 | return m_LSL_Functions.llGetLinkNumberOfSides(link); | 554 | return m_LSL_Functions.llGetLinkNumberOfSides(link); |
555 | } | 555 | } |
556 | 556 | ||
557 | public void llSetKeyframedMotion(LSL_List frames, LSL_List options) | ||
558 | { | ||
559 | m_LSL_Functions.llSetKeyframedMotion(frames, options); | ||
560 | } | ||
561 | |||
557 | public LSL_Integer llGetListEntryType(LSL_List src, int index) | 562 | public LSL_Integer llGetListEntryType(LSL_List src, int index) |
558 | { | 563 | { |
559 | return m_LSL_Functions.llGetListEntryType(src, index); | 564 | return m_LSL_Functions.llGetListEntryType(src, index); |