Completed [LIBOMV-319], converting libopenmv to use Prebuild

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1968 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-07-23 01:32:28 +00:00
parent e75ee3a804
commit a9a2e06ef0
24 changed files with 290 additions and 1592 deletions

View File

@@ -1,20 +0,0 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace Baker
{
static class Baker
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frmBaker());
}
}
}

View File

@@ -1,78 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{4A32A4E5-717C-4B60-B3D7-704518684893}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Baker</RootNamespace>
<AssemblyName>Baker</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<ItemGroup>
<EmbeddedResource Include="frmBaker.resx">
<DependentUpon>frmBaker.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Oven.cs" />
</ItemGroup>
<ItemGroup>
<Compile Include="Baker.cs" />
<Compile Include="frmBaker.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmBaker.designer.cs">
<DependentUpon>frmBaker.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Name>OpenMetaverse</Name>
</ProjectReference>
</ItemGroup>
</Project>

View File

@@ -1,69 +0,0 @@
using System;
using System.Drawing;
using System.Drawing.Imaging;
using System.Runtime.InteropServices;
namespace Baker
{
public static class Oven
{
public static Bitmap ModifyAlphaMask(Bitmap alpha, byte weight, float ramp)
{
// Create the new modifiable image (our canvas)
int width = alpha.Width;
int height = alpha.Height;
int pixelFormatSize = Image.GetPixelFormatSize(alpha.PixelFormat) / 8;
int stride = width * pixelFormatSize;
byte[] data = new byte[stride * height];
GCHandle handle = GCHandle.Alloc(data, GCHandleType.Pinned);
IntPtr pointer = Marshal.UnsafeAddrOfPinnedArrayElement(data, 0);
Bitmap modified = new Bitmap(width, height, stride, alpha.PixelFormat, pointer);
// Copy the existing alpha mask to the canvas
Graphics g = Graphics.FromImage(modified);
g.DrawImageUnscaledAndClipped(alpha, new Rectangle(0, 0, width, height));
g.Dispose();
// Modify the canvas based on the input weight and ramp values
// TODO: use the ramp
// TODO: only bother with the alpha values
for (int i = 0; i < data.Length; i++)
{
if (data[i] < weight) data[i] = 0;
}
return modified;
}
public static Bitmap ApplyAlphaMask(Bitmap source, Bitmap alpha)
{
// Create the new modifiable image (our canvas)
int width = source.Width;
int height = source.Height;
if (alpha.Width != width || alpha.Height != height ||
alpha.PixelFormat != source.PixelFormat)
{
throw new Exception("Source image and alpha mask formats do not match");
}
int pixelFormatSize = Image.GetPixelFormatSize(source.PixelFormat) / 8;
int stride = width * pixelFormatSize;
byte[] data = new byte[stride * height];
GCHandle handle = GCHandle.Alloc(data, GCHandleType.Pinned);
IntPtr pointer = Marshal.UnsafeAddrOfPinnedArrayElement(data, 0);
Bitmap modified = new Bitmap(width, height, stride, source.PixelFormat, pointer);
// Copy the source image to the canvas
Graphics g = Graphics.FromImage(modified);
g.DrawImageUnscaledAndClipped(source, new Rectangle(0, 0, width, height));
g.Dispose();
// Get access to the pixel data for the alpha mask (probably using lockbits)
// Combine the alpha mask alpha bytes in to the canvas
return modified;
}
}
}

View File

