Merge branch 'dev-next' into bug-SF-3489102

This commit is contained in:
Ima Mechanique 2012-11-22 16:52:02 +00:00
commit 2d836703db
38 changed files with 1390 additions and 2073 deletions

View file

@ -45,6 +45,7 @@ using System;
using System.IO;
using System.Xml;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using LSLEditor.Docking;
using LSLEditor.Helpers;
@ -59,6 +60,7 @@ namespace LSLEditor
private Guid m_Guid;
// private bool sOutline = true;
public LSLEditorForm parent;
public Encoding encodedAs = null;
private const int WM_NCACTIVATE = 0x0086;
protected override void WndProc(ref Message m)
@ -287,7 +289,7 @@ namespace LSLEditor
this.FullPathName = Path.GetFileName(strPath);
else
this.FullPathName = strPath;
this.numberedTextBoxUC1.TextBox.LoadFile(strPath);
this.encodedAs = this.numberedTextBoxUC1.TextBox.LoadFile(strPath);
if (!this.IsScript)
return;
@ -317,12 +319,37 @@ namespace LSLEditor
public void SaveCurrentFile(string strPath)
{
this.FullPathName = strPath;
this.numberedTextBoxUC1.TextBox.SaveCurrentFile(strPath);
Encoding encodeAs = this.encodedAs;
if (this.IsScript && encodeAs == null)
{
switch (Properties.Settings.Default.OutputFormat)
{
case "UTF8":
encodeAs = Encoding.UTF8;
break;
case "Unicode":
encodeAs = Encoding.Unicode;
break;
case "BigEndianUnicode":
encodeAs = Encoding.BigEndianUnicode;
break;
default:
encodeAs = Encoding.Default;
break;
}
}
else if (encodeAs == null)
{
encodeAs = Encoding.UTF8;
}
this.numberedTextBoxUC1.TextBox.SaveCurrentFile(strPath, encodeAs);
this.encodedAs = encodeAs;
}
public void SaveCurrentFile()
{
this.numberedTextBoxUC1.TextBox.SaveCurrentFile(this.FullPathName);
this.SaveCurrentFile(this.FullPathName);
}
public bool Dirty

View file

@ -914,6 +914,9 @@ namespace LSLEditor
{
string strTextToPaste = Clipboard.GetDataObject().GetData(DataFormats.Text, true).ToString().Replace("\r", "");
this.ColoredText = strTextToPaste;
#if DEBUG
// TODO Add code to show encoding used in a dialogue or the status bar.
#endif
}
}
@ -2173,28 +2176,38 @@ namespace LSLEditor
return result;
}
public void SaveCurrentFile(string strPath)
public void SaveCurrentFile(string strPath, Encoding enc)
{
try
{
Encoding enc = null;
//Encoding enc = null;
if (!Directory.Exists(Path.GetDirectoryName(strPath)))
Directory.CreateDirectory(Path.GetDirectoryName(strPath));
switch (Properties.Settings.Default.OutputFormat)
{
case "UTF8":
enc = Encoding.UTF8;
break;
case "Unicode":
enc = Encoding.Unicode;
break;
case "BigEndianUnicode":
enc = Encoding.BigEndianUnicode;
break;
default:
enc = Encoding.Default;
break;
}
/*
{
switch (Properties.Settings.Default.OutputFormat)
{
case "UTF8":
enc = Encoding.UTF8;
break;
case "Unicode":
enc = Encoding.Unicode;
break;
case "BigEndianUnicode":
enc = Encoding.BigEndianUnicode;
break;
default:
enc = Encoding.Default;
break;
}
}
else
{
enc = Encoding.UTF8;
}
* */
StreamWriter sw;
if (enc != Encoding.UTF8)
{
@ -2215,8 +2228,9 @@ namespace LSLEditor
}
}
public new void LoadFile(string path)
public new Encoding LoadFile(string path)
{
Encoding fileEncoding = null;
if (path.StartsWith("http://"))
{
System.Net.WebClient webClient = new System.Net.WebClient();
@ -2227,14 +2241,21 @@ namespace LSLEditor
if (File.Exists(path))
{
// TODO needs to be refactored to read the file in once and pass the byte array to be checked.
Encoding fileEncoding = TextFileEncodingDetector.DetectTextFileEncoding(path, Encoding.UTF8);
StreamReader sr = new StreamReader(path, fileEncoding);
this.Text = sr.ReadToEnd();
sr.Close();
fileEncoding = TextFileEncodingDetector.DetectTextFileEncoding(path, Encoding.UTF8);
try
{
StreamReader sr = new StreamReader(path, fileEncoding);
this.Text = sr.ReadToEnd();
sr.Close();
}
catch
{
}
}
}
// Fresh files can not be dirty
ClearUndoStack();
return fileEncoding;
}
}
}

Binary file not shown.

File diff suppressed because it is too large Load diff

View file

