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

Patch to fix the passed parms and properly show llTakeCamera and
llReleaseCamera as deprecated. Patch for both XEngine and DotNetEngine.
0.6.0-stable
Dr Scofield 2008-06-28 07:30:49 +00:00
parent ec7110f2cf
commit 55a4cf33a3
6 changed files with 24 additions and 24 deletions

View File

@ -760,14 +760,14 @@ namespace OpenSim.Region.ScriptEngine.Common
m_LSL_Functions.llDetachFromAvatar();
}
public void llTakeCamera()
public void llTakeCamera(string avatar)
{
m_LSL_Functions.llTakeCamera();
m_LSL_Functions.llTakeCamera(avatar);
}
public void llReleaseCamera()
public void llReleaseCamera(string avatar)
{
m_LSL_Functions.llReleaseCamera();
m_LSL_Functions.llReleaseCamera(avatar);
}
public string llGetOwner()

View File

@ -2119,16 +2119,16 @@ namespace OpenSim.Region.ScriptEngine.Common
NotImplemented("llDetachFromAvatar");
}
public void llTakeCamera()
public void llTakeCamera(string avatar)
{
m_host.AddScriptLPS(1);
NotImplemented("llTakeCamera");
Deprecated("llTakeCamera");
}
public void llReleaseCamera()
public void llReleaseCamera(string avatar)
{
m_host.AddScriptLPS(1);
NotImplemented("llReleaseCamera");
Deprecated("llReleaseCamera");
}
public string llGetOwner()

View File

@ -211,10 +211,10 @@ namespace OpenSim.Region.ScriptEngine.Common
void llAttachToAvatar(int attachment);
//wiki: llDetachFromAvatar()
void llDetachFromAvatar();
//wiki: (deprecated) llTakeCamera()
void llTakeCamera();
//wiki: (deprecated) llReleaseCamera()
void llReleaseCamera();
//wiki: (deprecated) llTakeCamera(key avatar)
void llTakeCamera(string avatar);
//wiki: (deprecated) llReleaseCamera(key avatar)
void llReleaseCamera(string avatar);
//wiki: key llGetOwner()
string llGetOwner();
//wiki: llInstantMessage(key user, string message)

View File

@ -1975,16 +1975,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
NotImplemented("llDetachFromAvatar");
}
public void llTakeCamera()
public void llTakeCamera(string avatar)
{
m_host.AddScriptLPS(1);
NotImplemented("llTakeCamera");
Deprecated("llTakeCamera");
}
public void llReleaseCamera()
public void llReleaseCamera(string avatar)
{
m_host.AddScriptLPS(1);
NotImplemented("llReleaseCamera");
Deprecated("llReleaseCamera");
}
public string llGetOwner()

View File

@ -209,10 +209,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
void llAttachToAvatar(int attachment);
//wiki: llDetachFromAvatar()
void llDetachFromAvatar();
//wiki: (deprecated) llTakeCamera()
void llTakeCamera();
//wiki: (deprecated) llReleaseCamera()
void llReleaseCamera();
//wiki: (deprecated) llTakeCamera(key avatar)
void llTakeCamera(string avatar);
//wiki: (deprecated) llReleaseCamera(key avatar)
void llReleaseCamera(string avatar);
//wiki: key llGetOwner()
string llGetOwner();
//wiki: llInstantMessage(key user, string message)

View File

@ -640,14 +640,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_LSL_Functions.llDetachFromAvatar();
}
public void llTakeCamera()
public void llTakeCamera(string avatar)
{
m_LSL_Functions.llTakeCamera();
m_LSL_Functions.llTakeCamera(avatar);
}
public void llReleaseCamera()
public void llReleaseCamera(string avatar)
{
m_LSL_Functions.llReleaseCamera();
m_LSL_Functions.llReleaseCamera(avatar);
}
public string llGetOwner()