From 8cf2630dc9058078b82814ea28fd4e5150351466 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Fri, 2 May 2008 15:29:09 +0000 Subject: From: Kurt Taylor Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture() Some cleanup of LSO script enums --- .../Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 10 ++++++++++ OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs | 12 ++++++++++++ .../ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs | 10 ++++++++-- OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSO_Enums.cs | 5 ++++- 4 files changed, 34 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 9b541c5..f7cd697 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -1368,6 +1368,11 @@ namespace OpenSim.Region.ScriptEngine.Common m_LSL_Functions.llSetVehicledoubleParam(param, value); } + public void llSetVehicleFloatParam(int param, float value) + { + m_LSL_Functions.llSetVehicleFloatParam(param, value); + } + public void llSetVehicleVectorParam(int param, vector vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); @@ -1854,6 +1859,11 @@ namespace OpenSim.Region.ScriptEngine.Common return m_LSL_Functions.llGetParcelDetails(pos, param); } + public void llSetLinkTexture(int linknumber, string texture, int face) + { + m_LSL_Functions.llSetLinkTexture(linknumber, texture, face); + } + public string llStringTrim(string src, int type) { return m_LSL_Functions.llStringTrim(src, type); diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs index ec6d0ad..ee5d52c 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs @@ -4089,6 +4089,12 @@ namespace OpenSim.Region.ScriptEngine.Common NotImplemented("llSetVehicledoubleParam"); } + public void llSetVehicleFloatParam(int param, float value) + { + m_host.AddScriptLPS(1); + NotImplemented("llSetVehicleFloatParam"); + } + public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { m_host.AddScriptLPS(1); @@ -5876,6 +5882,12 @@ namespace OpenSim.Region.ScriptEngine.Common return ret; } + public void llSetLinkTexture(int linknumber, string texture, int face) + { + m_host.AddScriptLPS(1); + NotImplemented("llSetLinkTexture"); + } + public string llStringTrim(string src, int type) { m_host.AddScriptLPS(1); diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs index ab9f463..6742ed5 100644 --- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs @@ -450,6 +450,8 @@ namespace OpenSim.Region.ScriptEngine.Common void llSetVehicleType(int type); //wiki: llSetVehicledoubleParam(integer param, double value) void llSetVehicledoubleParam(int param, double value); + // wiki: llSetVehicleFloatParam(integer param, float value) + void llSetVehicleFloatParam(int param, float value); //wiki: llSetVehicleVectorParam(integer param, vector vec) void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec); //wiki: llSetVehicleRotationParam(integer param, rotation rot) @@ -628,7 +630,7 @@ namespace OpenSim.Region.ScriptEngine.Common void llResetLandBanList(); //wiki: llResetLandPassList() void llResetLandPassList(); - //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) + //wiki: integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide); //wiki: list llGetParcelPrimOwners( vector pos ) LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos); @@ -636,9 +638,13 @@ namespace OpenSim.Region.ScriptEngine.Common int llGetObjectPrimCount(string object_id); //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide); - //wiki list llGetParcelDetails(vector pos, list params) + //wiki: llGetParcelDetails(vector pos, list params) LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param); + //wiki: llSetLinkTexture(integer linknumber, string texture, integer face ) + void llSetLinkTexture(int linknumber, string texture, int face); + //wiki: string llStringTrim(string src, int type) string llStringTrim(string src, int type); + //wiki: LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args) LSL_Types.list llGetObjectDetails(string id, LSL_Types.list args); void osSetRegionWaterHeight(double height); diff --git a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSO_Enums.cs b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSO_Enums.cs index 0a76039..7b4a1af 100644 --- a/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSO_Enums.cs +++ b/OpenSim/Region/ScriptEngine/LSOEngine/LSO/LSO_Enums.cs @@ -554,7 +554,10 @@ namespace OpenSim.Region.ScriptEngine.LSOEngine.LSO llGetParcelPrimOwners = 324, llGetObjectPrimCount = 325, llGetParcelMaxPrims = 326, - llGetParcelDetails = 327 + llGetParcelDetails = 327, + llSetLinkTexture = 328, + llStringTrim = 329, + llGetObjectDetails = 330 } } } -- cgit v1.1