@ -190,7 +190,7 @@ namespace LSLEditor
}
catch (Exception exception)
{
MessageBox.Show("Error:" + OopsFormatter.ApplyFormatting(exception.Message), "Oops");
MessageBox.Show("Error: " + OopsFormatter.ApplyFormatting(exception.Message), "Oops");
}
}
@ -296,21 +296,34 @@ namespace LSLEditor
private void Start(string[] args)
{
string fileFilterNotes = "Notecard files (*.txt)|*.txt|All files (*.*)|*.*";
string fileFilterScripts = "Secondlife script files (*.lsl)|*.lsl|All files (*.*)|*.*";
string fileFilterSolutions = "LSLEditor Solution File (*.sol)|*.sol|All Files (*.*)|*.*";
this.ConfLSL = GetXmlFromResource(Properties.Settings.Default.ConfLSL);
this.ConfCSharp = GetXmlFromResource(Properties.Settings.Default.ConfCSharp);
this.openFileDialog1.FileName = "";
this.openFileDialog1.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.openFileDialog1.Filter = "Secondlife script files (*.lsl)|*.lsl|All files (*.*)|*.*";
this.openNoteFilesDialog.FileName = "";
this.openNoteFilesDialog.Filter = fileFilterNotes;
this.openNoteFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.saveFileDialog1.FileName = "";
this.saveFileDialog1.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.saveFileDialog1.Filter = "Secondlife script files (*.lsl)|*.lsl|All files (*.*)|*.*";
this.saveNoteFilesDialog.FileName = "";
this.saveNoteFilesDialog.Filter = fileFilterNotes;
this.saveNoteFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.openFileDialog2.Multiselect = false;
this.openFileDialog2.FileName = "";
this.openFileDialog2.Filter = "LSLEditor Solution File (*.sol)|*.sol|All Files (*.*)|*.*";
this.openFileDialog2.InitialDirectory = Properties.Settings.Default.ProjectLocation;
this.openScriptFilesDialog.FileName = "";
this.openScriptFilesDialog.Filter = fileFilterScripts;
this.openScriptFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.saveScriptFilesDialog.FileName = "";
this.saveScriptFilesDialog.Filter = fileFilterScripts;
this.saveScriptFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
this.openSolutionFilesDialog.FileName = "";
this.openSolutionFilesDialog.Filter = fileFilterSolutions;
this.openSolutionFilesDialog.InitialDirectory = Properties.Settings.Default.ProjectLocation;
this.openSolutionFilesDialog.Multiselect = false;
Version version = Assembly.GetExecutingAssembly().GetName().Version;
@ -358,8 +371,8 @@ namespace LSLEditor
continue;
}
EditForm editForm = new EditForm(this);
editForm.LoadFile(strFileName);
editForm.TextBox.OnCursorPositionChanged += new SyntaxRichTextBox.CursorPositionChangedHandler(TextBox_OnCursorPositionChanged);
editForm.LoadFile(strFileName);
editForm.TextBox.OnCursorPositionChanged += new SyntaxRichTextBox.CursorPositionChangedHandler(TextBox_OnCursorPositionChanged);
AddForm(editForm);
}
if (blnRun)
@ -567,12 +580,28 @@ namespace LSLEditor
}
private void ReadFile()
private void ReadNoteFiles()
{
this.openFileDialog1.Multiselect = true;
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
this.openNoteFilesDialog.Multiselect = true;
if (this.openNoteFilesDialog.ShowDialog() == DialogResult.OK)
{
foreach (string strFileName in this.openFileDialog1.FileNames)
foreach (string strFileName in this.openNoteFilesDialog.FileNames)
{
if (File.Exists(strFileName))
{
OpenFile(strFileName, Guid.NewGuid(), false);
UpdateRecentFileList(strFileName);
}
}
}
}
private void ReadScriptFiles()
{
this.openScriptFilesDialog.Multiselect = true;
if (this.openScriptFilesDialog.ShowDialog() == DialogResult.OK)
{
foreach (string strFileName in this.openScriptFilesDialog.FileNames)
{
if (File.Exists(strFileName))
{
@ -594,12 +623,12 @@ namespace LSLEditor
DialogResult dialogresult = DialogResult.OK;
if (editForm.FullPathName == Properties.Settings.Default.ExampleName || blnSaveAs)
{
this.saveFileDialog1.FileName = editForm.FullPathName;
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
saveDialog.FileName = editForm.FullPathName;
string strExtension = Path.GetExtension(editForm.FullPathName);
this.saveFileDialog1.Filter = "Secondlife script files (*" + strExtension + ")|*" + strExtension + "|All files (*.*)|*.*";
dialogresult = this.saveFileDialog1.ShowDialog();
if (dialogresult == DialogResult.OK)
editForm.FullPathName = this.saveFileDialog1.FileName;
dialogresult = saveDialog.ShowDialog();
if (dialogresult == DialogResult.OK)
editForm.FullPathName = saveDialog.FileName;
}
if (dialogresult == DialogResult.OK)
{
@ -617,7 +646,9 @@ namespace LSLEditor
if (editForm == null)
return false;
// save as!!
return SaveFile(editForm,true);
// TODO: Refactor saveDialog to be a property of the form
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
return SaveFile(editForm, true);
}
@ -1038,9 +1069,12 @@ namespace LSLEditor
}
if (dialogResult == DialogResult.Yes)
{
// TODO: Refactor saveDialog to be a property of the form
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
if(!SaveFile(editForm, false))
return false;
}
if (dialogResult == DialogResult.No)
{
editForm.Dirty = false;
@ -1534,10 +1568,15 @@ namespace LSLEditor
this.newProjectToolStripMenuItem.Enabled = !blnVisible;
}
private void openFileToolStripMenuItem_Click(object sender, EventArgs e)
{
ReadFile();
}
private void openNoteFilesToolStripMenuItem_Click(object sender, EventArgs e)
{
ReadNoteFiles();
}
private void openScriptFilesToolStripMenuItem_Click(object sender, EventArgs e)
{
ReadScriptFiles();
}
private void closeFileToolStripMenuItem_Click(object sender, EventArgs e)
{
@ -1579,12 +1618,12 @@ namespace LSLEditor
#region SolutionExplorer
private void openProjectSolutionToolStripMenuItem_Click(object sender, EventArgs e)
{
if (this.openFileDialog2.ShowDialog(this) == DialogResult.OK)
if (this.openSolutionFilesDialog.ShowDialog(this) == DialogResult.OK)
{
if (File.Exists(this.openFileDialog2.FileName))
if (File.Exists(this.openSolutionFilesDialog.FileName))
{
if(CloseAllOpenWindows())
this.SolutionExplorer.OpenSolution(this.openFileDialog2.FileName);
this.SolutionExplorer.OpenSolution(this.openSolutionFilesDialog.FileName);
}
}
}
@ -1788,7 +1827,7 @@ namespace LSLEditor
if (editForm != null)
{
this.saveToolStripMenuItem.Text = "Save " + editForm.ScriptName;
this.saveFileDialog1.FileName = editForm.ScriptName;
this.saveScriptFilesDialog.FileName = editForm.ScriptName;
this.saveToolStripMenuItem.Enabled = editForm.Dirty;
this.closeFileToolStripMenuItem.Enabled = true;
}

View file

@ -118,28 +118,34 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>293, 17</value>
</metadata>
<metadata name="openFileDialog0.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="saveFileDialog0.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>157, 17</value>
</metadata>
<metadata name="openFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>271, 17</value>
<value>563, 17</value>
</metadata>
<metadata name="saveFileDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>401, 17</value>
<value>703, 17</value>
</metadata>
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>671, 17</value>
<value>17, 56</value>
</metadata>
<metadata name="contextMenuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>126, 17</value>
<value>408, 17</value>
</metadata>
<metadata name="pageSetupDialog1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>529, 17</value>
<value>839, 17</value>
</metadata>
<metadata name="openFileDialog2.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 54</value>
<value>133, 56</value>
</metadata>
<metadata name="toolTip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>157, 54</value>
<value>273, 56</value>
</metadata>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>53</value>

View file

@ -1,103 +1,103 @@
// /**
// ********
// *
// * ORIGINAL CODE BASE IS Copyright (C) 2006-2010 by Alphons van der Heijden
// * The code was donated on 4/28/2010 by Alphons van der Heijden
// * To Brandon 'Dimentox Travanti' Husbands & Malcolm J. Kudra, who in turn License under the GPLv2.
// * In agreement with Alphons van der Heijden's wishes.
// *
// * The community would like to thank Alphons for all of his hard work, blood sweat and tears.
// * Without his work the community would be stuck with crappy editors.
// *
// * The source code in this file ("Source Code") is provided by The LSLEditor Group
// * to you under the terms of the GNU General Public License, version 2.0
// * ("GPL"), unless you have obtained a separate licensing agreement
// * ("Other License"), formally executed by you and The LSLEditor Group. Terms of
// * the GPL can be found in the gplv2.txt document.
// *
// ********
// * GPLv2 Header
// ********
// * LSLEditor, a External editor for the LSL Language.
// * Copyright (C) 2010 The LSLEditor Group.
//
// * This program is free software; you can redistribute it and/or
// * modify it under the terms of the GNU General Public License
// * as published by the Free Software Foundation; either version 2
// * of the License, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
// * along with this program; if not, write to the Free Software
// * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// ********
// *
// * The above copyright notice and this permission notice shall be included in all
// * copies or substantial portions of the Software.
// *
// ********
// */
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("LSL-Editor Community Edition")]
[assembly: AssemblyDescription("LSL-Editor for editing and compiling LSL scripts")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("2006 - 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.46.0.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyName("")]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyFileVersionAttribute("2.46.0.0")]
// /**
// ********
// *
// * ORIGINAL CODE BASE IS Copyright (C) 2006-2010 by Alphons van der Heijden
// * The code was donated on 4/28/2010 by Alphons van der Heijden
// * To Brandon 'Dimentox Travanti' Husbands & Malcolm J. Kudra, who in turn License under the GPLv2.
// * In agreement with Alphons van der Heijden's wishes.
// *
// * The community would like to thank Alphons for all of his hard work, blood sweat and tears.
// * Without his work the community would be stuck with crappy editors.
// *
// * The source code in this file ("Source Code") is provided by The LSLEditor Group
// * to you under the terms of the GNU General Public License, version 2.0
// * ("GPL"), unless you have obtained a separate licensing agreement
// * ("Other License"), formally executed by you and The LSLEditor Group. Terms of
// * the GPL can be found in the gplv2.txt document.
// *
// ********
// * GPLv2 Header
// ********
// * LSLEditor, a External editor for the LSL Language.
// * Copyright (C) 2010 The LSLEditor Group.
//
// * This program is free software; you can redistribute it and/or
// * modify it under the terms of the GNU General Public License
// * as published by the Free Software Foundation; either version 2
// * of the License, or (at your option) any later version.
// *
// * This program is distributed in the hope that it will be useful,
// * but WITHOUT ANY WARRANTY; without even the implied warranty of
// * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// * GNU General Public License for more details.
// *
// * You should have received a copy of the GNU General Public License
// * along with this program; if not, write to the Free Software
// * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// ********
// *
// * The above copyright notice and this permission notice shall be included in all
// * copies or substantial portions of the Software.
// *
// ********
// */
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("LSL-Editor Community Edition")]
[assembly: AssemblyDescription("LSL-Editor for editing and compiling LSL scripts")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("2006 - 2012")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.47.0.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyName("")]
[assembly: ComVisibleAttribute(false)]
[assembly: AssemblyFileVersionAttribute("2.47.0.0")]

View file

@ -222,6 +222,13 @@
<Argument name="attachment" wild="ATTACH_.*" />
</Word>
<Word name="llAttachToAvatarTemp">
void llAttachToAvatarTemp(integer AttachPoint);
As llAttachToAvatar, with the exception that the object will not create new inventory for the user, and will disappear on detach or disconnect.
<Argument name="attachment" wild="ATTACH_.*" />
</Word>
<Word name="llAvatarOnLinkSitTarget">
key llAvatarOnLinkSitTarget(integer iLinkNumber);
@ -301,19 +308,20 @@
</Word>
<Word name="llClearLinkMedia">
integer llClearLinkMedia(integer Face);
integer llClearLinkMedia(integer Link, integer Face);
Clears (deletes) the media and all parameters from the given prim face.
Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
</Word>
<Word name="llClearPrimMedia">
integer llClearPrimMedia( integer face );
integer llClearPrimMedia(integer Link, integer Face );
Clears (deletes) the media and all params from the given face.
Clears (deletes) the media and all params from the given Face.
Returns an integer that is a STATUS_* flag which details the success/failure of the operation.
<Argument name="face">face number</Argument>
<Argument name="Link">Link number</Argument>
<Argument name="Face">Face number</Argument>
</Word>
<Word name="llCloseRemoteDataChannel">
@ -713,7 +721,7 @@
<Word name="llGetAgentList">
list llGetAgentList( integer Scope, list Options );
Returns a list of agents from the specified scope (parcel, owner's parcel, region).
</Word>
@ -1338,6 +1346,13 @@
Resets TRUE if script name is running
</Word>
<Word name="llGetSimStats">
float llGetSimStats(integer StatType);
Returns a float that is the requested statistic.
<Argument name="StatType" type="integer">Statistic type. Currently only SIM_STAT_PCT_CHARS_STEPPED is supported.</Argument>
</Word>
<Word name="llGetSimulatorHostname">
string llGetSimulatorHostname();
@ -3125,6 +3140,27 @@
Remove target number tnumber.
</Word>
<Word name="llTeleportAgent">
void llTeleportAgent(key AgentID, string LandmarkName, vector Position, vector LookAtPoint)
Requests a teleport of avatar to a landmark stored in the object's inventory. If no landmark is provided (an empty string), the avatar is teleported to the location position in the current region. In either case, the avatar is turned to face the position given by look_at in local coordinates.
Requires the PERMISSION_TELEPORT permission. This function can only teleport the owner of the object.
<Argument name="AvatarID" type="key">UUID of avatar.</Argument>
<Argument name="LandmarkName" type="string">Name of landmark (in object contents), or empty string, to use.</Argument>
<Argument name="Position" type="vector">The position within the local region to teleport the avatar to, if no landmark was provided.</Argument>
<Argument name="LookAtPoint" type="vector">The position within the target region that the avatar should be turned to face upon arrival.</Argument>
</Word>
<Word name="llTeleportAgentGlobalCoords">
void llTeleportAgent(key AvatarID, string LandmarkName, vector Position, vector LookAtPoint)
Teleports an agent to set of a region_coordinates within a region at the specified global_coordinates. The agent lands facing the position defined by look_at local coordinates.
<Argument name="AvatarID" type="key">UUID of avatar.</Argument>
<Argument name="GlobalPosition" type="vector">Global coordinates of the destination region. Can be retrieved by using llRequestSimulatorData(region_name, DATA_SIM_POS).</Argument>
<Argument name="RegionPosition" type="vector">The position within the target region to teleport the avatar to, if no landmark was provided.</Argument>
<Argument name="LookAtPoint" type="vector">The position within the target region that the avatar should be turned to face upon arrival.</Argument>
</Word>
<Word name="llTeleportAgentHome">
llTeleportAgentHome(key id);
@ -3726,6 +3762,7 @@
If this permission enabled, the object can successfully
call the llTakeControls libray call.
</Word>
<Word name="PERMISSION_TELEPORT" value="0x1000" />
<Word name="PERMISSION_TRACK_CAMERA" value="" />
<Word name="PERMISSION_TRIGGER_ANIMATION" value="">
If this permission is enabled, the object can successfully
@ -4638,31 +4675,42 @@
<WordsSubsection name="C.25. Character constants">
<Word name="AVOID_CHARACTERS" type="integer" value="1" status="beta"></Word>
<Word name="AVOID_DYNAMIC_OBSTACLES" type="integer" value="2" status="beta"></Word>
<Word name="CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES" type="integer" value="14">If set to false, character will not attempt to catch up on lost time when pathfinding performance is low, potentially providing more reliable movement (albeit while potentially appearing to be more stuttery). Default is true to match pre-existing behavior.</Word>
<Word name="CHARACTER_AVOIDANCE_MODE" type="integer" value="5" status="beta">Allows you to specify that a character should not try to avoid other characters, should not try to avoid dynamic obstacles (relatively fast moving objects and avatars), or both.</Word>
<Word name="CHARACTER_CMD_JUMP" type="integer" value="0x01" status="beta">Makes the character jump. Requires an additional parameter, the height to jump, between 0.1m and 2.0m. This must be provided as the first element of the llExecCharacterCmd option list.</Word>
<Word name="CHARACTER_CMD_SMOOTH_STOP" type="integer" value="2" status="beta" />
<Word name="CHARACTER_CMD_STOP" type="integer" value="0x00" status="beta">Stops any current pathfinding operation.</Word>
<Word name="CHARACTER_DESIRED_SPEED" type="integer" value="1" status="beta">Speed of pursuit in meters per second.</Word>
<Word name="CHARACTER_DESIRED_TURN_SPEED" type="integer" value="12" status="beta">The character&apos;s maximum speed while turning--note that this is only loosely enforced (i.e., a character may turn at higher speeds under certain conditions).</Word>
<Word name="CHARACTER_LENGTH" type="integer" value="3" status="beta">Set collision capsule length - cannot be less than two times the radius.</Word>
<Word name="CHARACTER_TYPE" type="integer" value="6" status="beta">Specifies which walk-ability coefficient will be used by this character.</Word>
<Word name="CHARACTER_MAX_ACCEL" type="integer" value="8" status="beta">The character's maximum acceleration rate.</Word>
<Word name="CHARACTER_MAX_ANGULAR_ACCEL" type="integer" value="11" status="beta">The character's maximum angular acceleration about the Z axis.</Word>
<Word name="CHARACTER_MAX_ANGULAR_SPEED" type="integer" value="10" status="beta">The character's maximum angular speed about the Z axis.</Word>
<Word name="CHARACTER_MAX_DECEL" type="integer" value="9" status="beta">The character's maximum deceleration rate.</Word>
<Word name="CHARACTER_MAX_ACCEL" type="integer" value="8" status="beta">The character&apos;s maximum acceleration rate.</Word>
<Word name="CHARACTER_MAX_DECEL" type="integer" value="9" status="beta">The character&apos;s maximum deceleration rate.</Word>
<Word name="CHARACTER_MAX_SPEED" type="integer" value="13" status="beta">The character&apos;s maximum speed.</Word>
<Word name="CHARACTER_MAX_TURN_RADIUS" type="integer" value="10" status="beta">The character&apos;s turn radius when travelling at CHARACTER_MAX_TURN_SPEED.</Word>
<Word name="CHARACTER_ORIENTATION" type="integer" value="4" status="beta">Valid options are: VERTICAL, HORIZONTAL.</Word>
<Word name="CHARACTER_RADIUS" type="integer" value="2" status="beta">Set collision capsule radius.</Word>
<Word name="CHARACTER_TURN_SPEED_MULTIPLIER" type="integer" value="12" status="beta">When a character has to make certain kinds of turns, this value is multiplied by the character's desired speed and the character is slowed down to the new value before being allowed to turn.</Word>
<Word name="CHARACTER_TYPE" type="integer" value="6" status="beta">Specifies which walk-ability coefficient will be used by this character.</Word>
<Word name="CHARACTER_TYPE_A" type="integer" value="0" status="beta" />
<Word name="CHARACTER_TYPE_B" type="integer" value="1" status="beta" />
<Word name="CHARACTER_TYPE_C" type="integer" value="2" status="beta" />
<Word name="CHARACTER_TYPE_D" type="integer" value="3" status="beta" />
<Word name="CHARACTER_TYPE_NONE" type="integer" value="4" status="beta" />
<Word name="PURSUIT_FUZZ_FACTOR" type="integer" value="3" status="beta">Selects a random destination near the offset.</Word>
<Word name="PURSUIT_INTERCEPT" type="integer" value="4" status="beta">Define whether the character attempts to predict the target's location.</Word>
<Word name="PURSUIT_OFFSET" type="integer" value="1" status="beta">Go to a position offset from the target.</Word>
<Word name="REQUIRE_LINE_OF_SIGHT" type="integer" value="2" status="beta">Define whether the character needs a line-of-sight to give chase.</Word>
<Word name="FORCE_DIRECT_PATH" type="integer" value="1" status="beta">Makes character navigate in a straight line toward pos. May be set to TRUE or FALSE.</Word>
<Word name="GET_NAV_POINT_RADIUS" type="integer" value="0" status="beta" />
<Word name="PATROL_PAUSE_AT_WAYPOINTS" type="integer" value="0" status="beta" />
<Word name="PURSUIT_GOAL_TOLERANCE" type="integer" value="5" />
<Word name="TRAVERSAL_TYPE" type="integer" value="7" status="beta">One of TRAVERSAL_TYPE_FAST, TRAVERSAL_TYPE_SLOW, and TRAVERSAL_TYPE_NONE.</Word>
<Word name="TRAVERSAL_TYPE_FAST" type="integer" value="1" status="beta" />
<Word name="TRAVERSAL_TYPE_NONE" type="integer" value="2" status="beta" />
<Word name="TRAVERSAL_TYPE_SLOW" type="integer" value="0" status="beta" />
<Word name="WANDER_PAUSE_AT_WAYPOINTS" type="integer" value="0"></Word>
<Word name="PURSUIT_FUZZ_FACTOR" type="integer" value="3" status="beta">Selects a random destination near the offset.</Word>
<Word name="PURSUIT_INTERCEPT" type="integer" value="4" status="beta">Define whether the character attempts to predict the target's location.</Word>
<Word name="PURSUIT_OFFSET" type="integer" value="1" status="beta">Go to a position offset from the target.</Word>
<Word name="REQUIRE_LINE_OF_SIGHT" type="integer" value="2">Define whether the character needs a line-of-sight to give chase.</Word>
<Word name="HORIZONTAL" type="integer" value="1" />
<Word name="VERTICAL" type="integer" value="0"></Word>
</WordsSubsection>
<WordsSubsection name="C.99. Miscellaneous constants.">
@ -4670,7 +4718,7 @@
<Word name="AGENT_LIST_PARCEL" />
<Word name="AGENT_LIST_PARCEL_OWNER" />
<Word name="AGENT_LIST_REGION" />
<Word name="CAMERA_ACTIVE" />
<Word name="CAMERA_BEHINDNESS_ANGLE" />
<Word name="CAMERA_BEHINDNESS_LAG" />
@ -4727,15 +4775,16 @@
<Word name="ESTATE_ACCESS_BANNED_AGENT_ADD" value="64">Add the agent to this estate's Banned residents list.</Word>
<Word name="ESTATE_ACCESS_BANNED_AGENT_REMOVE" value="128">Remove the agent from this estate's Banned residents list.</Word>
<Word name="FORCE_DIRECT_PATH" type="integer" value="" status="beta"></Word>
<Word name="FRICTION">Used with llSetPhysicsMaterial to enable the friction value. Must be between 0.0 and 255.0</Word>
<Word name="GRAVITY_MULTIPLIER" value="8">Used with llSetPhysicsMaterial to enable the gravity multiplier value. Must be between -1.0 and +28.0</Word>
<Word name="HTTP_BODY_MAXLENGTH" />
<Word name="HTTP_BODY_TRUNCATED" />
<Word name="HTTP_CUSTOM_HEADER" value="5">Usage: 'HTTP_CUSTOM_HEADER, string, string'. Add an extra custom HTTP header to the request. The first string is the name of the parameter to change, e.g. "Pragma", and the second string is the value, e.g. "no-cache".</Word>
<Word name="HTTP_METHOD" />
<Word name="HTTP_MIMETYPE" />
<Word name="HTTP_PRAGMA_NO_CACHE" type="integer" value="6">Allows enabling/disbling of the "Pragma: no-cache" header.</Word>
<Word name="HTTP_VERBOSE_THROTTLE"></Word>
<Word name="HTTP_VERIFY_CERT" value="3" />
@ -4763,6 +4812,7 @@
<Word name="LIST_STAT_SUM" />
<Word name="LIST_STAT_SUM_SQUARES" />
<Word name="OBJECT_ATTACHED_POINT" value="19">Gets the attachment point to which the object is attached.</Word>
<Word name="OBJECT_CREATOR" value="">
Gets the object's creator key.
If id is an avatar, a NULL_KEY is returned.
@ -4780,7 +4830,9 @@
Gets an object's owner's key.
If id is group owned, a NULL_KEY is returned.
</Word>
<Word name="OBJECT_PATHFINDING_TYPE" type="integer" value="20">Returns the pathfinding setting of any object in the region. It returns an integer matching one of the OPT_* constants.</Word>
<Word name="OBJECT_POS" value="">Gets the object's position in region coordinates.</Word>
<Word name="OBJECT_ROOT" type="integer" value="18">Gets the id of the root prim of the object requested.</Word>
<Word name="OBJECT_ROT" value="">Gets the object's rotation.</Word>
<Word name="OBJECT_VELOCITY" value="">Gets the object's velocity.</Word>
@ -4794,6 +4846,25 @@
<Word name="OBJECT_SCRIPT_TIME" value="12" />
<Word name="OBJECT_TOTAL_SCRIPT_COUNT" value="10" />
<Word name="OBJECT_UNKNOWN_DETAIL" value="-1" />
<Word name="OPT_AVATAR" type="integer" value="1">Returned for avatars.</Word>
<Word name="OPT_CHARACTER" type="integer" value="2">Returned for pathfinding characters.</Word>
<Word name="OPT_EXCLUSION_VOLUME" type="integer" value="6">Returned for exclusion volumes.</Word>
<Word name="OPT_LEGACY_LINKSET" type="integer" value="0">Returned for movable obstacles, movable phantoms, physical, and volumedetect objects.</Word>
<Word name="OPT_MATERIAL_VOLUME" type="integer" value="5">Returned for material volumes.</Word>
<Word name="OPT_OTHER" type="integer" value="-1">Returned for attachments, Linden trees, and grass.</Word>
<Word name="OPT_STATIC_OBSTACLE" type="integer" value="4">Returned for static obstacles.</Word>
<Word name="OPT_WALKABLE" type="integer" value="3">Returned for walkable objects.</Word>
<Word name="OPT_AVATAR" type="integer" value="1">Returned for avatars.</Word>
<Word name="OPT_CHARACTER" type="integer" value="2">Returned for pathfinding characters.</Word>
<Word name="OPT_EXCLUSION_VOLUME" type="integer" value="6">Returned for exclusion volumes.</Word>
<Word name="OPT_LEGACY_LINKSET" type="integer" value="0">Returned for movable obstacles, movable phantoms, physical, and volumedetect objects.</Word>
<Word name="OPT_MATERIAL_VOLUME" type="integer" value="5">Returned for material volumes.</Word>
<Word name="OPT_OTHER" type="integer" value="-1">Returned for attachments, Linden trees, and grass.</Word>
<Word name="OPT_STATIC_OBSTACLE" type="integer" value="4">Returned for static obstacles.</Word>
<Word name="OPT_WALKABLE" type="integer" value="3">Returned for walkable objects.</Word>
<Word name="MASK_BASE" />
<Word name="MASK_EVERYONE" />
@ -5001,6 +5072,7 @@
<Word name="PU_EVADE_SPOTTED" type="integer" value="0x08" status="beta">Triggered when an llEvade character switches from hiding to running</Word>
<Word name="PU_FAILURE_INVALID_GOAL" type="integer" value="0x03" status="beta">Goal is not on the navigation-mesh and cannot be reached.</Word>
<Word name="PU_FAILURE_INVALID_START" type="integer" value="0x02" status="beta">Character cannot navigate from the current location - e.g., the character is off the navmesh or too high above it.</Word>
<Word name="PU_FAILURE_NO_NAVMESH" type="integer" value="0x09" status="beta">This is a fatal error reported to a character when there is no navmesh for the region. This usually indicates a server failure and users should file a bug report and include the time and region in which they received this message.</Word>
<Word name="PU_FAILURE_NO_VALID_DESTINATION" type="integer" value="0x06" status="beta">There's no good place for the character to go - e.g., it is patrolling and all the patrol points are now unreachable.</Word>
<Word name="PU_FAILURE_OTHER" type="integer" value="1000000" status="beta" />
<Word name="PU_FAILURE_TARGET_GONE" type="integer" value="0x05" status="beta">Target (for llPursue or llEvade) can no longer be tracked - e.g., it left the region or is an avatar that is now more than about 30m outside the region.</Word>
@ -5045,6 +5117,10 @@
<Word name="REMOTE_DATA_REQUEST" />
<Word name="RESTITUTION" value="4">Used with llSetPhysicsMaterial to enable the density value. Must be between 0.0 and 1.0</Word>
<Word name="SIM_STAT_PCT_CHARS_STEPPED" type="integer" value="0">Returns the % of pathfinding characters skipped each frame, averaged over the last minute.</Word>
<Word name="SIM_STAT_PCT_CHARS_STEPPED" type="integer" value="0">Returns the % of pathfinding characters skipped each frame, averaged over the last minute.</Word>
<Word name="STRING_TRIM" />
<Word name="STRING_TRIM_HEAD" />

View file

@ -8,7 +8,115 @@
<body style="background-color: white; font-family: Verdana, sans-serif;font-size: 13px;line-height: 1.3">
<div>
<div>
<h3><span class="date"><2012-04-23</span> - Release 2.46.0</h3>
<h3><span class="date">2012-11-00</span> - Release 2.47.1</h3>
<div>
* Funtions Added:
<ul>
<li>llAttachToAvatarTemp</li>
<li>llGetSimStats</li>
<li>llTeleportAgent</li>
<li>llTeleportAgentGlobalCoords</li>
</ul>
</div>
<div>
* Constants Added:
<ul>
<li>ATTACH_LEFT_PEC</li>
<li>ATTACH_RIGHT_PEC</li>
<li>CHARACTER_ACCOUNT_FOR_SKIPPED_FRAMES</li>
<li>CHARACTER_MAX_SPEED</li>
<li>CHARACTER_MAX_TURN_RADIUS</li>
<li>HTTP_CUSTOM_HEADER</li>
<li>HTTP_PRAGMA_NO_CACHE</li>
<li>HORIZONTAL</li>
<li>OBJECT_ATTACHED_POINT</li>
<li>OBJECT_PATHFINDING_TYPE</li>
<li>OBJECT_ROOT</li>
<li>PERMISSION_TELEPORT</li>
<li>VERTICAL</li>
<li>OPT_AVATAR</li>
<li>OPT_CHARACTER</li>
<li>OPT_EXCLUSION_VOLUME</li>
<li>OPT_LEGACY_LINKSET</li>
<li>OPT_MATERIAL_VOLUME</li>
<li>OPT_OTHER</li>
<li>OPT_STATIC_OBSTACLE</li>
<li>OPT_WALKABLE</li>
<li>SIM_STAT_PCT_CHARS_STEPPED</li>
</ul>
</div>
<div>
* Constants Removed:
<ul>
<li>CHARACTER_TURN_SPEED_MULTIPLIER</li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div>
* Constants Updated:
<ul>
<li>PURSUIT_GOAL_TOLERANCE</li>
<li>REQUIRE_LINE_OF_SIGHT</li>
<li>WANDER_PAUSE_AT_WAYPOINTS</li>
<li></li>
</ul>
</div>
<div>
* Fixed:
<ul>
<li></li>
</ul>
</div>
</div>
<div>
<h3><span class="date">2012-11-18</span> - Release 2.47.0</h3>
<div>
* Made note and script files conceptually different. Giving each their own open/save dialogues etc. Notes will always be UTF-8 encoded (without BOM), just as in SL.
</div>
<div>
* Added Path-finding constants:
<ul>
<li>CHARACTER_CMD_SMOOTH_STOP</li>
<li>CHARACTER_MAX_SPEED</li>
<li>CHARACTER_MAX_TURN_SPEED</li>
<li>CHARACTER_MAX_TURN_RADIUS</li>
<li>CHARACTER_ORIENTATION</li>
<li>FORCE_DIRECT_PATH</li>
<li>GET_NAV_POINT_RADIUS</li>
<li>HORIZONTAL</li>
<li>PATROL_PAUSE_AT_WAYPOINTS</li>
<li>PU_FAILURE_NO_NAVMESH</li>
<li>PURSUIT_GOAL_TOLERANCE</li>
<li>REQUIRE_LINE_OF_SIGHT</li>
<li>VERTICAL</li>
<li>WANDER_PAUSE_AT_WAYPOINTS</li>
</ul>
</div>
<div>
* Removed renamed/deleted constants:
<ul>
<li>CHARACTER_MAX_ANGULAR_ACCEL</li>
<li>CHARACTER_MAX_ANGULAR_SPEED</li>
<li>CHARACTER_TURN_SPEED_MULTIPLIER</li>
</ul>
</div>
<div>
* Changed:
<ul>
<li>llWanderWithin() - function signature and description are changed.</li>
</ul>
</div>
<div>
* Fixed:
<ul>
<li>llClearLinkMedia() - added the missing Link parameter (to the emulation stub and highlighting).</li>
</ul>
</div>
</div>
<div>
<h3><span class="date">2012-04-24</span> - Release 2.46.0</h3>
* Added constants/function currently on the Magnum RC.
<div>
* Constants:

View file

@ -247,6 +247,7 @@ namespace LSLEditor
public static readonly integer ATTACH_MOUTH = 11;
public static readonly integer ATTACH_CHIN = 12;
public static readonly integer ATTACH_LEAR = 13;
public static readonly integer ATTACH_LEFT_PEC = 29;
public static readonly integer ATTACH_REAR = 14;
public static readonly integer ATTACH_LEYE = 15;
public static readonly integer ATTACH_REYE = 16;
@ -256,6 +257,7 @@ namespace LSLEditor
public static readonly integer ATTACH_LUARM = 20;
public static readonly integer ATTACH_LLARM = 21;
public static readonly integer ATTACH_RHIP = 22;
public static readonly integer ATTACH_RIGHT_PEC = 30;
public static readonly integer ATTACH_RULEG = 23;
public static readonly integer ATTACH_RLLEG = 24;
public static readonly integer ATTACH_LHIP = 25;
@ -305,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;
@ -312,11 +315,11 @@ namespace LSLEditor
public static readonly integer CHARACTER_LENGTH = 3;
public static readonly integer CHARACTER_TYPE = 6;
public static readonly integer CHARACTER_MAX_ACCEL = 8;
public static readonly integer CHARACTER_MAX_ANGULAR_ACCEL = 11;
public static readonly integer CHARACTER_MAX_ANGULAR_SPEED = 10;
public static readonly integer CHARACTER_MAX_DECEL = 9;
public static readonly integer CHARACTER_RADIUS = 2;
public static readonly integer CHARACTER_TURN_SPEED_MULTIPLIER = 12;
public static readonly integer CHARACTER_MAX_SPEED = 13;
public static readonly integer CHARACTER_MAX_TURN_RADIUS = 10;
public static readonly integer CHARACTER_ORIENTATION = 4;
public static readonly integer CHARACTER_RADIUS = 2;
public static readonly integer CHARACTER_TYPE_A = 0;
public static readonly integer CHARACTER_TYPE_B = 1;
public static readonly integer CHARACTER_TYPE_C = 2;
@ -367,9 +370,12 @@ 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;
public static readonly integer HORIZONTAL = 1;
public static readonly integer INVENTORY_ALL = -1;
public static readonly integer INVENTORY_NONE = -1;
public static readonly integer INVENTORY_TEXTURE = 0;
@ -430,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;
@ -450,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;
@ -730,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;
@ -826,6 +846,8 @@ namespace LSLEditor
public static readonly integer VEHICLE_TYPE_AIRPLANE = 4;
public static readonly integer VEHICLE_TYPE_BALLOON = 5;
public static readonly integer VERTICAL = 0;
//public static readonly integer REGION_FLAG_RESTRICT_PUSHOBJECT=4194304;
#endregion
@ -1217,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)
@ -1389,9 +1411,9 @@ namespace LSLEditor
Verbose("ClearCameraParams()");
}
public integer llClearLinkMedia(integer iFace)
public integer llClearLinkMedia(integer iLink, integer iFace)
{
Verbose("ClearLinkMedia({0})={1}", iFace, true);
Verbose("ClearLinkMedia({0}, {1})={2}", iLink, iFace, true);
return true;
}
@ -2427,6 +2449,12 @@ namespace LSLEditor
return 0;
}
public float llGetSimStats(integer StatType)
{
Verbose("llGetSimStats(" + StatType + ")");
return 0;
}
public String llGetSimulatorHostname()
{
Verbose("GetSimulatorHostname()");
@ -4142,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);
}

View file

@ -1,3 +0,0 @@
<Solution name="Default">
<Project name="Project" path="Project\Project.prj" active="true"/>
</Solution>

View file

@ -1,13 +0,0 @@
// www.lsleditor.org by Alphons van der Heijden (SL: Alphons Jano)
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
llOwnerSay(llGetScriptName());
}
}

View file

@ -1,6 +0,0 @@
<Project name="Project" guid="1ced43df-076a-48df-9ce9-3ec5289cec82">
<Object name="Object" guid="6523c25d-113c-4fd6-b74e-753704f8e6cd" active="true">
<Script name="Script.lsl" guid="ce87cc84-9a16-4c19-8902-d9ceb434b9cc">
</Script>
</Object>
</Project>

View file

@ -1,135 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<LSLEditor.Properties.Settings>
<setting name="AvatarName" serializeAs="String">
<value>SecondLife Name</value>
</setting>
<setting name="Version" serializeAs="String">
<value>2.1.1</value>
</setting>
<setting name="BrowserInWindow" serializeAs="String">
<value>False</value>
</setting>
<setting name="AvatarKey" serializeAs="String">
<value />
</setting>
<setting name="RegionName" serializeAs="String">
<value>LSLEditor Island</value>
</setting>
<setting name="EmailServer" serializeAs="String">
<value>smtp.emailserver.ext</value>
</setting>
<setting name="EmailAddress" serializeAs="String">
<value>youraddress@yourdomain.ext</value>
</setting>
<setting name="ProxyServer" serializeAs="String">
<value />
</setting>
<setting name="ProxyUserid" serializeAs="String">
<value />
</setting>
<setting name="ProxyPassword" serializeAs="String">
<value />
</setting>
<setting name="BrowserLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="FindLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="BrowserSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="LSLEditorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="LSLEditorSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionFPS" serializeAs="String">
<value>25</value>
</setting>
<setting name="SimulatorSize" serializeAs="String">
<value>0, 100</value>
</setting>
<setting name="SimulatorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionCorner" serializeAs="String">
<value>254464, 255232</value>
</setting>
<setting name="TabbedDocument" serializeAs="String">
<value>True</value>
</setting>
<setting name="SLColorScheme" serializeAs="String">
<value>False</value>
</setting>
<setting name="SL4SpacesIndent" serializeAs="String">
<value>False</value>
</setting>
<setting name="AutoWordSelection" serializeAs="String">
<value>False</value>
</setting>
<setting name="GotoLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="WikiSeperateBrowser" serializeAs="String">
<value>False</value>
</setting>
</LSLEditor.Properties.Settings>
</userSettings>
<applicationSettings>
<LSLEditor.Properties.Settings>
<setting name="LSLEditor_org_lsleditor_www_Service1" serializeAs="String">
<value>http://www.lsleditor.org/UploadExampleService/Service1.asmx</value>
</setting>
<setting name="Example" serializeAs="String">
<value>// LSL-Editor by Alphons Jano (Alphons van der Heijden)
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}</value>
</setting>
<setting name="Help" serializeAs="String">
<value>http://www.lslwiki.net/lslwiki/wakka.php?wakka=</value>
</setting>
<setting name="Update" serializeAs="String">
<value>http://www.lsleditor.org/checkforupdate/Default.aspx?</value>
</setting>
<setting name="Examples" serializeAs="String">
<value>http://www.lsleditor.org/examples/</value>
</setting>
<setting name="Upload" serializeAs="String">
<value>http://www.lsleditor.org/uploadscript/</value>
</setting>
<setting name="ConfLSL" serializeAs="String">
<value>Resource.ConfLSL.xml</value>
</setting>
<setting name="ConfCSharp" serializeAs="String">
<value>Resource.ConfCSharp.xml</value>
</setting>
<setting name="ExampleName" serializeAs="String">
<value>new.lsl</value>
</setting>
<setting name="ReleaseNotes" serializeAs="String">
<value>res://LSLEditor.exe/ReleaseNotes.htm</value>
</setting>
</LSLEditor.Properties.Settings>
</applicationSettings>
</configuration>