@@ -1,134 +0,0 @@
namespace Baker
{
partial class frmBaker
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.pic1 = new System.Windows.Forms.PictureBox();
this.cmdLoadShirt = new System.Windows.Forms.Button();
this.scrollWeight = new System.Windows.Forms.HScrollBar();
this.cmdLoadSkin = new System.Windows.Forms.Button();
this.cboMask = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.pic1)).BeginInit();
this.SuspendLayout();
//
// pic1
//
this.pic1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.pic1.Location = new System.Drawing.Point(12, 41);
this.pic1.Name = "pic1";
this.pic1.Size = new System.Drawing.Size(512, 483);
this.pic1.TabIndex = 0;
this.pic1.TabStop = false;
//
// cmdLoadShirt
//
this.cmdLoadShirt.Location = new System.Drawing.Point(449, 530);
this.cmdLoadShirt.Name = "cmdLoadShirt";
this.cmdLoadShirt.Size = new System.Drawing.Size(75, 23);
this.cmdLoadShirt.TabIndex = 1;
this.cmdLoadShirt.Text = "Load Shirt";
this.cmdLoadShirt.UseVisualStyleBackColor = true;
//
// scrollWeight
//
this.scrollWeight.Location = new System.Drawing.Point(12, 530);
this.scrollWeight.Maximum = 255;
this.scrollWeight.Name = "scrollWeight";
this.scrollWeight.Size = new System.Drawing.Size(345, 23);
this.scrollWeight.TabIndex = 0;
this.scrollWeight.Scroll += new System.Windows.Forms.ScrollEventHandler(this.scrollWeight_Scroll);
//
// cmdLoadSkin
//
this.cmdLoadSkin.Location = new System.Drawing.Point(366, 530);
this.cmdLoadSkin.Name = "cmdLoadSkin";
this.cmdLoadSkin.Size = new System.Drawing.Size(75, 23);
this.cmdLoadSkin.TabIndex = 2;
this.cmdLoadSkin.Text = "Load Skin";
this.cmdLoadSkin.UseVisualStyleBackColor = true;
this.cmdLoadSkin.Click += new System.EventHandler(this.cmdLoadSkin_Click);
//
// cboMask
//
this.cboMask.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.cboMask.FormattingEnabled = true;
this.cboMask.Items.AddRange(new object[] {
"glove_length_alpha",
"gloves_fingers_alpha",
"jacket_length_lower_alpha",
"jacket_length_upper_alpha",
"jacket_open_lower_alpha",
"jacket_open_upper_alpha",
"pants_length_alpha",
"pants_waist_alpha",
"shirt_bottom_alpha",
"shirt_collar_alpha",
"shirt_collar_back_alpha",
"shirt_sleeve_alpha",
"shoe_height_alpha",
"skirt_length_alpha",
"skirt_slit_front_alpha",
"skirt_slit_left_alpha",
"skirt_slit_right_alpha"});
this.cboMask.Location = new System.Drawing.Point(358, 12);
this.cboMask.Name = "cboMask";
this.cboMask.Size = new System.Drawing.Size(166, 21);
this.cboMask.TabIndex = 3;
this.cboMask.SelectedIndexChanged += new System.EventHandler(this.cboMask_SelectedIndexChanged);
//
// frmBaker
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(538, 563);
this.Controls.Add(this.cboMask);
this.Controls.Add(this.cmdLoadSkin);
this.Controls.Add(this.scrollWeight);
this.Controls.Add(this.cmdLoadShirt);
this.Controls.Add(this.pic1);
this.Name = "frmBaker";
this.Text = "Baker";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmBaker_FormClosing);
this.Load += new System.EventHandler(this.frmBaker_Load);
((System.ComponentModel.ISupportInitialize)(this.pic1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.PictureBox pic1;
private System.Windows.Forms.HScrollBar scrollWeight;
private System.Windows.Forms.Button cmdLoadShirt;
private System.Windows.Forms.Button cmdLoadSkin;
private System.Windows.Forms.ComboBox cboMask;
}
}

View File

