From: Kurt Taylor <krtaylor@us.ibm.com>

Adds "not implemented" stubs for llSetVehicleFloatParam() and llSetLinkTexture()
Some cleanup of LSO script enums
0.6.0-stable
Justin Clarke Casey 2008-05-02 15:29:09 +00:00
parent 4a8f432441
commit 8cf2630dc9
4 changed files with 34 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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
}
}
}