View file

@ -1,332 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<LSLEditor.Properties.Settings>
<setting name="AvatarName" serializeAs="String">
<value>SecondLife Name</value>
</setting>
<setting name="BrowserInWindow" serializeAs="String">
<value>False</value>
</setting>
<setting name="AvatarKey" serializeAs="String">
<value />
</setting>
<setting name="RegionName" serializeAs="String">
<value>LSLEditor Island</value>
</setting>
<setting name="EmailServer" serializeAs="String">
<value>smtp.emailserver.ext</value>
</setting>
<setting name="EmailAddress" serializeAs="String">
<value>youraddress@yourdomain.ext</value>
</setting>
<setting name="ProxyServer" serializeAs="String">
<value />
</setting>
<setting name="ProxyUserid" serializeAs="String">
<value />
</setting>
<setting name="ProxyPassword" serializeAs="String">
<value />
</setting>
<setting name="BrowserLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="FindLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="BrowserSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="Help" serializeAs="String">
<value>http://www.lslwiki.net/lslwiki/wakka.php?wakka=</value>
</setting>
<setting name="LSLEditorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="LSLEditorSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionFPS" serializeAs="String">
<value>25</value>
</setting>
<setting name="SimulatorSize" serializeAs="String">
<value>0, 175</value>
</setting>
<setting name="SimulatorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionCorner" serializeAs="String">
<value>254464, 255232</value>
</setting>
<setting name="TabbedDocument" serializeAs="String">
<value>True</value>
</setting>
<setting name="SLColorScheme" serializeAs="String">
<value>False</value>
</setting>
<setting name="SL4SpacesIndent" serializeAs="String">
<value>False</value>
</setting>
<setting name="AutoWordSelection" serializeAs="String">
<value>False</value>
</setting>
<setting name="GotoLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="WikiSeperateBrowser" serializeAs="String">
<value>False</value>
</setting>
<setting name="BracketHighlight" serializeAs="String">
<value>224, 224, 224</value>
</setting>
<setting name="SolutionSize" serializeAs="String">
<value>175, 0</value>
</setting>
<setting name="CallUpgrade" serializeAs="String">
<value>True</value>
</setting>
<setting name="RecentFileMax" serializeAs="String">
<value>15</value>
</setting>
<setting name="CheckForUpdates" serializeAs="String">
<value>True</value>
</setting>
<setting name="CheckEveryDay" serializeAs="String">
<value>True</value>
</setting>
<setting name="CheckEveryWeek" serializeAs="String">
<value>False</value>
</setting>
<setting name="CheckDate" serializeAs="String">
<value>2010-01-01</value>
</setting>
<setting name="RecentProjectMax" serializeAs="String">
<value>15</value>
</setting>
<setting name="IndentCursorPlacement" serializeAs="String">
<value>False</value>
</setting>
<setting name="IndentFullAuto" serializeAs="String">
<value>True</value>
</setting>
<setting name="Indent" serializeAs="String">
<value>True</value>
</setting>
<setting name="SmtpUserid" serializeAs="String">
<value />
</setting>
<setting name="SmtpPassword" serializeAs="String">
<value />
</setting>
<setting name="SmtpAuth" serializeAs="String">
<value>PLAIN</value>
</setting>
<setting name="HelpOnline" serializeAs="String">
<value>True</value>
</setting>
<setting name="HelpOffline" serializeAs="String">
<value>False</value>
</setting>
<setting name="CVSEXE" serializeAs="String">
<value />
</setting>
<setting name="CVSROOT" serializeAs="String">
<value />
</setting>
<setting name="ProjectLocation" serializeAs="String">
<value />
</setting>
<setting name="DeleteOldFiles" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletionUserVar" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletion" serializeAs="String">
<value>True</value>
</setting>
<setting name="CommentCStyle" serializeAs="String">
<value>False</value>
</setting>
<setting name="SkipWarnings" serializeAs="String">
<value>False</value>
</setting>
<setting name="SingleQuote" serializeAs="String">
<value>False</value>
</setting>
<setting name="QuotesListVerbose" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletionArguments" serializeAs="String">
<value>True</value>
</setting>
<setting name="IndentWarning" serializeAs="String">
<value>True</value>
</setting>
<setting name="IndentAutoCorrect" serializeAs="String">
<value>False</value>
</setting>
<setting name="SvnExe" serializeAs="String">
<value />
</setting>
<setting name="SvnUserid" serializeAs="String">
<value />
</setting>
<setting name="SvnPassword" serializeAs="String">
<value />
</setting>
<setting name="OutputFormat" serializeAs="String">
<value>ANSI</value>
</setting>
<setting name="ShowSolutionExplorer" serializeAs="String">
<value>False</value>
</setting>
<setting name="WorkingDirectory" serializeAs="String">
<value />
</setting>
<setting name="XSecondLifeShard" serializeAs="String">
<value>Production</value>
</setting>
<setting name="AutoSaveOnDebug" serializeAs="String">
<value>False</value>
</setting>
<setting name="ToolTip" serializeAs="String">
<value>True</value>
</setting>
<setting name="HelpNewTab" serializeAs="String">
<value>True</value>
</setting>
<setting name="CodeCompletionAnimation" serializeAs="String">
<value>True</value>
</setting>
<setting name="ExampleNameNotecard" serializeAs="String">
<value>NoteCard.txt</value>
</setting>
<setting name="llGetScriptName" serializeAs="String">
<value>False</value>
</setting>
<setting name="StatesInGlobalFunctions" serializeAs="String">
<value>False</value>
</setting>
<setting name="ParcelName" serializeAs="String">
<value>LSLEditor parcel</value>
</setting>
<setting name="ParcelDescription" serializeAs="String">
<value>Description of LSLEditor parcel</value>
</setting>
<setting name="ParcelOwner" serializeAs="String">
<value>00000000-0000-0000-0000-000000000000</value>
</setting>
<setting name="ParcelGroup" serializeAs="String">
<value>00000000-0000-0000-0000-000000000000</value>
</setting>
<setting name="ParcelArea" serializeAs="String">
<value>512</value>
</setting>
<setting name="VersionControl" serializeAs="String">
<value>True</value>
</setting>
<setting name="VersionControlSVN" serializeAs="String">
<value>True</value>
</setting>
</LSLEditor.Properties.Settings>
</userSettings>
<applicationSettings>
<LSLEditor.Properties.Settings>
<setting name="Version" serializeAs="String">
<value>2.42</value>
</setting>
<setting name="ConfLSL" serializeAs="String">
<value>Resource.ConfLSL.xml</value>
</setting>
<setting name="ExampleName" serializeAs="String">
<value>new.lsl</value>
</setting>
<setting name="ReleaseNotes" serializeAs="String">
<value>ReleaseNotes.htm</value>
</setting>
<setting name="About" serializeAs="String">
<value>About.htm</value>
</setting>
<setting name="TabStops" serializeAs="String">
<value>4</value>
</setting>
<setting name="ToolTipDelay" serializeAs="String">
<value>100</value>
</setting>
<setting name="PathClipLength" serializeAs="String">
<value>60</value>
</setting>
<setting name="ExampleTemplate" serializeAs="String">
<value>default.lsl</value>
</setting>
<setting name="HelpOfflineFile" serializeAs="String">
<value>LSLEditorHelp.chm</value>
</setting>
<setting name="Example" serializeAs="String">
<value>
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}
</value>
</setting>
<setting name="Update" serializeAs="String">
<value>http://lsleditor.sourceforge.net/check4update.php?</value>
</setting>
<setting name="Examples" serializeAs="String">
<value>http://www.lsleditor.org/examples/</value>
</setting>
<setting name="Upload" serializeAs="String">
<value>http://www.lsleditor.org/uploadscript/</value>
</setting>
<setting name="ConfCSharp" serializeAs="String">
<value>Resource.ConfCSharp.xml</value>
</setting>
<setting name="UpdateManifest" serializeAs="String">
<value>http://lsleditor.sourceforge.net/update.php</value>
</setting>
<setting name="ToolsOptions" serializeAs="String">
<value>Resource.ToolsOptions.xml</value>
</setting>
<setting name="ContactUrl" serializeAs="String">
<value>https://sourceforge.net/tracker/?group_id=319248</value>
</setting>
<setting name="DonateUrl" serializeAs="String">
<value>http://www.lsleditor.org/donate.htm</value>
</setting>
<setting name="Help2" serializeAs="String">
<value>http://wiki.secondlife.com/wiki/Special:Search?go=Go&amp;search=</value>
</setting>
<setting name="Help1" serializeAs="String">
<value>http://www.lslwiki.net/lslwiki/wakka.php?wakka=</value>
</setting>
<setting name="ForumLSLEditor" serializeAs="String">
<value>https://sourceforge.net/projects/lsleditor/forums</value>
</setting>
<setting name="qasite" serializeAs="String">
<value>http://metaversegames.net/questions/lsl</value>
</setting>
<setting name="svnloc" serializeAs="String">
<value />
</setting>
</LSLEditor.Properties.Settings>
</applicationSettings>
</configuration>

View file

@ -1,332 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
</sectionGroup>
<sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<section name="LSLEditor.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
</sectionGroup>
</configSections>
<userSettings>
<LSLEditor.Properties.Settings>
<setting name="AvatarName" serializeAs="String">
<value>SecondLife Name</value>
</setting>
<setting name="BrowserInWindow" serializeAs="String">
<value>False</value>
</setting>
<setting name="AvatarKey" serializeAs="String">
<value />
</setting>
<setting name="RegionName" serializeAs="String">
<value>LSLEditor Island</value>
</setting>
<setting name="EmailServer" serializeAs="String">
<value>smtp.emailserver.ext</value>
</setting>
<setting name="EmailAddress" serializeAs="String">
<value>youraddress@yourdomain.ext</value>
</setting>
<setting name="ProxyServer" serializeAs="String">
<value />
</setting>
<setting name="ProxyUserid" serializeAs="String">
<value />
</setting>
<setting name="ProxyPassword" serializeAs="String">
<value />
</setting>
<setting name="BrowserLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="FindLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="BrowserSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="Help" serializeAs="String">
<value>http://www.lslwiki.net/lslwiki/wakka.php?wakka=</value>
</setting>
<setting name="LSLEditorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="LSLEditorSize" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionFPS" serializeAs="String">
<value>25</value>
</setting>
<setting name="SimulatorSize" serializeAs="String">
<value>0, 175</value>
</setting>
<setting name="SimulatorLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="RegionCorner" serializeAs="String">
<value>254464, 255232</value>
</setting>
<setting name="TabbedDocument" serializeAs="String">
<value>True</value>
</setting>
<setting name="SLColorScheme" serializeAs="String">
<value>False</value>
</setting>
<setting name="SL4SpacesIndent" serializeAs="String">
<value>False</value>
</setting>
<setting name="AutoWordSelection" serializeAs="String">
<value>False</value>
</setting>
<setting name="GotoLocation" serializeAs="String">
<value>0, 0</value>
</setting>
<setting name="WikiSeperateBrowser" serializeAs="String">
<value>False</value>
</setting>
<setting name="BracketHighlight" serializeAs="String">
<value>224, 224, 224</value>
</setting>
<setting name="SolutionSize" serializeAs="String">
<value>175, 0</value>
</setting>
<setting name="CallUpgrade" serializeAs="String">
<value>True</value>
</setting>
<setting name="RecentFileMax" serializeAs="String">
<value>15</value>
</setting>
<setting name="CheckForUpdates" serializeAs="String">
<value>True</value>
</setting>
<setting name="CheckEveryDay" serializeAs="String">
<value>True</value>
</setting>
<setting name="CheckEveryWeek" serializeAs="String">
<value>False</value>
</setting>
<setting name="CheckDate" serializeAs="String">
<value>2010-01-01</value>
</setting>
<setting name="RecentProjectMax" serializeAs="String">
<value>15</value>
</setting>
<setting name="IndentCursorPlacement" serializeAs="String">
<value>False</value>
</setting>
<setting name="IndentFullAuto" serializeAs="String">
<value>True</value>
</setting>
<setting name="Indent" serializeAs="String">
<value>True</value>
</setting>
<setting name="SmtpUserid" serializeAs="String">
<value />
</setting>
<setting name="SmtpPassword" serializeAs="String">
<value />
</setting>
<setting name="SmtpAuth" serializeAs="String">
<value>PLAIN</value>
</setting>
<setting name="HelpOnline" serializeAs="String">
<value>True</value>
</setting>
<setting name="HelpOffline" serializeAs="String">
<value>False</value>
</setting>
<setting name="CVSEXE" serializeAs="String">
<value />
</setting>
<setting name="CVSROOT" serializeAs="String">
<value />
</setting>
<setting name="ProjectLocation" serializeAs="String">
<value />
</setting>
<setting name="DeleteOldFiles" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletionUserVar" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletion" serializeAs="String">
<value>True</value>
</setting>
<setting name="CommentCStyle" serializeAs="String">
<value>False</value>
</setting>
<setting name="SkipWarnings" serializeAs="String">
<value>False</value>
</setting>
<setting name="SingleQuote" serializeAs="String">
<value>False</value>
</setting>
<setting name="QuotesListVerbose" serializeAs="String">
<value>False</value>
</setting>
<setting name="CodeCompletionArguments" serializeAs="String">
<value>True</value>
</setting>
<setting name="IndentWarning" serializeAs="String">
<value>True</value>
</setting>
<setting name="IndentAutoCorrect" serializeAs="String">
<value>False</value>
</setting>
<setting name="SvnExe" serializeAs="String">
<value />
</setting>
<setting name="SvnUserid" serializeAs="String">
<value />
</setting>
<setting name="SvnPassword" serializeAs="String">
<value />
</setting>
<setting name="OutputFormat" serializeAs="String">
<value>ANSI</value>
</setting>
<setting name="ShowSolutionExplorer" serializeAs="String">
<value>False</value>
</setting>
<setting name="WorkingDirectory" serializeAs="String">
<value />
</setting>
<setting name="XSecondLifeShard" serializeAs="String">
<value>Production</value>
</setting>
<setting name="AutoSaveOnDebug" serializeAs="String">
<value>False</value>
</setting>
<setting name="ToolTip" serializeAs="String">
<value>True</value>
</setting>
<setting name="HelpNewTab" serializeAs="String">
<value>True</value>
</setting>
<setting name="CodeCompletionAnimation" serializeAs="String">
<value>True</value>
</setting>
<setting name="ExampleNameNotecard" serializeAs="String">
<value>NoteCard.txt</value>
</setting>
<setting name="llGetScriptName" serializeAs="String">
<value>False</value>
</setting>
<setting name="StatesInGlobalFunctions" serializeAs="String">
<value>False</value>
</setting>
<setting name="ParcelName" serializeAs="String">
<value>LSLEditor parcel</value>
</setting>
<setting name="ParcelDescription" serializeAs="String">
<value>Description of LSLEditor parcel</value>
</setting>
<setting name="ParcelOwner" serializeAs="String">
<value>00000000-0000-0000-0000-000000000000</value>
</setting>
<setting name="ParcelGroup" serializeAs="String">
<value>00000000-0000-0000-0000-000000000000</value>
</setting>
<setting name="ParcelArea" serializeAs="String">
<value>512</value>
</setting>
<setting name="VersionControl" serializeAs="String">
<value>True</value>
</setting>
<setting name="VersionControlSVN" serializeAs="String">
<value>True</value>
</setting>
</LSLEditor.Properties.Settings>
</userSettings>
<applicationSettings>
<LSLEditor.Properties.Settings>
<setting name="Version" serializeAs="String">
<value>2.42</value>
</setting>
<setting name="ConfLSL" serializeAs="String">
<value>Resource.ConfLSL.xml</value>
</setting>
<setting name="ExampleName" serializeAs="String">
<value>new.lsl</value>
</setting>
<setting name="ReleaseNotes" serializeAs="String">
<value>ReleaseNotes.htm</value>
</setting>
<setting name="About" serializeAs="String">
<value>About.htm</value>
</setting>
<setting name="TabStops" serializeAs="String">
<value>4</value>
</setting>
<setting name="ToolTipDelay" serializeAs="String">
<value>100</value>
</setting>
<setting name="PathClipLength" serializeAs="String">
<value>60</value>
</setting>
<setting name="ExampleTemplate" serializeAs="String">
<value>default.lsl</value>
</setting>
<setting name="HelpOfflineFile" serializeAs="String">
<value>LSLEditorHelp.chm</value>
</setting>
<setting name="Example" serializeAs="String">
<value>
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}
</value>
</setting>
<setting name="Update" serializeAs="String">
<value>http://lsleditor.sourceforge.net/check4update.php?</value>
</setting>
<setting name="Examples" serializeAs="String">
<value>http://www.lsleditor.org/examples/</value>
</setting>
<setting name="Upload" serializeAs="String">
<value>http://www.lsleditor.org/uploadscript/</value>
</setting>
<setting name="ConfCSharp" serializeAs="String">
<value>Resource.ConfCSharp.xml</value>
</setting>
<setting name="UpdateManifest" serializeAs="String">
<value>http://lsleditor.sourceforge.net/update.php</value>
</setting>
<setting name="ToolsOptions" serializeAs="String">
<value>Resource.ToolsOptions.xml</value>
</setting>
<setting name="ContactUrl" serializeAs="String">
<value>https://sourceforge.net/tracker/?group_id=319248</value>
</setting>
<setting name="DonateUrl" serializeAs="String">
<value>http://www.lsleditor.org/donate.htm</value>
</setting>
<setting name="Help2" serializeAs="String">
<value>http://wiki.secondlife.com/wiki/Special:Search?go=Go&amp;search=</value>
</setting>
<setting name="Help1" serializeAs="String">
<value>http://www.lslwiki.net/lslwiki/wakka.php?wakka=</value>
</setting>
<setting name="ForumLSLEditor" serializeAs="String">
<value>https://sourceforge.net/projects/lsleditor/forums</value>
</setting>
<setting name="qasite" serializeAs="String">
<value>http://metaversegames.net/questions/lsl</value>
</setting>
<setting name="svnloc" serializeAs="String">
<value />
</setting>
</LSLEditor.Properties.Settings>
</applicationSettings>
</configuration>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,23 +0,0 @@
// LSLSnippetsPlugin v1.1.0
// by Seneca Taliaferro/Joseph P. Socoloski III (Minoa)
// Copyright 2008. All Rights Reserved.
// http://lslsnippets.googlecode.com
// NOTE: Add your own LSL snippets to an existing script.
// Plugin for LSLEditor v2.34+
// WHAT'S NEW:
// - Bug Fix issue#1: Added state_entry to dropdown list
// LIMITS:
// TODO:
//LICENSE
//BY DOWNLOADING AND USING, YOU AGREE TO THE FOLLOWING TERMS:
//If it is your intent to use this software for non-commercial purposes,
//such as in academic research, this software is free and is covered under
//the GNU GPL License, given here: <http://www.gnu.org/licenses/gpl.txt>
////////////////////////////////////////////////////////////////////////////
lslSnippetsApp is an application to demostrate lslSnippetsLib.
lslSnippetsLib is a dll that can read your own custom LSL snippets and
insert them into an existing LSL script.
----------------------------------------------------------------------------
You may need to install Microsoft .NET Framework 3.5 before running
http://www.microsoft.com/downloads/details.aspx?FamilyID=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en

View file

@ -1,11 +0,0 @@
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}

View file

@ -1,7 +0,0 @@
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
}

View file

@ -1,11 +0,0 @@
default
{
state_entry()
{
llSay(0, "Hello, Avatar!");
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}

View file

@ -1,93 +0,0 @@
<LSLSnippets xmlns="http://joeswammi.com/sl/se/LSLSnippet">
<CodeSnippet Format="1.0.0" Title="NotecardReader v3">
<Snippet InsertToEvent="lslstart">
<![CDATA[string NOTE_CARD = "SETTINGS_CARD"; //This is the name of the notecard
list notecard; //Holds all lines found in the notecard
integer curLine;]]>
</Snippet>
<Snippet InsertToEvent="state_entry">
<![CDATA[//Only read the card once if the main list is empty
if(curLine == 0)
{
state NotecardtoList;
}]]>
</Snippet>
<Snippet InsertToEvent="touch_start">
<![CDATA[//Display notecard list...
integer i;
integer lenofnotecard = llGetListLength(notecard);
llWhisper(0, "length: " + (string)llGetListLength(notecard));
for(i=0;i < lenofnotecard;i++)
{
llWhisper(0, (string)i + ": " + llList2String(notecard, i));
}
//How to convert a CSV line to a list...
list temp = llCSV2List(llList2String(notecard, 0));//Get first line
for(i=0;i < llGetListLength(temp);i++)
{
llWhisper(0, "llCSV2List["+(string)i + "]: " + llList2String(temp, i));
}]]>
</Snippet>
<Snippet InsertToEvent="lslend">
<![CDATA[//////////////////////////////////////
state __getnotecardtolist
{
state_entry()
{
state NotecardtoList;
}
}
///<summary>
///Loads and xmlcard into the main list variable
///</summary>
///<returns></returns>
state NotecardtoList
{
//Start at beginning of xmlcard
state_entry()
{
integer ready = TRUE;
if (llGetInventoryKey(NOTE_CARD) == NULL_KEY)
{
llOwnerSay("Error: \"" + NOTE_CARD + "\" does not exist in the object's inventory.");
ready = FALSE;
}
if (ready)
{
if(curLine == 0)
llWhisper(0, "Please wait. Reading data from "+NOTE_CARD+"....");
llGetNotecardLine(NOTE_CARD, curLine); // request first line
}
}
//dataserver event is triggered when the requested data is returned to the script.
dataserver(key queryid, string data)
{
if (data == EOF)
{
llOwnerSay("Completed loading " + NOTE_CARD);
state default;
}
else
{
if(data != "")
{
//Check to see if the line begins with a '#' (comment line)
if (llSubStringIndex(data, "#") == -1)
{
notecard += data; // Add the current notecard line to the string
}
}
//Always advance the reading of the card...
++curLine; // increase line count
state __getnotecardtolist;
}
}
}]]>
</Snippet>
</CodeSnippet>
</LSLSnippets>

View file

@ -1,14 +0,0 @@
<LSLSnippets xmlns="http://joeswammi.com/sl/se/LSLSnippet">
<CodeSnippet Format="1.0.0" Title="llPlaySound">
<Snippet InsertToEvent="touch_start">
<![CDATA[PlaySound("my_soundwav", 1);]]>
</Snippet>
<Snippet InsertToEvent="lslstart">
<![CDATA[PlaySound(string sound, float volume)
{
if(llGetInventoryType(sound) == INVENTORY_SOUND)
llPlaySound(sound, volume);
}]]>
</Snippet>
</CodeSnippet>
</LSLSnippets>

View file

@ -1,10 +0,0 @@
<LSLSnippets xmlns="http://joeswammi.com/sl/se/LSLSnippet">
<CodeSnippet Format="1.0.0" Title="llSay">
<Snippet InsertToEvent="state_entry">
<![CDATA[llSay(0, "Example!");]]>
</Snippet>
<Snippet InsertToEvent="touch_start">
<![CDATA[llSay(0, "Touched: "+(string)total_number);]]>
</Snippet>
</CodeSnippet>
</LSLSnippets>

View file

@ -1,7 +0,0 @@
<LSLSnippets xmlns="http://joeswammi.com/sl/se/LSLSnippet">
<CodeSnippet Format="1.0.0" Title="stateentry">
<Snippet InsertToEvent="state_entry">
<![CDATA[llSay(0, "STATE ENTRY!!!");]]>
</Snippet>
</CodeSnippet>
</LSLSnippets>

Binary file not shown.

Binary file not shown.

View file

@ -1,13 +0,0 @@
default
{
state_entry()
{
llSay(0, (string)PRIM_NAME);
}
touch_start(integer total_number)
{
llSay(0, "Touched: "+(string)total_number);
}
}

View file

@ -12,7 +12,8 @@
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>LSLEditor</AssemblyName>
<AssemblyOriginatorKeyFile>lsl-editor.pfx</AssemblyOriginatorKeyFile>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
@ -234,8 +235,6 @@
<Compile Include="Docking\Win32\Enums.cs" />
<Compile Include="Docking\Win32\NativeMethods.cs" />
<Compile Include="Editor\KeyWords.cs" />
<None Include="582fd361b0616b6aa0b38e7cd7a80475.pem" />
<None Include="Certum-OS-Certificate.pfx" />
<None Include="Editor\RoundCorners.cs" />
<Compile Include="Decompressor\Decompress.cs" />
<Compile Include="Editor\MsXsltContext.cs" />
@ -725,10 +724,6 @@
<Content Include="LSLEditor.rc" />
<EmbeddedResource Include="Resource\ToolsOptions.xml" />
<EmbeddedResource Include="Resource\thanks.gif" />
<None Include="lsl-editor.pfx" />
<None Include="Open Source Developer.cer" />
<None Include="Test.snk" />
<None Include="testing.pfx" />
<None Include="Web References\org.lsleditor.www\Service1.disco" />
<EmbeddedResource Include="Resource\About.htm" />
<EmbeddedResource Include="Resource\ReleaseNotes.htm">