@@ -1,91 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Drawing.Imaging;
using System.Text;
using System.Windows.Forms;
using System.IO;
using OpenMetaverse.Imaging;
namespace Baker
{
public partial class frmBaker : Form
{
Bitmap AlphaMask;
public frmBaker()
{
InitializeComponent();
}
private void frmBaker_Load(object sender, EventArgs e)
{
cboMask.SelectedIndex = 0;
DisplayResource(cboMask.Text);
}
private void DisplayResource(string resource)
{
Stream stream = OpenMetaverse.Helpers.GetResourceStream(resource + ".tga");
if (stream != null)
{
AlphaMask = LoadTGAClass.LoadTGA(stream);
stream.Close();
ManagedImage managedImage = new ManagedImage(AlphaMask);
// FIXME: Operate on ManagedImage instead of Bitmap
pic1.Image = Oven.ModifyAlphaMask(AlphaMask, (byte)scrollWeight.Value, 0.0f);
}
else
{
MessageBox.Show("Failed to load embedded resource \"" + resource + "\"", "Baker",
MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
private void scrollWeight_Scroll(object sender, ScrollEventArgs e)
{
pic1.Image = Oven.ModifyAlphaMask(AlphaMask, (byte)scrollWeight.Value, 0.0f);
}
private void frmBaker_FormClosing(object sender, FormClosingEventArgs e)
{
}
private void cmdLoadSkin_Click(object sender, EventArgs e)
{
}
private void cmdLoadShirt_Click(object sender, EventArgs e)
{
OpenFileDialog dialog = new OpenFileDialog();
//dialog.Filter = "JPEG2000 (*.jp2,*.j2c,*.j2k)|";
//if (dialog.ShowDialog() == DialogResult.OK)
//{
// try
// {
// byte[] j2kdata = File.ReadAllBytes(dialog.FileName);
// Image image = OpenJPEGNet.OpenJPEG.DecodeToImage(j2kdata);
// pic1.Image = image;
// }
// catch (Exception ex)
// {
// MessageBox.Show(ex.Message);
// }
//}
}
private void cboMask_SelectedIndexChanged(object sender, EventArgs e)
{
DisplayResource(cboMask.Text);
}
}
}

View File

@@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -1,48 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{98C44481-3F15-4305-840D-037EA0D9C221}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BodyPartMorphGenerator</RootNamespace>
<AssemblyName>GenBodyParams</AssemblyName>
<StartupObject>BodyPartMorphGenerator.GenBodyParams</StartupObject>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="GenBodyParams.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -1,33 +0,0 @@
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("BodyPartMorphGenerator")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("BodyPartMorphGenerator")]
[assembly: AssemblyCopyright("Copyright © 2006")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("d60d839c-ea04-4784-a308-b94f8698b388")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -1,342 +0,0 @@
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
namespace BodyPartMorphGenerator
{
class GenBodyParams
{
static void Main(string[] args)
{
string FileName = "avatar_lad.xml";
string outFileParts = "_BodyShapeParams_.cs";
if (args.Length < 1)
{
if (!File.Exists(FileName))
{
Console.WriteLine("Usage: genbodyparams [" + FileName + "]");
return;
}
}
else
{
FileName = args[0];
if (!File.Exists(FileName))
{
Console.WriteLine("Could not find file: " + FileName);
return;
}
}
if (args.Length == 2)
{
outFileParts = args[1];
}
XmlDocument doc = new XmlDocument();
doc.LoadXml(File.ReadAllText(FileName));
XmlNodeList list = doc.GetElementsByTagName("param");
StringWriter MasterClass = new StringWriter();
MasterClass.WriteLine("using System;");
MasterClass.WriteLine("using System.Collections.Generic;");
MasterClass.WriteLine("using System.IO;");
MasterClass.WriteLine("using System.Text;");
// MasterClass.WriteLine();
// MasterClass.WriteLine("using libsecondlife.AssetSystem.BodyShape;");
MasterClass.WriteLine();
MasterClass.WriteLine("namespace libsecondlife.AssetSystem");
MasterClass.WriteLine("{");
MasterClass.WriteLine(" public class BodyShapeParams");
MasterClass.WriteLine(" {");
StringWriter Labels = new StringWriter();
Labels.WriteLine(" public static string GetLabel( uint Param )");
Labels.WriteLine(" {");
Labels.WriteLine(" switch( Param )");
Labels.WriteLine(" {");
Labels.WriteLine(" default:");
Labels.WriteLine(" return \"\";");
StringWriter LabelMin = new StringWriter();
LabelMin.WriteLine(" public static string GetLabelMin( uint Param )");
LabelMin.WriteLine(" {");
LabelMin.WriteLine(" switch( Param )");
LabelMin.WriteLine(" {");
LabelMin.WriteLine(" default:");
LabelMin.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter LabelMax = new StringWriter();
LabelMax.WriteLine(" public static string GetLabelMax( uint Param )");
LabelMax.WriteLine(" {");
LabelMax.WriteLine(" switch( Param )");
LabelMax.WriteLine(" {");
LabelMax.WriteLine(" default:");
LabelMax.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter Names = new StringWriter();
Names.WriteLine(" public static string GetName( uint Param )");
Names.WriteLine(" {");
Names.WriteLine(" switch( Param )");
Names.WriteLine(" {");
Names.WriteLine(" default:");
Names.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter ValueMin = new StringWriter();
ValueMin.WriteLine(" public static float GetValueMin( uint Param )");
ValueMin.WriteLine(" {");
ValueMin.WriteLine(" switch( Param )");
ValueMin.WriteLine(" {");
ValueMin.WriteLine(" default:");
ValueMin.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter ValueMax = new StringWriter();
ValueMax.WriteLine(" public static float GetValueMax( uint Param )");
ValueMax.WriteLine(" {");
ValueMax.WriteLine(" switch( Param )");
ValueMax.WriteLine(" {");
ValueMax.WriteLine(" default:");
ValueMax.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter ValueDefault = new StringWriter();
ValueDefault.WriteLine(" public static float GetValueDefault( uint Param )");
ValueDefault.WriteLine(" {");
ValueDefault.WriteLine(" switch( Param )");
ValueDefault.WriteLine(" {");
ValueDefault.WriteLine(" default:");
ValueDefault.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
StringWriter ValueValid = new StringWriter();
ValueValid.WriteLine(" public static bool IsValueValid( uint Param, float Value )");
ValueValid.WriteLine(" {");
ValueValid.WriteLine(" switch( Param )");
ValueValid.WriteLine(" {");
ValueValid.WriteLine(" default:");
ValueValid.WriteLine(" throw new Exception(\"Unknown Body Part Parameter: \" + Param);");
List<string> EditGroups = new List<string>();
// XmlTextWriter xtw = new XmlTextWriter(sw);
File.Delete("ParamTable.csv");
StreamWriter ParamTable = File.AppendText("ParamTable.csv");
ParamTable.WriteLine("ID\tName\tEditGroup\tLabel\tLabelMin\tLabelMax\tMinValue\tMaxValue");
foreach( XmlNode node in list )
{
if ((node.Attributes["shared"] != null) && (node.Attributes["shared"].Value.Equals("1")))
{
// this param will have been already been defined
continue;
}
if (
(node.Attributes["edit_group"] != null)
&& ( node.Attributes["edit_group"].Value.Equals("driven")
// || node.Attributes["edit_group"].Value.Equals("dummy")
)
)
{
// this param is calculated by the client based on other params
continue;
}
/*
if( node.Attributes["edit_group"] != null )
{
if( !EditGroups.Contains( node.Attributes["edit_group"].Value ) )
{
EditGroups.Add(node.Attributes["edit_group"].Value);
Console.WriteLine(node.Attributes["edit_group"].Value);
}
}
*/
// Used to identify which nodes are bodyshape parameter nodes
if ( node.Attributes["id"] != null
&& node.Attributes["name"] != null
&& node.Attributes["wearable"] != null
// && ( (node.Attributes["label"] != null) || (node.Attributes["label_min"] != null) )
)
{
string ParamName = node.Attributes["name"].Value;
Console.WriteLine(ParamName);
string ParamEditGroup = "";
if( node.Attributes["edit_group"] != null )
{
ParamEditGroup = node.Attributes["edit_group"].Value;
}
string ParamLabel = "";
string ParamLabelMin = "";
string ParamLabelMax = "";
string ParamMin = "";
string ParamMax = "";
string ID = node.Attributes["id"].Value;
if (node.Attributes["label"] != null)
{
// Label
Labels.WriteLine(" case " + ID + ":");
Labels.WriteLine(" return \"" + node.Attributes["label"].Value + "\";");
ParamLabel = node.Attributes["label"].Value;
}
if (node.Attributes["label_min"] != null)
{
// Label Min
LabelMin.WriteLine(" case " + ID + ":");
LabelMin.WriteLine(" return \"" + node.Attributes["label_min"].Value + "\";");
ParamLabelMin = node.Attributes["label_min"].Value;
}
if (node.Attributes["label_max"] != null)
{
// Label Max
LabelMax.WriteLine(" case " + ID + ":");
LabelMax.WriteLine(" return \"" + node.Attributes["label_max"].Value + "\";");
ParamLabelMax = node.Attributes["label_max"].Value;
}
// Name
Names.WriteLine(" case " + ID + ":");
Names.WriteLine(" return \"" + node.Attributes["name"].Value + "\";");
// Min Values
ValueMin.WriteLine(" case " + ID + ":");
ValueMin.WriteLine(" return " + node.Attributes["value_min"].Value + "f;");
ParamMin = node.Attributes["value_min"].Value;
// Max Values
ValueMax.WriteLine(" case " + ID + ":");
ValueMax.WriteLine(" return " + node.Attributes["value_max"].Value + "f;");
ParamMax = node.Attributes["value_max"].Value;
// Default values
if (node.Attributes["value_default"] != null)
{
ValueDefault.WriteLine(" case " + ID + ":");
ValueDefault.WriteLine(" return " + node.Attributes["value_default"].Value + "f;");
}
else
{
ValueDefault.WriteLine(" case " + ID + ":");
ValueDefault.WriteLine(" return " + node.Attributes["value_min"].Value + "f;");
}
// Validation Values
ValueValid.WriteLine(" case " + node.Attributes["id"].Value + ":");
ValueValid.WriteLine(" return ( (Value >= " + node.Attributes["value_min"].Value + "f) && (Value <= " + node.Attributes["value_max"].Value + "f) );");
ParamTable.WriteLine( ID
+ "\t" + ParamName
+ "\t" + ParamEditGroup
+ "\t" + ParamLabel
+ "\t" + ParamLabelMin
+ "\t" + ParamLabelMax
+ "\t" + ParamMin
+ "\t" + ParamMax);
}
}
ParamTable.Flush();
ParamTable.Close();
// Finish up name stuff
Names.WriteLine(" }"); // Close switch
Names.WriteLine(" }"); // Close method
// Finish up label stuff
Labels.WriteLine(" }"); // Close switch
Labels.WriteLine(" }"); // Close method
// Finish up min label stuff
LabelMin.WriteLine(" }"); // Close switch
LabelMin.WriteLine(" }"); // Close method
// Finish up max label stuff
LabelMax.WriteLine(" }"); // Close switch
LabelMax.WriteLine(" }"); // Close method
// Finish up Max Value stuff
ValueMin.WriteLine(" }"); // Close switch
ValueMin.WriteLine(" }"); // Close method
// Finish up Min Value stuff
ValueMax.WriteLine(" }"); // Close switch
ValueMax.WriteLine(" }"); // Close method
// Finish up Default Value stuff
ValueDefault.WriteLine(" }"); // Close switch
ValueDefault.WriteLine(" }"); // Close method
// Finish up Value Valid stuff
ValueValid.WriteLine(" }"); // Close switch
ValueValid.WriteLine(" }"); // Close method
StringWriter ValidateAll = new StringWriter();
ValidateAll.WriteLine(" public static bool IsValid( Dictionary<uint,float> BodyShape )");
ValidateAll.WriteLine(" {");
ValidateAll.WriteLine(" foreach(KeyValuePair<uint, float> kvp in BodyShape)");
ValidateAll.WriteLine(" {");
ValidateAll.WriteLine(" if( !IsValueValid(kvp.Key, kvp.Value) ) { return false; }");
ValidateAll.WriteLine(" }");
ValidateAll.WriteLine("");
ValidateAll.WriteLine(" return true;");
ValidateAll.WriteLine(" }");
StringWriter ToString = new StringWriter();
ToString.WriteLine(" public static string ToString( Dictionary<uint,float> BodyShape )");
ToString.WriteLine(" {");
ToString.WriteLine(" StringWriter sw = new StringWriter();");
ToString.WriteLine("");
ToString.WriteLine(" foreach(KeyValuePair<uint, float> kvp in BodyShape)");
ToString.WriteLine(" {");
ToString.WriteLine(" sw.Write( kvp.Key + \":\" );");
ToString.WriteLine(" sw.Write( GetLabel(kvp.Key) + \":\" );");
ToString.WriteLine(" sw.WriteLine( kvp.Value );");
ToString.WriteLine(" }");
ToString.WriteLine("");
ToString.WriteLine(" return sw.ToString();");
ToString.WriteLine(" }");
// Combine Master Class
MasterClass.Write(Names.ToString());
MasterClass.Write(Labels.ToString());
MasterClass.Write(LabelMin.ToString());
MasterClass.Write(LabelMax.ToString());
MasterClass.Write(ValueMin.ToString());
MasterClass.Write(ValueMax.ToString());
MasterClass.Write(ValueDefault.ToString());
MasterClass.Write(ValueValid.ToString());
MasterClass.Write(ValidateAll.ToString());
MasterClass.Write(ToString.ToString());
// Finish up the file
MasterClass.WriteLine(" }"); // Close Class
MasterClass.WriteLine("}"); // Close Namespace
Console.WriteLine("Writing " + outFileParts + "...");
File.WriteAllText(outFileParts, MasterClass.ToString());
// Console.WriteLine(PartClasses.ToString());
}
}
}

View File

@@ -1,100 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{9E0EE72D-AAA7-42EC-8E59-2C3EA5ED6D98}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GUITestClient</RootNamespace>
<AssemblyName>GUITestClient</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Interfaces\MinimapInterface.cs" />
<Compile Include="Interfaces\TeleportInterface.cs" />
<Compile Include="frmTestClient.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmTestClient.Designer.cs">
<DependentUpon>frmTestClient.cs</DependentUpon>
</Compile>
<Compile Include="Interface.cs" />
<Compile Include="GUITestClient.cs" />
<Compile Include="Interfaces\HeightmapInterface.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="frmTestClient.resx">
<SubType>Designer</SubType>
<DependentUpon>frmTestClient.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Name>OpenMetaverse</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -1,81 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{D9669D08-AC81-4F45-AD23-82787C6EFBBA}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Heightmap</RootNamespace>
<AssemblyName>Heightmap</AssemblyName>
<StartupObject>
</StartupObject>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="frmHeightmap.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmHeightmap.Designer.cs">
<DependentUpon>frmHeightmap.cs</DependentUpon>
</Compile>
<Compile Include="Heightmap.cs" />
<EmbeddedResource Include="frmHeightmap.resx">
<SubType>Designer</SubType>
<DependentUpon>frmHeightmap.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Name>OpenMetaverse</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -1,51 +0,0 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Speech.Synthesis;
using libsecondlife;
using libsecondlife.Packets;
using libsecondlife.AssetSystem;
// Since this requires .Net 3.0 I've left it out of the project by default.
// To use this: include it in the project and add a reference to the System.Speech.dll
namespace libsecondlife.TestClient
{
public class TtsCommand : Command
{
SpeechSynthesizer _speechSynthesizer;
public TtsCommand(TestClient testClient)
{
Name = "tts";
Description = "Text To Speech. When activated, client will echo all recieved chat messages out thru the computer's speakers.";
}
public override string Execute(string[] args, LLUUID fromAgentID)
{
if (!Active)
{
if (_speechSynthesizer == null)
_speechSynthesizer = new SpeechSynthesizer();
Active = true;
Client.Self.OnChat += new MainAvatar.ChatCallback(Self_OnChat);
return "TTS is now on.";
}
else
{
Active = false;
Client.Self.OnChat -= new MainAvatar.ChatCallback(Self_OnChat);
return "TTS is now off.";
}
}
void Self_OnChat(string message, byte audible, byte type, byte sourcetype, string fromName, LLUUID id, LLUUID ownerid, LLVector3 position)
{
if (message.Length > 0)
{
_speechSynthesizer.SpeakAsync(message);
}
}
}
}

View File

@@ -3,7 +3,6 @@ using System.Collections.Generic;
using System.Text;
using System.Threading;
using OpenMetaverse;
using OpenMetaverse.Utilities;
namespace OpenMetaverse.TestClient
{

View File

@@ -1,126 +0,0 @@
<?xml version="1.0"?>
<project
name="libsecondlife"
default="build">
<!-- global framework settings -->
<property
name="target.framework"
value="${framework::get-target-framework()}" />
<property
name="assembly.dir"
value="${framework::get-assembly-directory(target.framework)}" />
<!-- global project settings -->
<xmlpeek
file="../../../libsecondlife.build"
xpath="/project/property[@name = 'project.version']/@value"
property="project.version" />
<property
name="build.number"
value="${math::abs(math::floor(timespan::get-total-days(datetime::now()
- datetime::parse('01/01/2002'))))}" />
<property
name="assembly"
value="TestClient"/>
<property
name="bin_dir"
value="../../../bin" />
<!-- default configuration -->
<property
name="project.config"
value="debug" /> <!-- debug|release -->
<!-- named configurations -->
<target
name="init"
description="Initializes build properties">
<call target="${project.config}" />
</target>
<target
name="debug"
description="configures a debug build">
<property
name="build.debug"
value="true" />
<property
name="package.name"
value="${project::get-name()}-${project.version}-${project.config}" />
<property
name="assembly.configuration"
value="${framework::get-target-framework()}.${platform::get-name()} [${project.config}]" />
</target>
<target
name="release"
description="configures a release build">
<property
name="project.config"
value="release" />
<property
name="build.debug"
value="false" />
<property
name="package.name"
value="${project::get-name()}-${project.version}" />
<property
name="assembly.configuration"
value="${framework::get-target-framework()}.${platform::get-name()}" />
</target>
<!-- build tasks -->
<target
name="build"
depends="init"
description="Builds the binaries for the current configuration">
<echo message="Build Directory is ${bin_dir}/" />
<mkdir
dir="${bin_dir}"
failonerror="false" />
<csc
target="exe"
debug="${build.debug}"
output="${bin_dir}/${assembly}.exe">
<sources failonempty="true">
<include name="*.cs" />
<include name="Commands/**.cs" />
<exclude name="Commands/Communication/TtsCommand.cs" />
</sources>
<references basedir="${bin_dir}/">
<include name="libsecondlife.dll"/>
<include name="openjpegnet.dll"/>
<include name="System.Drawing.dll" />
</references>
</csc>
</target>
<target
name="build-dll"
description="Builds libsecondlife dll">
<nant
buildfile="../../libsecondlife-cs/libsecondlife.build"
target="${project.config} build"/>
</target>
<target
name="clean"
depends="init"
description="Deletes the current configuration">
<delete failonerror="false">
<fileset basedir="${bin_dir}/">
<include name="${assembly}.exe" />
<include name="${assembly}.pdb" />
<include name="**/${assembly}.*.resources" />
</fileset>
</delete>
</target>
<target
name="*"
description="Handles unknown targets">
<echo message="skip" />
</target>
</project>

