Merge branch 'master' into dev-v3
This commit is contained in:
commit
8512eead10
8 changed files with 546 additions and 271 deletions
|
@ -20,7 +20,7 @@
|
|||
// ********
|
||||
// * 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
|
||||
|
@ -36,7 +36,7 @@
|
|||
// * 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
|
||||
// * The above copyright notice and this permission notice shall be included in all
|
||||
// * copies or substantial portions of the Software.
|
||||
// *
|
||||
// ********
|
||||
|
@ -70,7 +70,10 @@ namespace LSLEditor.Helpers
|
|||
int intCharPrint;
|
||||
|
||||
// print document
|
||||
PrintDocument printDoc = null;
|
||||
PrintDocument docToPrint = null;
|
||||
|
||||
// print dialogue
|
||||
PrintDialog pd = null;
|
||||
|
||||
// print status items
|
||||
int fromPage = 0;
|
||||
|
@ -103,7 +106,7 @@ namespace LSLEditor.Helpers
|
|||
public String Title
|
||||
{
|
||||
get { return title; }
|
||||
set { title = value; printDoc.DocumentName = title; }
|
||||
set { title = value; docToPrint.DocumentName = title; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -127,8 +130,8 @@ namespace LSLEditor.Helpers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Allow the user to override the title string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// Allow the user to override the title string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// </summary>
|
||||
private StringAlignment titlealignment;
|
||||
public StringAlignment TitleAlignment
|
||||
|
@ -183,8 +186,8 @@ namespace LSLEditor.Helpers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Allow the user to override the subtitle string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// Allow the user to override the subtitle string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// </summary>
|
||||
private StringAlignment subtitlealignment;
|
||||
public StringAlignment SubTitleAlignment
|
||||
|
@ -239,8 +242,8 @@ namespace LSLEditor.Helpers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Allow the user to override the footer string alignment. Default value is
|
||||
/// Alignment - Center;
|
||||
/// Allow the user to override the footer string alignment. Default value is
|
||||
/// Alignment - Center;
|
||||
/// </summary>
|
||||
private StringAlignment footeralignment;
|
||||
public StringAlignment FooterAlignment
|
||||
|
@ -302,8 +305,8 @@ namespace LSLEditor.Helpers
|
|||
}
|
||||
|
||||
/// <summary>
|
||||
/// Allow the user to override the page number string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// Allow the user to override the page number string alignment. Default value is
|
||||
/// Alignment - Near;
|
||||
/// </summary>
|
||||
private StringAlignment pagenumberalignment;
|
||||
public StringAlignment PaageNumberAlignment
|
||||
|
@ -371,27 +374,27 @@ namespace LSLEditor.Helpers
|
|||
public PrinterHelper(PageSetupDialog pageSetupDialog)
|
||||
{
|
||||
// create print document
|
||||
printDoc = new PrintDocument();
|
||||
printDoc.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
|
||||
docToPrint = new PrintDocument();
|
||||
docToPrint.PrintPage += new PrintPageEventHandler(printDoc_PrintPage);
|
||||
|
||||
if (pageSetupDialog.PrinterSettings != null)
|
||||
printDoc.PrinterSettings = pageSetupDialog.PrinterSettings;
|
||||
docToPrint.PrinterSettings = pageSetupDialog.PrinterSettings;
|
||||
|
||||
if (pageSetupDialog.PageSettings != null)
|
||||
printDoc.DefaultPageSettings = pageSetupDialog.PageSettings;
|
||||
docToPrint.DefaultPageSettings = pageSetupDialog.PageSettings;
|
||||
else
|
||||
printDoc.DefaultPageSettings.Margins = new Margins(60, 80, 40, 40);
|
||||
docToPrint.DefaultPageSettings.Margins = new Margins(60, 80, 40, 40);
|
||||
|
||||
printmargins = printDoc.DefaultPageSettings.Margins;
|
||||
printmargins = docToPrint.DefaultPageSettings.Margins;
|
||||
|
||||
// set default fonts
|
||||
pagenofont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point);
|
||||
pagenofont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point);
|
||||
pagenocolor = Color.Black;
|
||||
titlefont = new Font("Tahoma", 8, FontStyle.Bold, GraphicsUnit.Point);
|
||||
titlefont = new Font("Tahoma", 10, FontStyle.Bold, GraphicsUnit.Point);
|
||||
titlecolor = Color.Black;
|
||||
subtitlefont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point);
|
||||
subtitlefont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point);
|
||||
subtitlecolor = Color.Black;
|
||||
footerfont = new Font("Tahoma", 8, FontStyle.Regular, GraphicsUnit.Point);
|
||||
footerfont = new Font("Tahoma", 10, FontStyle.Regular, GraphicsUnit.Point);
|
||||
footercolor = Color.Black;
|
||||
|
||||
// set default string formats
|
||||
|
@ -415,27 +418,16 @@ namespace LSLEditor.Helpers
|
|||
/// NOTE: Any changes to this method also need to be done in PrintPreviewEditForm
|
||||
public void PrintEditForm(EditForm editForm)
|
||||
{
|
||||
// save the datagridview we're printing
|
||||
this.editForm = editForm;
|
||||
this.intCharFrom = 0;
|
||||
this.intCharPrint = 0;
|
||||
this.intCharTo = editForm.TextBox.Text.Length;
|
||||
|
||||
// create new print dialog
|
||||
PrintDialog pd = new PrintDialog();
|
||||
pd.Document = printDoc;
|
||||
//printDoc.DefaultPageSettings.Margins = printmargins;
|
||||
pd.AllowSelection = true;
|
||||
pd.AllowSomePages = false;
|
||||
pd.AllowCurrentPage = false;
|
||||
pd.AllowPrintToFile = false;
|
||||
saveFormData(editForm);
|
||||
setupPrintDialogue();
|
||||
|
||||
// show print dialog
|
||||
if (DialogResult.OK == pd.ShowDialog())
|
||||
if (pd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
SetupPrint(pd);
|
||||
printDoc.Print();
|
||||
docToPrint.Print();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
@ -445,26 +437,15 @@ namespace LSLEditor.Helpers
|
|||
/// NOTE: Any changes to this method also need to be done in PrintDataGridView
|
||||
public void PrintPreviewEditForm(EditForm editForm)
|
||||
{
|
||||
// save the datagridview we're printing
|
||||
this.editForm = editForm;
|
||||
this.intCharFrom = 0;
|
||||
this.intCharTo = editForm.TextBox.Text.Length;
|
||||
|
||||
// create new print dialog and set options
|
||||
PrintDialog pd = new PrintDialog();
|
||||
pd.Document = printDoc;
|
||||
//printDoc.DefaultPageSettings.Margins = printmargins;
|
||||
pd.AllowSelection = true;
|
||||
pd.AllowSomePages = false;
|
||||
pd.AllowCurrentPage = false;
|
||||
pd.AllowPrintToFile = false;
|
||||
saveFormData(editForm);
|
||||
setupPrintDialogue();
|
||||
|
||||
// show print dialog
|
||||
if (DialogResult.OK == pd.ShowDialog())
|
||||
if (pd.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
SetupPrint(pd);
|
||||
PrintPreviewDialog ppdialog = new PrintPreviewDialog();
|
||||
ppdialog.Document = printDoc;
|
||||
ppdialog.Document = docToPrint;
|
||||
ppdialog.ShowDialog();
|
||||
}
|
||||
}
|
||||
|
@ -481,25 +462,25 @@ namespace LSLEditor.Helpers
|
|||
// save data from print dialog and document
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
// check to see if we're doing landscape printing
|
||||
if (printDoc.DefaultPageSettings.Landscape)
|
||||
// check to see if we're doing landscape printing
|
||||
if (docToPrint.DefaultPageSettings.Landscape)
|
||||
{
|
||||
// landscape: switch width and height
|
||||
pageHeight = printDoc.DefaultPageSettings.PaperSize.Width;
|
||||
pageWidth = printDoc.DefaultPageSettings.PaperSize.Height;
|
||||
pageHeight = docToPrint.DefaultPageSettings.PaperSize.Width;
|
||||
pageWidth = docToPrint.DefaultPageSettings.PaperSize.Height;
|
||||
}
|
||||
else
|
||||
{
|
||||
// portrait: keep width and height as expected
|
||||
pageHeight = printDoc.DefaultPageSettings.PaperSize.Height;
|
||||
pageWidth = printDoc.DefaultPageSettings.PaperSize.Width;
|
||||
pageHeight = docToPrint.DefaultPageSettings.PaperSize.Height;
|
||||
pageWidth = docToPrint.DefaultPageSettings.PaperSize.Width;
|
||||
}
|
||||
|
||||
// save printer margins and calc print width
|
||||
printmargins = printDoc.DefaultPageSettings.Margins;
|
||||
printmargins = docToPrint.DefaultPageSettings.Margins;
|
||||
printWidth = pageWidth - printmargins.Left - printmargins.Right;
|
||||
|
||||
// save print range
|
||||
// save print range
|
||||
printRange = pd.PrinterSettings.PrintRange;
|
||||
|
||||
// pages to print handles "some pages" option
|
||||
|
@ -699,5 +680,27 @@ namespace LSLEditor.Helpers
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void saveFormData(EditForm editForm)
|
||||
{
|
||||
// save the datagridview we're printing
|
||||
this.editForm = editForm;
|
||||
this.intCharFrom = 0;
|
||||
this.intCharPrint = 0;
|
||||
this.intCharTo = editForm.TextBox.Text.Length;
|
||||
}
|
||||
|
||||
private void setupPrintDialogue()
|
||||
{
|
||||
// create new print dialog
|
||||
pd = new PrintDialog();
|
||||
|
||||
pd.Document = docToPrint;
|
||||
pd.AllowSelection = true;
|
||||
pd.AllowSomePages = false;
|
||||
pd.AllowCurrentPage = false;
|
||||
pd.AllowPrintToFile = false;
|
||||
pd.UseEXDialog = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,7 +91,7 @@ namespace LSLEditor
|
|||
|
||||
public bool CancelClosing = false;
|
||||
|
||||
public Solution.SolutionExplorer m_SolutionExplorer;
|
||||
public Solution.SolutionExplorer m_SolutionExplorer;
|
||||
|
||||
public GListBoxWindow GListBoxWindow;
|
||||
public TooltipWindow TooltipMouse;
|
||||
|
@ -102,10 +102,11 @@ namespace LSLEditor
|
|||
public GotoWindow GotoWindow;
|
||||
|
||||
public List<llDialogForm> llDialogForms;
|
||||
public List<llTextBoxForm> llTextBoxForms;
|
||||
public List<llTextBoxForm> llTextBoxForms;
|
||||
public List<PermissionsForm> PermissionForms;
|
||||
|
||||
private UpdateApplicationForm updateApplicationForm;
|
||||
private Helpers.PrinterHelper printer;
|
||||
|
||||
public SyntaxError SyntaxErrors;
|
||||
|
||||
|
@ -131,7 +132,7 @@ namespace LSLEditor
|
|||
{
|
||||
get
|
||||
{
|
||||
return this.m_SolutionExplorer;
|
||||
return this.m_SolutionExplorer;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -175,8 +176,8 @@ namespace LSLEditor
|
|||
|
||||
InitializeComponent();
|
||||
|
||||
m_SolutionExplorer = new LSLEditor.Solution.SolutionExplorer();
|
||||
m_SolutionExplorer.parent = this;
|
||||
m_SolutionExplorer = new LSLEditor.Solution.SolutionExplorer();
|
||||
m_SolutionExplorer.parent = this;
|
||||
|
||||
InitRecentFileList();
|
||||
InitRecentProjectList();
|
||||
|
@ -203,7 +204,7 @@ namespace LSLEditor
|
|||
|
||||
List<Form> children = new List<Form>();
|
||||
//TODO: Find Child forms
|
||||
//foreach (TabPage tabPage in this.tabControlExtended1.TabPages)
|
||||
//foreach (TabPage tabPage in this.tabControlExtended1.TabPages)
|
||||
// children.Add(tabPage.Tag as Form);
|
||||
return children.ToArray();
|
||||
}
|
||||
|
@ -217,9 +218,9 @@ namespace LSLEditor
|
|||
return this.ActiveMdiChild;
|
||||
else
|
||||
{
|
||||
//TODO: Get Active Mdi Form
|
||||
return null;
|
||||
//dockPanel.ActiveContent
|
||||
//TODO: Get Active Mdi Form
|
||||
return null;
|
||||
//dockPanel.ActiveContent
|
||||
// if (this.tabControlExtended1.SelectedTab == null)
|
||||
// return null;
|
||||
// return this.tabControlExtended1.SelectedTab.Tag as Form;
|
||||
|
@ -235,7 +236,7 @@ namespace LSLEditor
|
|||
}
|
||||
else
|
||||
{
|
||||
//TODO: Activate the right Mdi Form
|
||||
//TODO: Activate the right Mdi Form
|
||||
/*for (int intI = 0; intI < this.tabControlExtended1.TabCount; intI++)
|
||||
{
|
||||
TabPage tabPage = this.tabControlExtended1.TabPages[intI];
|
||||
|
@ -259,8 +260,8 @@ namespace LSLEditor
|
|||
//form.Show();
|
||||
//ActivateMdiChild(form);
|
||||
|
||||
//TODO: add form in the right way
|
||||
form.Show(dockPanel);
|
||||
//TODO: add form in the right way
|
||||
form.Show(dockPanel);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -278,7 +279,7 @@ namespace LSLEditor
|
|||
// Was already commented out //tabPage.Controls.Add(form.Controls[0]);
|
||||
|
||||
|
||||
//this.tabControlExtended1.TabPages.Add(tabPage);
|
||||
//this.tabControlExtended1.TabPages.Add(tabPage);
|
||||
//this.tabControlExtended1.SelectedTab = tabPage;
|
||||
}
|
||||
}
|
||||
|
@ -296,32 +297,32 @@ 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 (*.*)|*.*";
|
||||
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.openNoteFilesDialog.FileName = "";
|
||||
this.openNoteFilesDialog.FileName = "";
|
||||
this.openNoteFilesDialog.Filter = fileFilterNotes;
|
||||
this.openNoteFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
|
||||
|
||||
this.saveNoteFilesDialog.FileName = "";
|
||||
this.saveNoteFilesDialog.Filter = fileFilterNotes;
|
||||
this.saveNoteFilesDialog.Filter = fileFilterNotes;
|
||||
this.saveNoteFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
|
||||
|
||||
|
||||
this.openScriptFilesDialog.FileName = "";
|
||||
this.openScriptFilesDialog.Filter = fileFilterScripts;
|
||||
this.openScriptFilesDialog.Filter = fileFilterScripts;
|
||||
this.openScriptFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
|
||||
|
||||
this.saveScriptFilesDialog.FileName = "";
|
||||
this.saveScriptFilesDialog.Filter = fileFilterScripts;
|
||||
this.saveScriptFilesDialog.Filter = fileFilterScripts;
|
||||
this.saveScriptFilesDialog.InitialDirectory = Properties.Settings.Default.WorkingDirectory;
|
||||
|
||||
this.openSolutionFilesDialog.FileName = "";
|
||||
this.openSolutionFilesDialog.Filter = fileFilterSolutions;
|
||||
this.openSolutionFilesDialog.Filter = fileFilterSolutions;
|
||||
this.openSolutionFilesDialog.InitialDirectory = Properties.Settings.Default.ProjectLocation;
|
||||
this.openSolutionFilesDialog.Multiselect = false;
|
||||
|
||||
|
@ -339,7 +340,7 @@ namespace LSLEditor
|
|||
this.Text += " (BETA)";
|
||||
}
|
||||
|
||||
//TODO: Fix close buttons on tabs
|
||||
//TODO: Fix close buttons on tabs
|
||||
// enables close buttons on tab
|
||||
//this.tabControlExtended1.SetDrawMode();
|
||||
//this.tabControlExtended1.OnTabClose += new EventHandler(tabControl1_OnTabClose);
|
||||
|
@ -371,8 +372,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)
|
||||
|
@ -618,20 +619,20 @@ namespace LSLEditor
|
|||
browser.ShowWebBrowser("Import Examples", Properties.Settings.Default.Examples);
|
||||
}
|
||||
|
||||
/***
|
||||
* Return value indicate whether file was saved or not.
|
||||
*/
|
||||
/***
|
||||
* Return value indicate whether file was saved or not.
|
||||
*/
|
||||
public bool SaveFile(EditForm editForm, bool blnSaveAs)
|
||||
{
|
||||
DialogResult dialogresult = DialogResult.OK;
|
||||
if (editForm.FullPathName == Properties.Settings.Default.ExampleName || blnSaveAs)
|
||||
{
|
||||
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
|
||||
saveDialog.FileName = editForm.FullPathName;
|
||||
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
|
||||
saveDialog.FileName = editForm.FullPathName;
|
||||
string strExtension = Path.GetExtension(editForm.FullPathName);
|
||||
dialogresult = saveDialog.ShowDialog();
|
||||
dialogresult = saveDialog.ShowDialog();
|
||||
if (dialogresult == DialogResult.OK)
|
||||
editForm.FullPathName = saveDialog.FileName;
|
||||
editForm.FullPathName = saveDialog.FileName;
|
||||
}
|
||||
if (dialogresult == DialogResult.OK)
|
||||
{
|
||||
|
@ -649,9 +650,9 @@ namespace LSLEditor
|
|||
if (editForm == null)
|
||||
return false;
|
||||
// save as!!
|
||||
// TODO: Refactor saveDialog to be a property of the form
|
||||
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
|
||||
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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -702,7 +703,7 @@ namespace LSLEditor
|
|||
}
|
||||
else
|
||||
{
|
||||
//TODO: find browser in childs
|
||||
//TODO: find browser in childs
|
||||
/*for (int intI = 0; intI < this.tabControlExtended1.TabCount; intI++)
|
||||
{
|
||||
TabPage tabPage = this.tabControlExtended1.TabPages[intI];
|
||||
|
@ -756,27 +757,29 @@ namespace LSLEditor
|
|||
private void printPreviewtoolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
EditForm editForm = this.ActiveMdiForm as EditForm;
|
||||
if (editForm == null)
|
||||
return;
|
||||
|
||||
Helpers.PrinterHelper printer = new Helpers.PrinterHelper(pageSetupDialog1);
|
||||
printer.Title = editForm.FullPathName;
|
||||
printer.SubTitle = DateTime.Now.ToString("s");
|
||||
printer.Footer = this.Text;
|
||||
printer.PrintPreviewEditForm(editForm);
|
||||
if (editForm != null)
|
||||
{
|
||||
printerHelp(editForm);
|
||||
printer.PrintPreviewEditForm(editForm);
|
||||
}
|
||||
}
|
||||
|
||||
private void printToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
EditForm editForm = this.ActiveMdiForm as EditForm;
|
||||
if (editForm == null)
|
||||
return;
|
||||
if (editForm != null)
|
||||
{
|
||||
printerHelp(editForm);
|
||||
printer.PrintEditForm(editForm);
|
||||
}
|
||||
}
|
||||
|
||||
Helpers.PrinterHelper printer = new Helpers.PrinterHelper(pageSetupDialog1);
|
||||
private void printerHelp(EditForm editForm)
|
||||
{
|
||||
printer = new Helpers.PrinterHelper(pageSetupDialog1);
|
||||
printer.Title = editForm.FullPathName;
|
||||
printer.SubTitle = DateTime.Now.ToString("s");
|
||||
printer.Footer = this.Text;
|
||||
printer.PrintEditForm(editForm);
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
@ -944,14 +947,14 @@ namespace LSLEditor
|
|||
|
||||
SetFontsOnWindows();
|
||||
|
||||
//TODO: Fix new file drop down
|
||||
//TODO: Fix new file drop down
|
||||
//this.solutionExplorer1.parent = this;
|
||||
//this.solutionExplorer1.CreateNewFileDrowDownMenu(this.addNewFileToolStripMenuItem);
|
||||
this.solutionExplorerToolStripMenuItem.Checked = Properties.Settings.Default.ShowSolutionExplorer;
|
||||
ShowSolutionExplorer(this.solutionExplorerToolStripMenuItem.Checked);
|
||||
|
||||
this.llDialogForms = new List<llDialogForm>();
|
||||
this.llTextBoxForms = new List<llTextBoxForm>();
|
||||
this.llTextBoxForms = new List<llTextBoxForm>();
|
||||
this.PermissionForms = new List<PermissionsForm>();
|
||||
|
||||
this.TooltipMouse.Tag = "";
|
||||
|
@ -960,7 +963,7 @@ namespace LSLEditor
|
|||
this.TooltipListBox.XOffset = 200; // TODO, afhankelijk van toegepaste font
|
||||
this.GListBoxWindow.Tag = "";
|
||||
|
||||
// This order equals with the KeyWordTypeEnum in KeyWords.cs
|
||||
// This order equals with the KeyWordTypeEnum in KeyWords.cs
|
||||
ImageList imageList = new ImageList();
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.Unknown.gif"));
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.Functions.gif"));
|
||||
|
@ -969,10 +972,10 @@ namespace LSLEditor
|
|||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.Class.gif"));
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.Vars.gif"));
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.Properties.gif"));
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.States.gif"));
|
||||
imageList.Images.Add(new Bitmap(this.GetType(), "Images.States.gif"));
|
||||
|
||||
this.GListBoxWindow.GListBox.ImageList = imageList;
|
||||
// this.tvOutline.ImageList = imageList;
|
||||
// this.tvOutline.ImageList = imageList;
|
||||
|
||||
this.Move += new EventHandler(LSLEditorForm_SetPosition);
|
||||
this.Resize += new EventHandler(LSLEditorForm_SetPosition);
|
||||
|
@ -1008,11 +1011,11 @@ namespace LSLEditor
|
|||
df.Top = this.Top + 30;
|
||||
df.Left = this.Right - df.Width - 5;
|
||||
}
|
||||
foreach(llTextBoxForm tbf in this.llTextBoxForms)
|
||||
{
|
||||
tbf.Left = this.Left + this.Width / 2 - tbf.Width / 2;
|
||||
tbf.Top = this.Top + this.Height / 2 - tbf.Height / 2;
|
||||
}
|
||||
foreach(llTextBoxForm tbf in this.llTextBoxForms)
|
||||
{
|
||||
tbf.Left = this.Left + this.Width / 2 - tbf.Width / 2;
|
||||
tbf.Top = this.Top + this.Height / 2 - tbf.Height / 2;
|
||||
}
|
||||
EditForm editForm = this.ActiveMdiForm as EditForm;
|
||||
if (editForm != null)
|
||||
editForm.TextBox.SetPosition(Screen.PrimaryScreen.WorkingArea);
|
||||
|
@ -1022,7 +1025,7 @@ namespace LSLEditor
|
|||
{
|
||||
try
|
||||
{
|
||||
//TODO: hmmm?
|
||||
//TODO: hmmm?
|
||||
//this.tabControlExtended1.Visible = false;
|
||||
|
||||
// this.panel1.Visible = false; // Simulator
|
||||
|
@ -1072,8 +1075,8 @@ namespace LSLEditor
|
|||
}
|
||||
if (dialogResult == DialogResult.Yes)
|
||||
{
|
||||
// TODO: Refactor saveDialog to be a property of the form
|
||||
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
|
||||
// TODO: Refactor saveDialog to be a property of the form
|
||||
SaveFileDialog saveDialog = editForm.IsScript ? this.saveScriptFilesDialog : this.saveNoteFilesDialog;
|
||||
if(!SaveFile(editForm, false))
|
||||
return false;
|
||||
}
|
||||
|
@ -1224,9 +1227,9 @@ namespace LSLEditor
|
|||
|
||||
this.SimulatorConsole = new SimulatorConsole(this.SolutionExplorer, this.Children);
|
||||
|
||||
this.SimulatorConsole.Show(dockPanel);
|
||||
//TODO: Show Simulator Console somewhere
|
||||
//this.panel1.Controls.Clear();
|
||||
this.SimulatorConsole.Show(dockPanel);
|
||||
//TODO: Show Simulator Console somewhere
|
||||
//this.panel1.Controls.Clear();
|
||||
//this.panel1.Controls.Add(this.SimulatorConsole);
|
||||
//this.panel1.Visible = true;
|
||||
//this.splitter1.SplitPosition = Properties.Settings.Default.SimulatorSize.Height;
|
||||
|
@ -1234,7 +1237,7 @@ namespace LSLEditor
|
|||
|
||||
public void StopSimulator()
|
||||
{
|
||||
//TODO: Hide simulator? Or we could keep it like the debug output in VS
|
||||
//TODO: Hide simulator? Or we could keep it like the debug output in VS
|
||||
//this.panel1.Visible = false;
|
||||
if (this.SimulatorConsole != null)
|
||||
{
|
||||
|
@ -1247,7 +1250,7 @@ namespace LSLEditor
|
|||
|
||||
private bool SyntaxCheck(bool Silent)
|
||||
{
|
||||
//TODO: What do we hide on SyntaxCheck?
|
||||
//TODO: What do we hide on SyntaxCheck?
|
||||
//this.panel1.Visible = false;
|
||||
InitSyntaxError();
|
||||
|
||||
|
@ -1266,8 +1269,8 @@ namespace LSLEditor
|
|||
|
||||
if (this.SyntaxErrors.HasErrors)
|
||||
{
|
||||
this.SyntaxErrors.Show(dockPanel);
|
||||
//TODO: Show errors somewhere in an output
|
||||
this.SyntaxErrors.Show(dockPanel);
|
||||
//TODO: Show errors somewhere in an output
|
||||
//this.panel1.Controls.Clear();
|
||||
//this.panel1.Controls.Add(this.SyntaxErrors);
|
||||
//this.panel1.Visible = true;
|
||||
|
@ -1302,7 +1305,7 @@ namespace LSLEditor
|
|||
|
||||
private void splitter1_SplitterMoved(object sender, SplitterEventArgs e)
|
||||
{
|
||||
//TODO: Splitter moved? I Think this is depricated
|
||||
//TODO: Splitter moved? I Think this is depricated
|
||||
//if( this.splitter1.SplitPosition>50)
|
||||
// Properties.Settings.Default.SimulatorSize = new Size(this.splitter1.Width, this.splitter1.SplitPosition);
|
||||
}
|
||||
|
@ -1347,19 +1350,19 @@ namespace LSLEditor
|
|||
|
||||
private void CloseTab(int intTabToDelete)
|
||||
{
|
||||
//TODO: Find a new way for closing tabs
|
||||
/*
|
||||
//TODO: Find a new way for closing tabs
|
||||
/*
|
||||
// reset toolstrip information
|
||||
this.toolStripStatusLabel1.Text = "";
|
||||
|
||||
//int intTabToDelete = (int)this.contextMenuStrip1.Tag;
|
||||
|
||||
if (intTabToDelete >= this.tabControlExtended1.TabCount)
|
||||
if (intTabToDelete >= this.tabControlExtended1.TabCount)
|
||||
return;
|
||||
|
||||
TabPage tabPage = this.tabControlExtended1.TabPages[intTabToDelete];
|
||||
TabPage tabPage = this.tabControlExtended1.TabPages[intTabToDelete];
|
||||
|
||||
if (tabPage.Text.Contains("Browser"))
|
||||
if (tabPage.Text.Contains("Browser"))
|
||||
{
|
||||
this.browser.Dispose();
|
||||
this.browser = null;
|
||||
|
@ -1393,7 +1396,7 @@ namespace LSLEditor
|
|||
editForm = null;
|
||||
}
|
||||
this.tabControlExtended1.TabPages[intTabToDelete].Dispose();
|
||||
*/
|
||||
*/
|
||||
GC.Collect();
|
||||
}
|
||||
|
||||
|
@ -1437,14 +1440,14 @@ namespace LSLEditor
|
|||
}
|
||||
else
|
||||
{
|
||||
//TODO: Find a new way
|
||||
//TODO: Find a new way
|
||||
/*
|
||||
int intTabToClose = this.tabControlExtended1.SelectedIndex;
|
||||
int intTabToClose = this.tabControlExtended1.SelectedIndex;
|
||||
if (intTabToClose >= 0)
|
||||
CloseTab(intTabToClose);
|
||||
|
||||
*/
|
||||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
private void closeActiveWindowToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
|
@ -1535,16 +1538,16 @@ namespace LSLEditor
|
|||
|
||||
public void ShowSolutionExplorer(bool blnVisible)
|
||||
{
|
||||
//TODO: We need another way to activate the Solution Explorer
|
||||
//TODO: We need another way to activate the Solution Explorer
|
||||
//this.panel2.Visible = blnVisible;
|
||||
if (blnVisible)
|
||||
{
|
||||
m_SolutionExplorer.Show(dockPanel);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_SolutionExplorer.Hide();
|
||||
}
|
||||
if (blnVisible)
|
||||
{
|
||||
m_SolutionExplorer.Show(dockPanel);
|
||||
}
|
||||
else
|
||||
{
|
||||
m_SolutionExplorer.Hide();
|
||||
}
|
||||
this.solutionExplorerToolStripMenuItem.Checked = blnVisible;
|
||||
//this.tabControlExtended1.Refresh();
|
||||
}
|
||||
|
@ -1571,15 +1574,15 @@ namespace LSLEditor
|
|||
this.newProjectToolStripMenuItem.Enabled = !blnVisible;
|
||||
}
|
||||
|
||||
private void openNoteFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ReadNoteFiles();
|
||||
}
|
||||
private void openNoteFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ReadNoteFiles();
|
||||
}
|
||||
|
||||
private void openScriptFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ReadScriptFiles();
|
||||
}
|
||||
private void openScriptFilesToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ReadScriptFiles();
|
||||
}
|
||||
|
||||
private void closeFileToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
@ -1784,7 +1787,7 @@ namespace LSLEditor
|
|||
|
||||
private void PluginsHandler(object sender, EventArgs e)
|
||||
{
|
||||
//TODO: What do we hide here?
|
||||
//TODO: What do we hide here?
|
||||
//this.panel1.Visible = false;
|
||||
|
||||
ToolStripMenuItem tsmi = sender as ToolStripMenuItem;
|
||||
|
@ -1885,36 +1888,36 @@ namespace LSLEditor
|
|||
NativeHelper.SendMyKeys.ClipBoardToApp("SecondLife", null);
|
||||
}
|
||||
|
||||
private void outlineToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//old
|
||||
}
|
||||
private void outlineToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//old
|
||||
}
|
||||
|
||||
private void outlineToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (Form k in this.Children)
|
||||
{
|
||||
EditForm editForm = k as EditForm;
|
||||
if (editForm == null)
|
||||
return;
|
||||
if (outlineToolStripMenuItem.Checked)
|
||||
{
|
||||
editForm.splitContainer1.Panel2Collapsed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
editForm.splitContainer1.Panel2Collapsed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
private void outlineToolStripMenuItem_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
foreach (Form k in this.Children)
|
||||
{
|
||||
EditForm editForm = k as EditForm;
|
||||
if (editForm == null)
|
||||
return;
|
||||
if (outlineToolStripMenuItem.Checked)
|
||||
{
|
||||
editForm.splitContainer1.Panel2Collapsed = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
editForm.splitContainer1.Panel2Collapsed = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
private void toolStripMenuItem9_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
Browser browser = GetBrowser();
|
||||
browser.ShowWebBrowser("LSLEditor QA", Properties.Settings.Default.qasite);
|
||||
}
|
||||
private void toolStripMenuItem9_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
Browser browser = GetBrowser();
|
||||
browser.ShowWebBrowser("LSLEditor QA", Properties.Settings.Default.qasite);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -70,7 +70,7 @@ using System.Runtime.InteropServices;
|
|||
// You can specify all the values or you can default the Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("2.48.0.1")]
|
||||
[assembly: AssemblyVersion("2.53.1.2")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
|
@ -100,4 +100,4 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyName("")]
|
||||
[assembly: ComVisibleAttribute(false)]
|
||||
[assembly: AssemblyFileVersionAttribute("2.48.0.1")]
|
||||
[assembly: AssemblyFileVersionAttribute("2.53.1.2")]
|
||||
|
|
|
@ -1,51 +1,3 @@
|
|||
<!--
|
||||
/**
|
||||
********
|
||||
*
|
||||
* 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 Liscense under the GPLv2.
|
||||
* In agreement with Alphons van der Heijden 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 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.
|
||||
*
|
||||
********
|
||||
*/
|
||||
|
||||
ZERO_VECTOR "#663366"
|
||||
|
||||
-->
|
||||
<Conf color="#FFFFFF" slcolor="#C8D1CC">
|
||||
<Words name="Comments" color="#FF7700" slcolor="#CC4D26">
|
||||
<Word name="regex">//.*</Word>
|
||||
|
@ -85,12 +37,8 @@
|
|||
|
||||
<Words icon="States" name="States" color="#0000ff" slcolor="#801A4D">
|
||||
<Word name="default">
|
||||
All scripts must have a
|
||||
<font color="blue">default</font>
|
||||
state,
|
||||
which also must be the first state entered when the script starts.
|
||||
If another state is defined before the default state,
|
||||
the compiler will report a syntax error.
|
||||
All scripts must have a <font color="blue">default</font> state, which is the first state entered when the script starts.
|
||||
If another state is defined before the default state, the compiler will report a syntax error.
|
||||
</Word>
|
||||
|
||||
<Word name="state" />
|
||||
|
@ -303,8 +251,7 @@
|
|||
<Word name="llClearCameraParams">
|
||||
llClearCameraParams();
|
||||
|
||||
Resets all camera parameters to default values and turns
|
||||
off scripted camera control.
|
||||
Resets all camera parameters to default values and turns off scripted camera control.
|
||||
</Word>
|
||||
|
||||
<Word name="llClearLinkMedia">
|
||||
|
@ -700,6 +647,13 @@
|
|||
Returns a pseudo-random number between [0, mag).
|
||||
</Word>
|
||||
|
||||
<Word name="llGenerateKey">
|
||||
key llGenerateKey();
|
||||
|
||||
Generates a key (SHA-1 hash) using UUID generation to create a unique key.\n
|
||||
As the UUID produced is versioned, it should never return a value of NULL_KEY.\nThe specific UUID version is an implementation detail that has changed in the past and may change again in the future. Do not depend upon the UUID that is returned to be version 5 SHA-1 hash.
|
||||
</Word>
|
||||
|
||||
<Word name="llGetAccel">
|
||||
vector llGetAccel(void);
|
||||
|
||||
|
@ -757,6 +711,12 @@
|
|||
Returns a list of keys of all playing animations for avatar id.
|
||||
</Word>
|
||||
|
||||
<Word name="llGetAnimationOverride">
|
||||
string llGetAnimationOverride(string AnimationState);
|
||||
|
||||
Returns the name of the animation used for specified animation state.
|
||||
</Word>
|
||||
|
||||
<Word name="llGetAttached">
|
||||
integer llGetAttached(void);
|
||||
|
||||
|
@ -933,9 +893,7 @@
|
|||
If this is used to determine whether or not an inventory item
|
||||
exists within the object, it will have the side effect of spamming chat.
|
||||
<Argument name="item">inventory item</Argument>
|
||||
<Argument name="mask" wild="MASK_.*">
|
||||
MASK_BASE, MASK_OWNER,MASK_GROUP, MASK_EVERYONE or MASK_NEXT
|
||||
</Argument>
|
||||
<Argument name="mask" wild="MASK_*">MASK_BASE, MASK_OWNER, MASK_GROUP, MASK_EVERYONE or MASK_NEXT</Argument>
|
||||
</Word>
|
||||
|
||||
<Word name="llGetInventoryType">
|
||||
|
@ -1599,6 +1557,34 @@
|
|||
Encodes number as an 8-character Base64 string.
|
||||
</Word>
|
||||
|
||||
<Word name="llJson2List">
|
||||
list llJson2List( string sJSON );
|
||||
|
||||
This function takes a string representing JSON, and returns a list of the top level.
|
||||
Returns a list made by parsing src, a string representing json.
|
||||
</Word>
|
||||
|
||||
<Word name="llJsonGetValue">
|
||||
string llJsonGetValue( string sJSON, list lSpecifiers );
|
||||
|
||||
Gets the value indicated by specifiers from the json string.
|
||||
Returns a string made by parsing json, a string representing json and traversing as specified by specifiers.
|
||||
</Word>
|
||||
|
||||
<Word name="llJsonSetValue">
|
||||
string llJsonSetValue( string sJSON, list lSpecifiers, string sValue );
|
||||
|
||||
Returns a new JSON string which is string with the value indicated by specifiers set to value.
|
||||
Returns a string
|
||||
</Word>
|
||||
|
||||
<Word name="llJsonValueType">
|
||||
string llJsonValueType( string sJSON, list lSpecifiers );
|
||||
|
||||
Gets the JSON type for the value in json at the location specifiers.
|
||||
Returns the string specifying the type of the value at specifiers in json.
|
||||
</Word>
|
||||
|
||||
<Word name="llKey2Name">
|
||||
string llKey2Name(key id);
|
||||
|
||||
|
@ -1643,6 +1629,13 @@
|
|||
Returns the integer at index in the list src.
|
||||
</Word>
|
||||
|
||||
<Word name="llList2Json">
|
||||
string llList2Json( string sType, list lValues );
|
||||
|
||||
This function takes a list and returns a JSON string of that list as either a json object or json array.
|
||||
Returns a string that is either values serialized as a JSON type, or if an error was encountered JSON_INVALID.
|
||||
</Word>
|
||||
|
||||
<Word name="llList2Key">
|
||||
key llList2Key(list src, integer index);
|
||||
|
||||
|
@ -1652,8 +1645,8 @@
|
|||
<Word name="llList2List">
|
||||
list llList2List(list src, integer start, integer end);
|
||||
|
||||
Returns the slice of the list from startto end from the list
|
||||
srcas a new list. The startand end parameters
|
||||
Returns the slice of the list from start to end of the list
|
||||
src as a new list. The start and end parameters
|
||||
are inclusive, so 0,length-1 would copy the entire list and 0,0
|
||||
would capture the first list entry. Using negative
|
||||
numbers for startand/or end causes the index to count backwards
|
||||
|
@ -2146,17 +2139,6 @@
|
|||
• string msg – message to be transmitted
|
||||
</Word>
|
||||
|
||||
<!--
|
||||
<Word name="llReleaseCamera">
|
||||
llReleaseCamera(key agent);
|
||||
|
||||
A FollowCam function that returns the camera to the
|
||||
key agent after permission to change it with
|
||||
llSetCameraParams has been granted via
|
||||
llRequestPermissions(agent_key, PERMISSION_CONTROL_CAMERA).
|
||||
</Word>
|
||||
-->
|
||||
|
||||
<Word name="llReleaseControls">
|
||||
llReleaseControls();
|
||||
|
||||
|
@ -2302,6 +2284,12 @@
|
|||
• key id – avatar UUID
|
||||
</Word>
|
||||
|
||||
<Word name="llResetAnimationOverride">
|
||||
void llResetAnimationOverride(string AnimationState);
|
||||
|
||||
Resets the animation override of the specified animation state to the corresponding default value.
|
||||
</Word>
|
||||
|
||||
<Word name="llResetLandBanList">
|
||||
llResetLandBanList(void)
|
||||
|
||||
|
@ -2332,6 +2320,18 @@
|
|||
Sets the internal timer to zero.
|
||||
</Word>
|
||||
|
||||
<Word name="llReturnObjectsByID">
|
||||
integer llReturnObjectsByID(list ObjectIDs);
|
||||
|
||||
Return objects using their UUIDs
|
||||
</Word>
|
||||
|
||||
<Word name="llReturnObjectsByOwner">
|
||||
integer llReturnObjectsByOwner(key ID, integer Scope);
|
||||
|
||||
Return objects based upon their owner and a scope of parcel, parcel owner, or region.
|
||||
</Word>
|
||||
|
||||
<Word name="llRezAtRoot">
|
||||
llRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param);
|
||||
|
||||
|
@ -2526,6 +2526,12 @@
|
|||
<Argument name="iLocal">If TRUE, the vForce is treated as a local directional vector instead of a regional directional vector.</Argument>
|
||||
</Word>
|
||||
|
||||
<Word name="llSetAnimationOverride">
|
||||
void llSetAnimationOverride(string AnimationState, string Animation);
|
||||
|
||||
Set the animation that will play for the given animation state.
|
||||
</Word>
|
||||
|
||||
<Word name="llSetBuoyancy">
|
||||
llSetBuoyancy(float buoyancy);
|
||||
|
||||
|
@ -2571,7 +2577,7 @@
|
|||
<Word name="llSetContentType">
|
||||
void llSetContentType(key kRequestID, integer iCcontentType);
|
||||
|
||||
Set the Internet media type of an LSL HTTP server response. ContentType accepts the constants CONTENT_TYPE_TEXT and CONTENT_TYPE_HTML.
|
||||
Set the Internet media type of an LSL HTTP server response. ContentType accepts the constants CONTENT_TYPE_ATOM, CONTENT_TYPE_FORM, CONTENT_TYPE_HTML, CONTENT_TYPE_JSON, CONTENT_TYPE_LLSD, CONTENT_TYPE_RSS, CONTENT_TYPE_TEXT, CONTENT_TYPE_XHTML, and CONTENT_TYPE_XML.
|
||||
</Word>
|
||||
|
||||
<Word name="llSetDamage">
|
||||
|
@ -3281,7 +3287,7 @@
|
|||
</Argument>
|
||||
</Word>
|
||||
|
||||
<Word name="llWanderWithin" status="beta">
|
||||
<Word name="llWanderWithin">
|
||||
void llWanderWithin(vector Origin, float Distance, list Options);
|
||||
|
||||
Sets a character to wander about a central spot within a specified radius.
|
||||
|
@ -3752,6 +3758,7 @@
|
|||
<Word name="PERMISSION_CHANGE_PERMISSIONS" value="">
|
||||
(not yet implemented)
|
||||
</Word>
|
||||
<Word name="PERMISSION_OVERRIDE_ANIMATIONS" value="0x8000" />
|
||||
<Word name="PERMISSION_RELEASE_OWNERSHIP" value="">
|
||||
(not yet implemented)
|
||||
</Word>
|
||||
|
@ -3769,6 +3776,7 @@
|
|||
call llStartAnimation for the avatar that owns this
|
||||
object.
|
||||
</Word>
|
||||
<Word name="PERMISSION_RETURN_OBJECTS" value="65536"></Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.5. Inventory Constants">
|
||||
|
@ -3794,6 +3802,9 @@
|
|||
These constants are used to refer to attachment points
|
||||
in calls to llAttachToAvatar.
|
||||
Attachment Constants
|
||||
<Word name="ATTACH_AVATAR_CENTER">
|
||||
Attach to the avatar's geometric centre.
|
||||
</Word>
|
||||
<Word name="ATTACH_BACK">
|
||||
Attach to the avatar back.
|
||||
</Word>
|
||||
|
@ -3844,6 +3855,9 @@
|
|||
<Word name="ATTACH_MOUTH">
|
||||
Attach to the avatar mouth.
|
||||
</Word>
|
||||
<Word name="ATTACH_NECK">
|
||||
Attach to the avatar's neck.
|
||||
</Word>
|
||||
<Word name="ATTACH_NOSE">
|
||||
Attach to the avatar nose.
|
||||
</Word>
|
||||
|
@ -4689,6 +4703,7 @@
|
|||
<Word name="CHARACTER_MAX_TURN_RADIUS" type="integer" value="10" status="beta">The character'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_STAY_WITHIN_PARCEL" type="integer" value="15">Takes a boolean parameter. If TRUE, the character cannot voluntarilly leave the parcel, but can return to it.</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" />
|
||||
|
@ -4710,7 +4725,28 @@
|
|||
<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.26 JSON constants">
|
||||
<Word name="JSON_ARRAY" type="string" value="">U+FDD2</Word>
|
||||
<Word name="JSON_FALSE" type="string" value="">U+FDD7</Word>
|
||||
<Word name="JSON_INVALID" type="string" value="">U+FDD0</Word>
|
||||
<Word name="JSON_NULL" type="string" value="">U+FDD5</Word>
|
||||
<Word name="JSON_NUMBER" type="string" value="">U+FDD3</Word>
|
||||
<Word name="JSON_OBJECT" type="string" value="">U+FDD1</Word>
|
||||
<Word name="JSON_STRING" type="string" value="">U+FDD4</Word>
|
||||
<Word name="JSON_TRUE" type="string" value="">>U+FDD6</Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.27 Parcel Return constants">
|
||||
<Word name="ERR_GENERIC" type="integer" value="-1"></Word>
|
||||
<Word name="ERR_MALFORMED_PARAMS" type="integer" value="-3"></Word>
|
||||
<Word name="ERR_PARCEL_PERMISSIONS" type="integer" value="-2"></Word>
|
||||
<Word name="ERR_RUNTIME_PERMISSIONS" type="integer" value="-4"></Word>
|
||||
<Word name="ERR_THROTTLED" type="integer" value="-5"></Word>
|
||||
<Word name="OBJECT_RETURN_PARCEL" type="integer" value="1"></Word>
|
||||
<Word name="OBJECT_RETURN_PARCEL_OWNER" type="integer" value="2"></Word>
|
||||
<Word name="OBJECT_RETURN_REGION" type="integer" value="4"></Word>
|
||||
</WordsSubsection>
|
||||
|
||||
<WordsSubsection name="C.99. Miscellaneous constants.">
|
||||
|
@ -4759,7 +4795,16 @@
|
|||
When the prim is touched, touch events are triggered"
|
||||
</Word>
|
||||
|
||||
<Word name="CONTENT_TYPE_ATOM">"application/atom+xml"</Word>
|
||||
<Word name="CONTENT_TYPE_FORM">"application/x-www-form-urlencoded"</Word>
|
||||
<Word name="CONTENT_TYPE_HTML">"text/html", only valid for embedded browsers on content owned by the person viewing. Falls back to "text/plain" otherwise.</Word>
|
||||
<Word name="CONTENT_TYPE_JSON">"application/json"</Word>
|
||||
<Word name="CONTENT_TYPE_LLSD">"application/llsd+xml"</Word>
|
||||
<Word name="CONTENT_TYPE_RSS">"application/rss+xml"</Word>
|
||||
<Word name="CONTENT_TYPE_TEXT">"text/plain"</Word>
|
||||
<Word name="CONTENT_TYPE_XHTML">"application/xhtml+xml"</Word>
|
||||
<Word name="CONTENT_TYPE_XML">"application/xml"</Word>
|
||||
|
||||
<Word name="DEBUG_CHANNEL">
|
||||
DEBUG_CHANNEL is an integer constant that, when passed to
|
||||
llSay, llWhisper, or llShout as a channel parameter,
|
||||
|
@ -4851,7 +4896,7 @@
|
|||
<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>
|
||||
|
@ -5112,7 +5157,7 @@
|
|||
<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="STRING_TRIM" />
|
||||
|
|
|
@ -1,12 +1,111 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>Release Notes</title>
|
||||
<style>
|
||||
.date { text-decoration: underline; }
|
||||
</style>
|
||||
<style>.date { text-decoration: underline; }</style>
|
||||
</head>
|
||||
<body style="background-color: white; font-family: Verdana, sans-serif;font-size: 13px;line-height: 1.3">
|
||||
<div>
|
||||
<div>
|
||||
<h3><span class="date">2013-07-07</span> - Release 2.53.1</h3>
|
||||
<div>
|
||||
* Fixes
|
||||
<ul>
|
||||
<li>Fixed print dialogue box not opening on AMD64 CPUs</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3><span class="date">2013-07-02</span> - Release 2.53.0</h3>
|
||||
<div>
|
||||
* Constants Added:
|
||||
<ul>
|
||||
<li>CHARACTER_STAY_WITHIN_PARCEL</li>
|
||||
<li>ERR_GENERIC</li>
|
||||
<li>ERR_MALFORMED_PARAMS</li>
|
||||
<li>ERR_PARCEL_PERMISSIONS</li>
|
||||
<li>ERR_RUNTIME_PERMISSIONS</li>
|
||||
<li>ERR_THROTTLED</li>
|
||||
<li>OBJECT_RETURN_PARCEL</li>
|
||||
<li>OBJECT_RETURN_PARCEL_OWNER</li>
|
||||
<li>OBJECT_RETURN_REGION</li>
|
||||
<li>PERMISSION_RETURN_OBJECTS</li>
|
||||
</ul>
|
||||
</div>
|
||||
* Functions added:
|
||||
<div>
|
||||
<ul>
|
||||
<li>llReturnObjectsByID</li>
|
||||
<li>llReturnObjectsByOwner</li>
|
||||
<li></li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3><span class="date">2013-06-22</span> - Release 2.52.0</h3>
|
||||
<p>Added the JSON related constants and functions.</p>
|
||||
<div>
|
||||
* Constants Added:
|
||||
<ul>
|
||||
<li>JSON_ARRAY</li>
|
||||
<li>JSON_FALSE</li>
|
||||
<li>JSON_INVALID</li>
|
||||
<li>JSON_NULL</li>
|
||||
<li>JSON_NUMBER</li>
|
||||
<li>JSON_OBJECT</li>
|
||||
<li>JSON_STRING</li>
|
||||
<li>JSON_TRUE</li>
|
||||
<li></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
<div>
|
||||
* Functions added:
|
||||
<ul>
|
||||
<li>llList2Json</li>
|
||||
<li>llJson2List</li>
|
||||
<li>llJsonGetValue</li>
|
||||
<li>llJsonSetValue</li>
|
||||
<li>llJsonValueType</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h3><span class="date">2013-05-16</span> - Release 2.51.0</h3>
|
||||
<div>
|
||||
* Constants Added:
|
||||
<ul>
|
||||
<li>CONTENT_TYPE_ATOM</li>
|
||||
<li>CONTENT_TYPE_FORM</li>
|
||||
<li>CONTENT_TYPE_JSON</li>
|
||||
<li>CONTENT_TYPE_LLSD</li>
|
||||
<li>CONTENT_TYPE_RSS</li>
|
||||
<li>CONTENT_TYPE_XHTML</li>
|
||||
<li>CONTENT_TYPE_XML</li>
|
||||
<li>PERMISSION_OVERRIDE_ANIMATIONS</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>
|
||||
* Functions added:
|
||||
<ul>
|
||||
<li>llGetAnimationOverride()</li>
|
||||
<li>llResetAnimationOverride()</li>
|
||||
<li>llSetAnimationOverride()</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3><span class="date">2013-03-04</span> - Release 2.50.0</h3>
|
||||
<div>
|
||||
* Function added:
|
||||
<ul>
|
||||
<li>llGenerate()</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3><span class="date">2013-02-14</span> - Release 2.49.0</h3>
|
||||
<div>
|
||||
* Constants Added:
|
||||
<ul>
|
||||
<li>ATTACH_AVATAR_CENTER</li>
|
||||
<li>ATTACH_NECK</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h3><span class="date">2013-01-01</span> - Release 2.48.0</h3>
|
||||
<div>
|
||||
|
|
|
@ -234,7 +234,10 @@ namespace LSLEditor
|
|||
public static readonly integer AGENT_LIST_PARCEL_OWNER = 0x02;
|
||||
public static readonly integer AGENT_LIST_REGION = 0x04;
|
||||
|
||||
public static readonly integer ATTACH_AVATAR_CENTER = 40;
|
||||
public static readonly integer ATTACH_BACK = 9;
|
||||
public static readonly integer ATTACH_CHEST = 1;
|
||||
public static readonly integer ATTACH_CHIN = 12;
|
||||
public static readonly integer ATTACH_HEAD = 2;
|
||||
public static readonly integer ATTACH_LSHOULDER = 3;
|
||||
public static readonly integer ATTACH_RSHOULDER = 4;
|
||||
|
@ -242,10 +245,9 @@ namespace LSLEditor
|
|||
public static readonly integer ATTACH_RHAND = 6;
|
||||
public static readonly integer ATTACH_LFOOT = 7;
|
||||
public static readonly integer ATTACH_RFOOT = 8;
|
||||
public static readonly integer ATTACH_BACK = 9;
|
||||
public static readonly integer ATTACH_PELVIS = 10;
|
||||
public static readonly integer ATTACH_MOUTH = 11;
|
||||
public static readonly integer ATTACH_CHIN = 12;
|
||||
public static readonly integer ATTACH_NECK = 39;
|
||||
public static readonly integer ATTACH_LEAR = 13;
|
||||
public static readonly integer ATTACH_LEFT_PEC = 29;
|
||||
public static readonly integer ATTACH_REAR = 14;
|
||||
|
@ -320,6 +322,7 @@ namespace LSLEditor
|
|||
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_STAY_WITHIN_PARCEL = 15;
|
||||
public static readonly integer CHARACTER_TYPE_A = 0;
|
||||
public static readonly integer CHARACTER_TYPE_B = 1;
|
||||
public static readonly integer CHARACTER_TYPE_C = 2;
|
||||
|
@ -334,7 +337,17 @@ namespace LSLEditor
|
|||
public static readonly integer CLICK_ACTION_OPEN = 4;
|
||||
public static readonly integer CLICK_ACTION_PLAY = 5;
|
||||
public static readonly integer CLICK_ACTION_OPEN_MEDIA = 6;
|
||||
|
||||
public static readonly string CONTENT_TYPE_ATOM = "application/atom+xml";
|
||||
public static readonly string CONTENT_TYPE_FORM = "application/x-www-form-urlencoded";
|
||||
public static readonly string CONTENT_TYPE_HTML = "text/html";
|
||||
public static readonly string CONTENT_TYPE_JSON = "application/json";
|
||||
public static readonly string CONTENT_TYPE_LLSD = "application/llsd+xml";
|
||||
public static readonly string CONTENT_TYPE_RSS = "application/rss+xml";
|
||||
public static readonly string CONTENT_TYPE_TEXT = "text/plain";
|
||||
public static readonly string CONTENT_TYPE_XHTML = "application/xhtml+xml";
|
||||
public static readonly string CONTENT_TYPE_XML = "application/xml";
|
||||
|
||||
public static readonly integer CONTROL_FWD = 1;
|
||||
public static readonly integer CONTROL_BACK = 2;
|
||||
public static readonly integer CONTROL_LEFT = 4;
|
||||
|
@ -357,6 +370,12 @@ namespace LSLEditor
|
|||
|
||||
public static readonly integer DATA_PAYINFO = 8;
|
||||
|
||||
public static readonly integer ERR_GENERIC = -1;
|
||||
public static readonly integer ERR_MALFORMED_PARAMS = -3;
|
||||
public static readonly integer ERR_PARCEL_PERMISSIONS = -2;
|
||||
public static readonly integer ERR_RUNTIME_PERMISSIONS = -4;
|
||||
public static readonly integer ERR_THROTTLED = -5;
|
||||
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_AGENT_ADD = 4;
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_AGENT_REMOVE = 8;
|
||||
public static readonly integer ESTATE_ACCESS_ALLOWED_GROUP_ADD = 16;
|
||||
|
@ -389,6 +408,15 @@ namespace LSLEditor
|
|||
public static readonly integer INVENTORY_ANIMATION = 20;
|
||||
public static readonly integer INVENTORY_GESTURE = 21;
|
||||
|
||||
public static readonly string JSON_ARRAY = "\uFDD2";
|
||||
public static readonly string JSON_FALSE = "\uFDD7";
|
||||
public static readonly string JSON_INVALID = "\uFDD0";
|
||||
public static readonly string JSON_NULL = "\uFDD5";
|
||||
public static readonly string JSON_NUMBER = "\uFDD3";
|
||||
public static readonly string JSON_OBJECT = "\uFDD1";
|
||||
public static readonly string JSON_STRING = "\uFDD4";
|
||||
public static readonly string JSON_TRUE = "\uFDD6";
|
||||
|
||||
public static readonly integer KFM_CMD_PAUSE = 2;
|
||||
public static readonly integer KFM_CMD_PLAY = 0;
|
||||
public static readonly integer KFM_CMD_STOP = 1;
|
||||
|
@ -471,6 +499,10 @@ namespace LSLEditor
|
|||
public static readonly integer OPT_STATIC_OBSTACLE = 4;
|
||||
public static readonly integer OPT_WALKABLE = 3;
|
||||
|
||||
public static readonly integer OBJECT_RETURN_PARCEL = 1;
|
||||
public static readonly integer OBJECT_RETURN_PARCEL_OWNER = 2;
|
||||
public static readonly integer OBJECT_RETURN_REGION = 4;
|
||||
|
||||
public static readonly integer PARCEL_COUNT_TOTAL = 0;
|
||||
public static readonly integer PARCEL_COUNT_OWNER = 1;
|
||||
public static readonly integer PARCEL_COUNT_GROUP = 2;
|
||||
|
@ -541,8 +573,10 @@ namespace LSLEditor
|
|||
public static readonly integer PERMISSION_CHANGE_LINKS = 128;
|
||||
public static readonly integer PERMISSION_CHANGE_JOINTS = 256;
|
||||
public static readonly integer PERMISSION_CHANGE_PERMISSIONS = 512;
|
||||
public static readonly integer PERMISSION_TRACK_CAMERA = 1024;
|
||||
public static readonly integer PERMISSION_CONTROL_CAMERA = 2048;
|
||||
public static readonly integer PERMISSION_OVERRIDE_ANIMATIONS = 0x8000;
|
||||
public static readonly integer PERMISSION_TRACK_CAMERA = 1024;
|
||||
public static readonly integer PERMISSION_RETURN_OBJECTS = 65536;
|
||||
|
||||
public static readonly integer PRIM_BUMP_BARK = 4;
|
||||
public static readonly integer PRIM_BUMP_BLOBS = 12;
|
||||
|
@ -884,7 +918,7 @@ namespace LSLEditor
|
|||
public ArrayList RandomShuffle(ArrayList collection)
|
||||
{
|
||||
// We have to copy all items anyway, and there isn't a way to produce the items
|
||||
// on the fly that is linear. So copying to an array and shuffling it is an efficient as we can get.
|
||||
// on the fly that is linear. So copying to an array and shuffling it is as efficient as we can get.
|
||||
|
||||
if (collection == null)
|
||||
throw new ArgumentNullException("collection");
|
||||
|
@ -1776,6 +1810,12 @@ namespace LSLEditor
|
|||
return dblValue;
|
||||
}
|
||||
|
||||
public key llGenerate()
|
||||
{
|
||||
Verbose("llGenerate()");
|
||||
return key.NULL_KEY;
|
||||
}
|
||||
|
||||
public void llFleeFrom(vector Source, Float Distance, list Options)
|
||||
{
|
||||
Verbose("llFleeFrom({0}, {1}, {2})", Source, Distance, Options);
|
||||
|
@ -1840,6 +1880,12 @@ namespace LSLEditor
|
|||
return new list();
|
||||
}
|
||||
|
||||
public String llGetAnimationOverride(String sAnimationState)
|
||||
{
|
||||
Verbose("GetAnimationOverride(" + sAnimationState + ")");
|
||||
return "";
|
||||
}
|
||||
|
||||
public integer llGetAttached()
|
||||
{
|
||||
Verbose("GetAttached()");
|
||||
|
@ -2718,6 +2764,38 @@ namespace LSLEditor
|
|||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // E0
|
||||
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; // F0
|
||||
|
||||
public list llJson2List(string sJSON)
|
||||
{
|
||||
//TODO implement conversion to list
|
||||
list lJSON = new list();
|
||||
Verbose("llJson2List({0})={1}", sJSON, lJSON);
|
||||
return lJSON;
|
||||
}
|
||||
|
||||
public string llJsonGetValue(string sJSON, list lSpecifiers)
|
||||
{
|
||||
//TODO determine return value from list
|
||||
string sReturn = JSON_INVALID;
|
||||
Verbose("llJsonGetValue({0}, {1})= {2}", sJSON, lSpecifiers, sReturn);
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
public string llJsonSetValue(string sJSON, list lSpecifiers, string sValue)
|
||||
{
|
||||
//TODO determine return value
|
||||
string sReturn = JSON_INVALID;
|
||||
Verbose("llJsonGetValue({0}, {1}, {2})= {3}", sJSON, lSpecifiers, sValue, sReturn);
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
public string llJsonValueType(string sJSON, list lSpecifiers)
|
||||
{
|
||||
//TODO determine return value
|
||||
string sReturn = JSON_INVALID;
|
||||
Verbose("llJsonGetValue({0}, {1})= {2}", sJSON, lSpecifiers, sReturn);
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
public String llKey2Name(key id)
|
||||
{
|
||||
string strName = "*unknown*";
|
||||
|
@ -2776,6 +2854,14 @@ namespace LSLEditor
|
|||
return result;
|
||||
}
|
||||
|
||||
public string llList2Json(string sType, list lValues)
|
||||
{
|
||||
//TODO determine return value
|
||||
string sReturn = JSON_INVALID;
|
||||
Verbose("llList2Json({0}, {1})= {2}", sType, lValues, sReturn);
|
||||
return sReturn;
|
||||
}
|
||||
|
||||
public key llList2Key(list src, integer index)
|
||||
{
|
||||
key result;
|
||||
|
@ -3549,6 +3635,11 @@ namespace LSLEditor
|
|||
return kID;
|
||||
}
|
||||
|
||||
public void llResetAnimationOverride(String sAnimationState)
|
||||
{
|
||||
Verbose("llResetAnimationOverride({0})", sAnimationState);
|
||||
}
|
||||
|
||||
public void llResetLandBanList()
|
||||
{
|
||||
m_LandBanList = new Hashtable();
|
||||
|
@ -3580,6 +3671,20 @@ namespace LSLEditor
|
|||
m_DateTimeScriptStarted = DateTime.Now.ToUniversalTime();
|
||||
}
|
||||
|
||||
public integer llReturnObjectsByID(list lObjects)
|
||||
{
|
||||
integer iReturned = ERR_GENERIC;
|
||||
Verbose("llReturnObjectsByID({0})={1}", lObjects, iReturned);
|
||||
return iReturned;
|
||||
}
|
||||
|
||||
public integer llReturnObjectsByOwner(key kID, integer iScope)
|
||||
{
|
||||
integer iReturned = ERR_GENERIC;
|
||||
Verbose("llReturnObjectsByOwner({0}, {1})={2}", kID, iScope, iReturned);
|
||||
return iReturned;
|
||||
}
|
||||
|
||||
public void llRezAtRoot(String inventory, vector pos, vector vel, rotation rot, integer param)
|
||||
{
|
||||
Verbose("RezAtRoot(" + inventory + "," + pos + "," + vel + "," + rot + "," + param + ")");
|
||||
|
@ -3753,6 +3858,11 @@ namespace LSLEditor
|
|||
Verbose("llSetAngularVelocity(" + vForce + "," + iLocal + ")");
|
||||
}
|
||||
|
||||
public void llSetAnimationOverride(String sAnimationState, String sAnimation)
|
||||
{
|
||||
Verbose("llSetAnimationOverride({0}, {1})", sAnimationState, sAnimation);
|
||||
}
|
||||
|
||||
public void llSetBuoyancy(Float buoyancy)
|
||||
{
|
||||
Verbose("SetBuoyancy(" + buoyancy + ")");
|
||||
|
@ -4304,7 +4414,7 @@ namespace LSLEditor
|
|||
Verbose("VolumeDetect(" + detect + ")");
|
||||
}
|
||||
|
||||
public void llWanderWithin(vector Origin, Float Distance, list Options)
|
||||
public void llWanderWithin(vector Origin, vector Distance, list Options)
|
||||
{
|
||||
Verbose("llWanderWithin({0}, {1}, {2})", Origin, Distance, Options);
|
||||
}
|
||||
|
|
14
trunk/SecondLife/json.cs
Normal file
14
trunk/SecondLife/json.cs
Normal file
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
|
||||
namespace LSLEditor
|
||||
{
|
||||
public partial class SecondLife
|
||||
{
|
||||
public class jsonObject : DictionaryBase
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
|
@ -26,7 +26,7 @@
|
|||
</FileUpgradeFlags>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
<Win32Resource>E:\Dev\SL\C#\lsleditor\official\trunk\LSLEditor.RES</Win32Resource>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||
|
@ -96,7 +96,7 @@
|
|||
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>true</SignManifests>
|
||||
<SignManifests>false</SignManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>5CBB20152EC70EC13542B336790AF2E7AB2E1DEB</ManifestCertificateThumbprint>
|
||||
|
@ -251,6 +251,7 @@
|
|||
</Compile>
|
||||
<Compile Include="Plugins\Generic.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SecondLife\json.cs" />
|
||||
<Compile Include="Solution\GuidProperty.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue