- fixed some enumeration values
- fixed some build issues (tools) - fixed some installer issues (msi) - fixed some ANXStatusComparer issues - changed some tools icons
This commit is contained in:
parent
0f9b1f4c02
commit
0d49da8822
@ -11,8 +11,8 @@ namespace ANX.Framework.Content.Pipeline.Audio
|
|||||||
{
|
{
|
||||||
public enum AudioFileType
|
public enum AudioFileType
|
||||||
{
|
{
|
||||||
Mp3,
|
Wav = 0,
|
||||||
Wav,
|
Mp3 = 1,
|
||||||
Wma,
|
Wma = 2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,9 +11,9 @@ namespace ANX.Framework.Content.Pipeline.Audio
|
|||||||
{
|
{
|
||||||
public enum ConversionFormat
|
public enum ConversionFormat
|
||||||
{
|
{
|
||||||
Adpcm,
|
Pcm = 0,
|
||||||
Pcm,
|
Adpcm = 1,
|
||||||
WindowsMedia,
|
WindowsMedia = 2,
|
||||||
Xma,
|
Xma = 3,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,8 +15,8 @@ namespace ANX.Framework.Content.Pipeline.Graphics
|
|||||||
[Flags]
|
[Flags]
|
||||||
public enum FontDescriptionStyle
|
public enum FontDescriptionStyle
|
||||||
{
|
{
|
||||||
Bold,
|
Regular = 0,
|
||||||
Italic,
|
Bold = 1,
|
||||||
Regular,
|
Italic = 2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,10 +11,10 @@ namespace ANX.Framework.Content.Pipeline.Processors
|
|||||||
{
|
{
|
||||||
public enum MaterialProcessorDefaultEffect
|
public enum MaterialProcessorDefaultEffect
|
||||||
{
|
{
|
||||||
AlphaTestEffect,
|
BasicEffect = 0,
|
||||||
BasicEffect,
|
SkinnedEffect = 1,
|
||||||
DualTextureEffect,
|
EnvironmentMapEffect = 2,
|
||||||
EnvironmentMapEffect,
|
DualTextureEffect = 3,
|
||||||
SkinnedEffect,
|
AlphaTestEffect = 4,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -11,8 +11,8 @@ namespace ANX.Framework.Content.Pipeline.Processors
|
|||||||
{
|
{
|
||||||
public enum TextureProcessorOutputFormat
|
public enum TextureProcessorOutputFormat
|
||||||
{
|
{
|
||||||
Color,
|
NoChange = 0,
|
||||||
DxtCompressed,
|
Color = 1,
|
||||||
NoChange,
|
DxtCompressed = 2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
UpgradeCode="{7A54B375-318B-40B7-ABF7-60BB50689361}">
|
UpgradeCode="{7A54B375-318B-40B7-ABF7-60BB50689361}">
|
||||||
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
<Package InstallerVersion="200" Compressed="yes" InstallScope="perMachine" />
|
||||||
<Icon Id="ANX.icon" SourceFile="..\media\anx.ico" />
|
<Icon Id="ANX.icon" SourceFile="..\media\anx.ico" />
|
||||||
|
<Property Id="ARPPRODUCTICON" Value="ANX.icon" />
|
||||||
|
|
||||||
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." />
|
||||||
<Media Id='1' Cabinet='ANX.Framework.cab' EmbedCab='yes' />
|
<Media Id='1' Cabinet='ANX.Framework.cab' EmbedCab='yes' />
|
||||||
@ -207,9 +208,9 @@
|
|||||||
<ComponentGroup Id="Tools" Directory="TOOLSFOLDER">
|
<ComponentGroup Id="Tools" Directory="TOOLSFOLDER">
|
||||||
<Component Id='ANX.Tools' Guid='{4EC562B1-DCE2-48C8-A29A-3EC6C1F588E0}'>
|
<Component Id='ANX.Tools' Guid='{4EC562B1-DCE2-48C8-A29A-3EC6C1F588E0}'>
|
||||||
<File Id='ANXStatusComparer' Name='asc.exe' DiskId='1' Source='../bin/Release/asc.exe' />
|
<File Id='ANXStatusComparer' Name='asc.exe' DiskId='1' Source='../bin/Release/asc.exe' />
|
||||||
<File Id='ANXStatusComparerStyleSheet' Name='SummaryStyle.css' DiskId='1' Source='../bin/SummaryStyle.css' />
|
<File Id='ANXStatusComparerStyleSheet' Name='SummaryStyle.css' DiskId='1' Source='../bin/Release/SummaryStyle.css' />
|
||||||
<File Id='ContentBuilder' Name='ContentBuilder.exe' DiskId='1' Source='../bin/Release/ContentBuilder.exe' />
|
<File Id='ContentBuilder' Name='ContentBuilder.exe' DiskId='1' Source='../bin/Release/ContentBuilder.exe' />
|
||||||
<File Id='ProjectConverter' Name='ProjectConverter.exe' DiskId='1' Source='../bin/tools/ProjectConverter.exe' />
|
<File Id='ProjectConverter' Name='ProjectConverter.exe' DiskId='1' Source='../bin/Release/ProjectConverter.exe' />
|
||||||
<File Id='XNBInspector' Name='ANX.Tools.XNBInspector.exe' DiskId='1' Source='../bin/Release/ANX.Tools.XNBInspector.exe' />
|
<File Id='XNBInspector' Name='ANX.Tools.XNBInspector.exe' DiskId='1' Source='../bin/Release/ANX.Tools.XNBInspector.exe' />
|
||||||
<File Id='AnxSampleBrowser' Name='ANXSampleBrowser.exe' DiskId='1' Source='../bin/Release/ANXSampleBrowser.exe' />
|
<File Id='AnxSampleBrowser' Name='ANXSampleBrowser.exe' DiskId='1' Source='../bin/Release/ANXSampleBrowser.exe' />
|
||||||
|
|
||||||
@ -294,9 +295,11 @@
|
|||||||
<Component Id='ANX.PlatformSystem.Windows' Guid='{0D0EBDD1-9F95-40CE-B314-7A502BC84A2F}'>
|
<Component Id='ANX.PlatformSystem.Windows' Guid='{0D0EBDD1-9F95-40CE-B314-7A502BC84A2F}'>
|
||||||
<File Id='anx.platformsystem.windows' Name='ANX.PlatformSystem.Windows.dll' DiskId='1' Source='../bin/Release/ANX.PlatformSystem.Windows.dll' />
|
<File Id='anx.platformsystem.windows' Name='ANX.PlatformSystem.Windows.dll' DiskId='1' Source='../bin/Release/ANX.PlatformSystem.Windows.dll' />
|
||||||
</Component>
|
</Component>
|
||||||
|
<!--
|
||||||
<Component Id='ANX.PlatformSystem.Linux' Guid='{6781BD15-B2DB-41B7-B628-CAF0D95D584D}'>
|
<Component Id='ANX.PlatformSystem.Linux' Guid='{6781BD15-B2DB-41B7-B628-CAF0D95D584D}'>
|
||||||
<File Id='anx.platformsystem.linux' Name='ANX.PlatformSystem.Linux.dll' DiskId='1' Source='../bin/Release/ANX.PlatformSystem.Linux.dll' />
|
<File Id='anx.platformsystem.linux' Name='ANX.PlatformSystem.Linux.dll' DiskId='1' Source='../bin/Release/ANX.PlatformSystem.Linux.dll' />
|
||||||
</Component>
|
</Component>
|
||||||
|
-->
|
||||||
</ComponentGroup>
|
</ComponentGroup>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
</Wix>
|
</Wix>
|
@ -32,6 +32,9 @@
|
|||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>anx.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
@ -66,6 +69,9 @@
|
|||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</None>
|
</None>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="anx.ico" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
@ -55,9 +55,10 @@ namespace ANXStatusComparer
|
|||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region Constructor
|
#region Constructor
|
||||||
public Configuration(String[] anxAssemblies, String stylesheet)
|
public Configuration(String[] anxAssemblies, String[] xnaAssemblies, String stylesheet)
|
||||||
{
|
{
|
||||||
this.AnxAssemblies = anxAssemblies;
|
this.AnxAssemblies = anxAssemblies;
|
||||||
|
this.XnaAssemblies = xnaAssemblies;
|
||||||
this.OutputType = "html";
|
this.OutputType = "html";
|
||||||
this.StylesheetFile = stylesheet;
|
this.StylesheetFile = stylesheet;
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,10 @@ using System.Diagnostics;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using ANXStatusComparer.Data;
|
using ANXStatusComparer.Data;
|
||||||
using ANXStatusComparer.Output;
|
using ANXStatusComparer.Output;
|
||||||
|
using Microsoft.Win32;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
// This file is part of the ANX.Framework created by the
|
// This file is part of the ANX.Framework created by the
|
||||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||||
@ -33,7 +37,14 @@ namespace ANXStatusComparer
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
config = new Configuration(new String[] { Path.Combine(Environment.CurrentDirectory, "ANX.Framework.dll") }, Path.Combine(Environment.CurrentDirectory, "SummaryStyle.css"));
|
string currentAssemblyDirectoryName = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||||
|
|
||||||
|
config = new Configuration(new String[] { Path.Combine(currentAssemblyDirectoryName, "ANX.Framework.dll"),
|
||||||
|
Path.Combine(currentAssemblyDirectoryName, "ANX.Framework.Content.Pipeline.dll")
|
||||||
|
},
|
||||||
|
GetDefaultXnaAssemblies(),
|
||||||
|
Path.Combine(currentAssemblyDirectoryName, "SummaryStyle.css")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@ -61,5 +72,31 @@ namespace ANXStatusComparer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
private static string[] GetDefaultXnaAssemblies()
|
||||||
|
{
|
||||||
|
HashSet<string> assemblies = new HashSet<string>();
|
||||||
|
|
||||||
|
var xna32 = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\XNA\Game Studio\v4.0", "InstallPath", null);
|
||||||
|
var xna64 = Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\XNA\Game Studio\v4.0", "InstallPath", null);
|
||||||
|
|
||||||
|
if (xna32 != null)
|
||||||
|
{
|
||||||
|
foreach (string file in Directory.EnumerateFiles(Path.Combine(xna32.ToString(), @"References\Windows\x86"), "*.dll", SearchOption.AllDirectories))
|
||||||
|
{
|
||||||
|
assemblies.Add(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (xna64 != null)
|
||||||
|
{
|
||||||
|
foreach (string file in Directory.EnumerateFiles(Path.Combine(xna64.ToString(), @"References\Windows\x86"), "*.dll", SearchOption.AllDirectories))
|
||||||
|
{
|
||||||
|
assemblies.Add(file);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return assemblies.ToArray();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,7 +10,7 @@ using System.Runtime.InteropServices;
|
|||||||
[assembly: AssemblyConfiguration("")]
|
[assembly: AssemblyConfiguration("")]
|
||||||
[assembly: AssemblyCompany("ANX Developer Team")]
|
[assembly: AssemblyCompany("ANX Developer Team")]
|
||||||
[assembly: AssemblyProduct("ANXStatusComparer")]
|
[assembly: AssemblyProduct("ANXStatusComparer")]
|
||||||
[assembly: AssemblyCopyright("Copyright © ANX Developer Team 2011")]
|
[assembly: AssemblyCopyright("Copyright © ANX Developer Team 2011 - 2012")]
|
||||||
[assembly: AssemblyTrademark("")]
|
[assembly: AssemblyTrademark("")]
|
||||||
[assembly: AssemblyCulture("")]
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
|
|||||||
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
// Sie können alle Werte angeben oder die standardmäßigen Build- und Revisionsnummern
|
||||||
// übernehmen, indem Sie "*" eingeben:
|
// übernehmen, indem Sie "*" eingeben:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.0.0.0")]
|
[assembly: AssemblyVersion("1.0.2.*")]
|
||||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
[assembly: AssemblyFileVersion("1.0.2.0")]
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" ?>
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
<Config>
|
<Config>
|
||||||
<ANXAssemblies>
|
<ANXAssemblies>
|
||||||
<Assembly>ANX.Framework.dll</Assembly>
|
<Assembly>..\bin\Debug\ANX.Framework.dll</Assembly>
|
||||||
|
<Assembly>..\bin\Debug\ANX.Framework.Content.Pipeline.dll</Assembly>
|
||||||
</ANXAssemblies>
|
</ANXAssemblies>
|
||||||
<XNAAssemblies>
|
<XNAAssemblies>
|
||||||
<Assembly>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll</Assembly>
|
<Assembly>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll</Assembly>
|
||||||
|
BIN
Tools/ANXStatusComparer/anx.ico
Normal file
BIN
Tools/ANXStatusComparer/anx.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
@ -53,6 +53,9 @@
|
|||||||
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<ApplicationIcon>anx.ico</ApplicationIcon>
|
||||||
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
@ -77,6 +80,9 @@
|
|||||||
<Name>ANX.Framework</Name>
|
<Name>ANX.Framework</Name>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Content Include="anx.ico" />
|
||||||
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- 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.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
BIN
Tools/ContentBuilder/anx.ico
Normal file
BIN
Tools/ContentBuilder/anx.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.2 KiB |
@ -405,8 +405,9 @@
|
|||||||
<in>
|
<in>
|
||||||
<items basedir="../Tools/">
|
<items basedir="../Tools/">
|
||||||
<include name="**/*.csproj" />
|
<include name="**/*.csproj" />
|
||||||
|
<!--
|
||||||
<exclude name="**/ProjectConverter.csproj" />
|
<exclude name="**/ProjectConverter.csproj" />
|
||||||
|
-->
|
||||||
<exclude name="**/*ANX.ContentCompiler.GUI*.csproj" if="${project.anx.metro}" />
|
<exclude name="**/*ANX.ContentCompiler.GUI*.csproj" if="${project.anx.metro}" />
|
||||||
<exclude name="**/*ContentBuilder*.csproj" if="${project.anx.metro}" />
|
<exclude name="**/*ContentBuilder*.csproj" if="${project.anx.metro}" />
|
||||||
<exclude name="**/*ANXStatusComparer*.csproj" if="${project.anx.metro}" />
|
<exclude name="**/*ANXStatusComparer*.csproj" if="${project.anx.metro}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user