View File

@@ -1,159 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{B87682F6-B2D7-4C4D-A529-400C24FD4880}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>OpenMetaverse.TestClient</RootNamespace>
<AssemblyName>TestClient</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
<DocumentationFile>..\..\..\bin\TestClient.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Arguments.cs" />
<Compile Include="Command.cs" />
<Compile Include="ClientManager.cs" />
<Compile Include="Commands\Appearance\AppearanceCommand.cs" />
<Compile Include="Commands\Appearance\AttachmentsCommand.cs" />
<Compile Include="Commands\Appearance\AvatarInfoCommand.cs" />
<Compile Include="Commands\Appearance\CloneCommand.cs" />
<Compile Include="Commands\Appearance\WearCommand.cs" />
<Compile Include="Commands\CloneProfileCommand.cs" />
<Compile Include="Commands\Communication\EchoMasterCommand.cs" />
<Compile Include="Commands\Communication\IMCommand.cs" />
<Compile Include="Commands\Communication\IMGroupCommand.cs" />
<Compile Include="Commands\Communication\SayCommand.cs" />
<Compile Include="Commands\Communication\ShoutCommand.cs" />
<Compile Include="Commands\Communication\WhisperCommand.cs" />
<Compile Include="Commands\DetectBotCommand.cs" />
<Compile Include="Commands\Friends\FriendsCommand.cs" />
<Compile Include="Commands\Friends\MapFriendCommand.cs" />
<Compile Include="Commands\GoHome.cs" />
<Compile Include="Commands\GotoLandmark.cs" />
<Compile Include="Commands\Groups\ActivateGroupCommand.cs" />
<Compile Include="Commands\Groups\GroupsCommand.cs" />
<Compile Include="Commands\Groups\JoinGroupCommand.cs" />
<Compile Include="Commands\Groups\LeaveGroupCommand.cs" />
<Compile Include="Commands\Inventory\BackupCommand.cs" />
<Compile Include="Commands\Inventory\BalanceCommand.cs" />
<Compile Include="Commands\Inventory\ChangeDirectoryCommand.cs" />
<Compile Include="Commands\Inventory\DeleteFolderCommand.cs" />
<Compile Include="Commands\Inventory\DumpOutfitCommand.cs" />
<Compile Include="Commands\Inventory\ExportOutfitCommand.cs" />
<Compile Include="Commands\Inventory\GiveAllCommand.cs" />
<Compile Include="Commands\Inventory\GiveItemCommand.cs" />
<Compile Include="Commands\Inventory\ImportOutfitCommand.cs" />
<Compile Include="Commands\Inventory\InventoryCommand.cs" />
<Compile Include="Commands\Inventory\ListContentsCommand.cs" />
<Compile Include="Commands\Inventory\ObjectInventoryCommand.cs" />
<Compile Include="Commands\Inventory\CreateNotecardCommand.cs" />
<Compile Include="Commands\Inventory\UploadImageCommand.cs" />
<Compile Include="Commands\Land\ParcelDetailsCommand.cs" />
<Compile Include="Commands\Land\FindSimCommand.cs" />
<Compile Include="Commands\Land\AgentLocationsCommand.cs" />
<Compile Include="Commands\Land\GridLayerCommand.cs" />
<Compile Include="Commands\Land\GridMapCommand.cs" />
<Compile Include="Commands\Land\ParcelInfoCommand.cs" />
<Compile Include="Commands\Movement\CrouchCommand.cs" />
<Compile Include="Commands\Movement\FlyCommand.cs" />
<Compile Include="Commands\Movement\FollowCommand.cs" />
<Compile Include="Commands\Movement\GotoCommand.cs" />
<Compile Include="Commands\Movement\JumpCommand.cs" />
<Compile Include="Commands\Movement\LocationCommand.cs" />
<Compile Include="Commands\Movement\MoveToCommand.cs" />
<Compile Include="Commands\Movement\SetHome.cs" />
<Compile Include="Commands\Movement\SitCommand.cs" />
<Compile Include="Commands\Movement\SitOnCommand.cs" />
<Compile Include="Commands\Movement\StandCommand.cs" />
<Compile Include="Commands\Prims\ChangePermsCommand.cs" />
<Compile Include="Commands\Prims\DownloadTextureCommand.cs" />
<Compile Include="Commands\Prims\ExportCommand.cs" />
<Compile Include="Commands\Prims\ExportParticlesCommand.cs" />
<Compile Include="Commands\Prims\FindObjectsCommand.cs" />
<Compile Include="Commands\Prims\FindTextureCommand.cs" />
<Compile Include="Commands\Prims\ImportCommand.cs" />
<Compile Include="Commands\Prims\PrimCountCommand.cs" />
<Compile Include="Commands\Prims\PrimInfoCommand.cs" />
<Compile Include="Commands\Prims\PrimRegexCommand.cs" />
<Compile Include="Commands\SearchEventsCommand.cs" />
<Compile Include="Commands\ShowEventDetailsCommand.cs" />
<Compile Include="Commands\Stats\DilationCommand.cs" />
<Compile Include="Commands\Stats\RegionInfoCommand.cs" />
<Compile Include="Commands\Stats\StatsCommand.cs" />
<Compile Include="Commands\Stats\UptimeCommand.cs" />
<Compile Include="Commands\System\DebugCommand.cs" />
<Compile Include="Commands\System\HelpCommand.cs" />
<Compile Include="Commands\System\LoadCommand.cs" />
<Compile Include="Commands\System\LoginCommand.cs" />
<Compile Include="Commands\System\LogoutCommand.cs" />
<Compile Include="Commands\System\MD5Command.cs" />
<Compile Include="Commands\System\PacketLogCommand.cs" />
<Compile Include="Commands\System\QuitCommand.cs" />
<Compile Include="Commands\System\SetMasterCommand.cs" />
<Compile Include="Commands\System\SetMasterKeyCommand.cs" />
<Compile Include="Commands\System\ShowEffectsCommand.cs" />
<Compile Include="Commands\TouchCommand.cs" />
<Compile Include="Commands\TreeCommand.cs" />
<Compile Include="Commands\Voice\ParcelVoiceInfo.cs" />
<Compile Include="Commands\Voice\VoiceAcountCommand.cs" />
<Compile Include="Commands\WhoCommand.cs" />
<Compile Include="Parsing.cs" />
<Compile Include="Program.cs" />
<Compile Include="TestClient.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Name>OpenMetaverse</Name>
</ProjectReference>
<ProjectReference Include="..\..\libsecondlife.Utilities\OpenMetaverse.Utilities.csproj">
<Project>{CE5E06C2-2428-416B-ADC1-F1FE16A0FB27}</Project>
<Name>OpenMetaverse.Utilities</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -1,87 +0,0 @@
<?xml version="1.0"?>
<project name="libsecondlife" default="build">
<!-- global framework settings -->
<property name="target.framework"
value="${framework::get-target-framework()}" />
<property name="assembly.dir"
value="${framework::get-assembly-directory(target.framework)}" />
<!-- global project settings -->
<xmlpeek
file="../../libsecondlife.build"
xpath="/project/property[@name = 'project.version']/@value"
property="project.version" />
<property name="assembly" value="examples" />
<property name="bin_dir" value="../../bin" />
<!-- default configuration -->
<property name="project.config" value="debug" /> <!-- debug|release -->
<!-- named configurations -->
<target name="init" description="Initializes build properties">
<echo message="assembly.dir=${assembly.dir}" />
<mkdir dir="${bin_dir}" failonerror="false" />
<call target="${project.config}" />
</target>
<target name="debug" description="configures a debug build">
<property name="build.debug" value="true" />
<property name="package.name"
value="${project::get-name()}-${project.version}-${project.config}" />
<property name="assembly.configuration"
value="${framework::get-target-framework()}.${platform::get-name()} [${project.config}]" />
</target>
<target name="release" description="configures a release build">
<property name="project.config" value="release" />
<property name="build.debug" value="false" />
<property name="package.name" value="${project::get-name()}-${project.version}" />
<property name="assembly.configuration"
value="${framework::get-target-framework()}.${platform::get-name()}" />
</target>
<!-- build tasks -->
<target name="example" description="Build a particular example">
<property name="example_name" value="${path::get-file-name(example_path)}" />
<property name="example_buildfile" value="${example_path}/${example_name}.build" />
<echo message="building ${example_name}" />
<nant buildfile="${example_buildfile}" if="${file::exists(example_buildfile)}" />
<csc target="exe" debug="${build.debug}" output="${bin_dir}/${example_name}.exe" unless="${file::exists(example_buildfile)}">
<sources failonempty="true">
<include name="${example_path}/**/*.cs"/>
</sources>
<references basedir="${bin_dir}/">
<include name="libsecondlife.dll"/>
<include name="System.Data.dll" />
<include name="System.Drawing.dll" />
<include name="System.Windows.Forms.dll" />
</references>
</csc>
</target>
<target name="build" depends="init" description="Build all examples">
<foreach item="Folder" in="." property="example_path">
<call target="example" unless="${string::ends-with(example_path,'svn') or string::contains(example_path,'IA_') or string::contains(example_path,'Heightmap')}"/>
</foreach>
</target>
<target name="clean" description="Clean all examples">
<foreach item="Folder" in="." property="example_path">
<call target="clean-examples" unless="${string::ends-with(example_path,'svn')}"/>
</foreach>
</target>
<target name="clean-example" description="Deletes files for a given example">
<property name="example_name" value="${path::get-file-name(example_path)}" />
<delete failonerror="false">
<fileset basedir="${bin_dir}/">
<include name="${example_name}.*" />
</fileset>
</delete>
</target>
<target name="*" description="Handles unknown targets">
<echo message="skip" />
</target>
</project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,149 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F460FAB3-0D12-4873-89EB-2696818764B8}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>App.ico</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>groupmanager</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>WinExe</OutputType>
<RootNamespace>groupmanager</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<Optimize>true</Optimize>
<DebugType>
</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Name>OpenMetaverse</Name>
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\..\libsecondlife.Utilities\OpenMetaverse.Utilities.csproj">
<Project>{CE5E06C2-2428-416B-ADC1-F1FE16A0FB27}</Project>
<Name>OpenMetaverse.Utilities</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="frmGroupInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmGroupInfo.Designer.cs">
<DependentUpon>frmGroupInfo.cs</DependentUpon>
</Compile>
<Compile Include="frmGroupManager.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmGroupManager.Designer.cs">
<DependentUpon>frmGroupManager.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="frmGroupInfo.resx">
<SubType>Designer</SubType>
<DependentUpon>frmGroupInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmGroupManager.resx">
<SubType>Designer</SubType>
<DependentUpon>frmGroupManager.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

View File

@@ -1,131 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FC19D5F6-076E-4923-8456-9B0E00E22896}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>App.ico</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>slaccountant</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>WinExe</OutputType>
<RootNamespace>slaccountant</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<Optimize>true</Optimize>
<DebugType>
</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Drawing">
<Name>System.Drawing</Name>
</Reference>
<Reference Include="System.Windows.Forms">
<Name>System.Windows.Forms</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Name>OpenMetaverse</Name>
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="App.ico" />
<Compile Include="AssemblyInfo.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="frmSLAccountant.cs">
<SubType>Form</SubType>
</Compile>
<EmbeddedResource Include="frmSLAccountant.resx">
<DependentUpon>frmSLAccountant.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>

View File

@@ -1,118 +0,0 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectType>Local</ProjectType>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F6258A68-C624-46A0-BA73-B55D21BB0A3B}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ApplicationIcon>
</ApplicationIcon>
<AssemblyKeyContainerName>
</AssemblyKeyContainerName>
<AssemblyName>sldump</AssemblyName>
<AssemblyOriginatorKeyFile>
</AssemblyOriginatorKeyFile>
<DefaultClientScript>JScript</DefaultClientScript>
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
<DefaultTargetSchema>IE50</DefaultTargetSchema>
<DelaySign>false</DelaySign>
<OutputType>Exe</OutputType>
<RootNamespace>sldump</RootNamespace>
<RunPostBuildEvent>OnBuildSuccess</RunPostBuildEvent>
<StartupObject>
</StartupObject>
<FileUpgradeFlags>
</FileUpgradeFlags>
<UpgradeBackupLocation>
</UpgradeBackupLocation>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>true</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>false</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>full</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>..\..\..\bin\</OutputPath>
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
<BaseAddress>285212672</BaseAddress>
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
<ConfigurationOverrideFile>
</ConfigurationOverrideFile>
<DefineConstants>TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<DebugSymbols>false</DebugSymbols>
<FileAlignment>4096</FileAlignment>
<NoStdLib>false</NoStdLib>
<NoWarn>
</NoWarn>
<Optimize>true</Optimize>
<RegisterForComInterop>false</RegisterForComInterop>
<RemoveIntegerChecks>false</RemoveIntegerChecks>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<WarningLevel>4</WarningLevel>
<DebugType>none</DebugType>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release-docs|AnyCPU' ">
<OutputPath>bin\Release-docs\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<BaseAddress>285212672</BaseAddress>
<Optimize>true</Optimize>
<DebugType>
</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<CodeAnalysisRuleAssemblies>C:\Program Files\Microsoft Visual Studio 8\Team Tools\Static Analysis Tools\FxCop\\rules</CodeAnalysisRuleAssemblies>
<CodeAnalysisUseTypeNameInSuppression>true</CodeAnalysisUseTypeNameInSuppression>
<CodeAnalysisModuleSuppressionsFile>GlobalSuppressions.cs</CodeAnalysisModuleSuppressionsFile>
<ErrorReport>prompt</ErrorReport>
</PropertyGroup>
<ItemGroup>
<Reference Include="System">
<Name>System</Name>
</Reference>
<Reference Include="System.Data">
<Name>System.Data</Name>
</Reference>
<Reference Include="System.Xml">
<Name>System.XML</Name>
</Reference>
<ProjectReference Include="..\..\OpenMetaverse.csproj">
<Name>OpenMetaverse</Name>
<Project>{D9CDEDFB-8169-4B03-B57F-0DF638F044EC}</Project>
<Package>{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</Package>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Compile Include="sldump.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>
</PreBuildEvent>
<PostBuildEvent>
</PostBuildEvent>
</PropertyGroup>
</Project>