160 Commits

Author SHA1 Message Date
Konstantin Koch
23466b9b31 some cleanup in BuildContentTask. Improved handling of ProcessorParameters. Made the BuildCache much more reliable. 2015-11-04 23:38:46 +01:00
Konstantin Koch
41861a0f3d fix build which was changes in last commit and fix AlphaTestEffectSample project file 2015-09-05 12:37:48 +02:00
Konstantin Koch
a8588a30a5 Update ContentCompiler, make Visual Studio Extension work without having Anx Framework installed.
Make ContentCompilerGui compatible to recent changes in pipeline and did
some usability changes.
Make the Visual Studio Extension work even if the ANX Framework is not
installed additionally..
Improve that the path for assembly refernces in a content project
doesn't get automatically updated, only if the reference is actually
saved, this is so you can specify a relative path yourself.
Fix missing icon for ContentProject when it was opened with Visual
Studio.
Made create_shaders.bat directly executable under windows by fixing the
directory separators.
2015-09-03 23:43:55 +02:00
Konstantin Koch
17d0771b03 Placed the importers into different categories for the "importing existing files" dialog in Visual Studio.
Fixed a performance problem in the Visual Studio extension where no importer or processor was selected for an asset.
Fixed that the asset names for Uri encoded in the build output.
Fixed that errors when serializing assets get logged.
Sped up ImporterManager.GuessImporterByFileExtension, which caused performance problems if many assemblies are loaded into the current AppDomain.
Made the AssimpImporter library deploy the binary files again (hopefully just a temporary solution until we've found a better way.)
Provide a extension for TargetPlatform enum for getting the DisplayName of an entry.
Changed that ProcessorManager.GetProcessorDisplayName doesn't throw an exception if no processor with the given name exists, which now mimicks the same behavior as in importerManager.GetImporterDisplayName.
2015-04-26 19:47:26 +02:00
Konstantin Koch
8287c54432 Included the Visual Studio extension and made the necessary changes to make it run.
Replaced the old VS templates with ones that offer more flexiblity.
Started replacing the Content Project for the samples with our custom project type.
Inlcuded a basic not yet working AssimpImporter.
2015-04-08 14:50:03 +02:00
Konstantin Koch
cb01231e7d implemented Intermediate.Serializer namespace in Content Pipeline.
removed the old .tfignore file.
2015-03-29 18:16:03 +02:00
Konstantin Koch
f081f8632a two commits were missing, both by KorsarNek:
"Removed the SupportedPlatformsImpl classes and replaced them with a new SupportedPlatforms attribute on the assembly level.
Removed a few class constructors which could cause problems when loading a game.
Made ResetElapsedTime in the game class reset to 0 instead of TimeSpan.MinValue.
Removed the restriction in the InputDeviceFactory for which InputDevices are supported.
Added a Logger for Metro which works with the current Logger implementation.
Changed that when a platform is recognized that is higher than Windows 8, it gets treated like Windows 8, not like Windows 7.
Due to the SupportedPlatforms change, the assembly loader is now faster in finding out which assemblies contains addIns. For not Metro system, it's also added that a warning gets written if an AddIn references a different ANX version than that of the running assembly.
OpenGL and DirectX have been updated to the newest versions.
XAudio system uses now the same SharpDX version as all the other systems.
ParameterBuffer for WindowsMetro gets now correctly created by considering the size constraints for constant buffers.
Fixed an erroneous finalizer in the xaudio system.
Made the metro projects convert to Windows 8.1, as Windows 8.0 is not supported by the newer SharpDX versions. It's now also necessary to use at least Visual Studio 2013 to build the Metro versions.
Made the samples work again on Windows."

"Fixed the creation of the swap chain for windows metro and removed the dependency of the Metro Rendersystem onto the Metro Platformsytem.
All occurrences of WindowHandles have been replaced with a custom WindowHandle type which should work out of the box in most cases, but does still represent a breaking change to XNA.
The ProjectConverter for Metro was adjusted so that with just changing the way the application is initialized, most projects that worked with ANX before should now work under win rt. The sample SimpleNoContent does now work out of the box for win rt, after a project conversion.
The application name for win rt apps is now a guid, the display name stayed the same though. That's to be more compliant with the way win rt apps are normally created.
The default namespace and namespace of the classes for the Sample "SimpleNoContent" is renamed from "SimpleModernUI" to "SimpleNoContent".
With the new way win rt apps are initialized for ANX, it's necessary to first create the WindowsGameHost for WinRT with a handler how to create the game instance and give that to the CoreApplication object to run it.
Also took care of a few annoying bugs when working with win rt and ANX where no InputDevices could be created on the first frame (Issue #1164 ) and that it wasn't possible to use the localfolder of the application on the first update and all the other stuff for which an instance of the Application class was necessary."
2015-03-29 13:48:33 +02:00
Konstantin Koch
734312c7fa Updated the SampleBrowser to streamline the UI and implement some missing features. It now also allows to open a separate sln file for the different samples. 2015-03-15 01:14:45 +01:00
SND\eagleeyestudios_cp
629320a40b Applied patch 15966 by KorsarNek, thanks for that!
Patch Notes:
Small fix that just removes the flicker of the Content Compiler gui for Linux systems.
2015-03-15 01:13:31 +01:00
SND\eagleeyestudios_cp
2d0a7b3fe0 Content Pipeline:
- Added default value for target platform when reading cproj files

Compiler GUI:
- fixed issue #1143, a message box should now be displayed if project path is wrong
- added default case for empty configuration when loading projects
2015-03-15 01:12:49 +01:00
SND\eagleeyestudios_cp
d942f502e5 Content Compiler:
- Fixed a bug which caused the program to crash when trying to add files via context menu and no project is loaded
2015-03-15 01:12:47 +01:00
SND\eagleeyestudios_cp
31ef82845c Content Compiler:
- Fixed a bug where loading a project was impossible due to improper use of DialogResult
2015-03-15 01:12:46 +01:00
Glatzemann
f4ad054470 fixed some minor issues caused by the update to SharpDX 2.4.1 2015-03-15 01:12:46 +01:00
SND\eagleeyestudios_cp
695ce34937 - Removed "Patch applied" region directives from Game.cs and DrawableGameComponent.cs because they made MSBuild complain about bad Syntax.
- Fixed bug in ContentCompiler build process that occurred when using relative Paths.
- Changed creation method to use relative paths
2015-03-15 01:12:24 +01:00
SND\eagleeyestudios_cp
d428d2a5ca - Made Content Compiler GUI support relative Paths. 2015-03-15 01:12:19 +01:00
Glatzemann
0d49da8822 - fixed some enumeration values
- fixed some build issues (tools)
- fixed some installer issues (msi)
- fixed some ANXStatusComparer issues
- changed some tools icons
2015-03-15 01:12:18 +01:00
Glatzemann
0f9b1f4c02 improved configuration handling of ANX.StatusComparer 2015-03-15 01:12:18 +01:00
Glatzemann
aacbe6a5ac fixed a compiler issue with VS2012 in ProjectConverter 2015-03-15 01:12:17 +01:00
SND\eagleeyestudios_cp
412e4885c9 Improved Project Converter UI 2015-03-15 01:12:16 +01:00
SND\eagleeyestudios_cp
cd9d34aad5 ContentCompiler:
- added missing icon
- implemented Preview (still buggy though)

ProjectConverter:
- added GUI that is used when no parameters are supplied.
- added icon
2015-03-15 01:12:15 +01:00
SND\eagleeyestudios_cp
47c57e3222 Content Compiler:
-Changed behavior of the NewProjectScreen to fix a wrong message when changing the project path manually.
- Fixed application icon
- Fixed a bug when trying to open a preview with nothing selected
2015-03-15 01:12:14 +01:00
Glatzemann
86936c2004 - updated ContentBuilder version
- updated installer to add the ANX.Framework tools directory to the System-PATH. This is useful for compiling ContentProjects using the PreBuildAction of a Visual Studio project (this is used in the upcoming project templates)
2015-03-15 01:12:14 +01:00
Glatzemann
328b673249 - removed a warning from EffectProcessor
- removed app.config from StockShaderCodeGenerator
2015-03-15 01:12:11 +01:00
Glatzemann
437741acef - DX11 shader generation warnings in sscg are removed
- Optimized build script: XNA and XNA Game Studio installations are now recognized and Samples which are using the XNA ContentPipeline are no longer builded if not possible. The build scripts now runs completly on Windows 8.
2015-03-15 01:12:11 +01:00
Glatzemann
5b871f27fa - added InputSystems to Windows 8 / Metro build (main build script)
- fixed some compile errors in XAudio SoundSystem when building for Windows 8 / Metro
- updated ProjectConverter to remove OggVorbis assemblies from project references when building for Windows 8 / Metro
2015-03-15 01:12:09 +01:00
Glatzemann
786934191d Updated StockShaderCodeGenerator and EffectProcessor to support DX11 stock shaders (wrong profile was used while compiling). 2015-03-15 01:12:08 +01:00
Glatzemann
b82cfd40ee removed some deleted files from repository 2015-03-15 01:12:05 +01:00
Glatzemann
99216ca254 - Fixed some bugs in build system
- Build system optimizations
- Extended ProjectConverter: DX and SharpDX assemblies are now removed from linux projects to prevent errors
- Fixed a bunch of compiler warnings
- Removed DX11MetroShaderGenerator assembly. It is now included in ANX.Framework.Content.Pipeline
- Removed HLSLParser assembly. It is now included in ANX.Framework.Content.Pipeline.
- Removed shader parser from GL3-RenderSystem. It is now included in ANX.Framework.Content.Pipeline.
- Removed RenderSystem dependencies from StockShaderCodeGenerator (sscg) tool
2015-03-15 01:12:04 +01:00
Glatzemann
6a3d0bd71b removed MSBuild-Reference which is no longer needed 2015-03-15 01:12:02 +01:00
SND\eagleeyestudios_cp
744c835883 corrected missing resx file 2015-03-15 01:11:56 +01:00
Glatzemann
9817ecf2e5 - fixed a minor bug in ANX content project loader
- added support to translate XNA content project files to ANX content project format and vice versa (still some work needed)
2015-03-15 01:11:56 +01:00
Glatzemann
87dd600ffe Implemented first working version of ANX to XNA project transformation using the ProjectConverter tool. The other way round is not tested yet but should work too.
Translation of content projects is missing but this will be the next one...
2015-03-15 01:11:55 +01:00
Glatzemann
bf101259fe Added output path switch to ProjectConverter: we are now able to select where to create the converted project 2015-03-15 01:11:55 +01:00
Glatzemann
d0f477790b slightly changed the way ProjectConverter works and added two new converters:
- AnxConverter (which converts a ANX project to a XNA project)
- XnaConverter (which converts a XNA project to a ANX project)

The projects file content is changed in memory, but will not be written to disc currently.

Next to come: Finished project converter and converting content projects.
2015-03-15 01:11:54 +01:00
SND\eagleeyestudios_cp
01cac2c358 Content Compiler:
- Added missing FakeBuildLogger.cs
- changed the preview implementation to support previewing while working in the main window (handy for multiple screens!)
- Did some cleaning and added #region tags and copyright text
2015-03-15 01:11:51 +01:00
SND\eagleeyestudios_cp
93c729e31f Content Compiler:
- Began implementing Preview
2015-03-15 01:11:50 +01:00
SND\AstrorEnales_cp
be01038e1f Fixed the DisplayMode class which was way too accessible!
Added Tests for:
- DisplayMode
- VertexElement
- VertexPositionColor (GetHashCode still fails)
- VertexPositionColorTexture (GetHashCode still fails)
- VertexPositionTexture
- VertexPositionNormalTexture
2015-03-15 01:11:49 +01:00
SND\AstrorEnales_cp
73b50ab6c3 - Translated the AlphaTest shader to GLSL (needs some more testing)
- Added a bunch of Development attributes
- Fixed a class file name that was different from the class name itself
2015-03-15 01:11:46 +01:00
SND\AstrorEnales_cp
c0e2f85eae Added a lot of Developer attributes and added some colors to the OnlineStatusGenerator 2015-03-15 01:11:35 +01:00
SND\eagleeyestudios_cp
3f6dd9b9d0 Content Pipeline:
- Added ImporterConverter and ProcessorConverter to enable nice dropdown list for Importer/Processor in PropertyGrids

Content Compiler:
- Enabled choosing of Processors using a neat little dropdown list in the propertyGrid.
2015-03-15 01:11:30 +01:00
SND\AstrorEnales_cp
0d25ca7589 - Added OggUtils Support project by making use of the csogg and csvorbis projects
- Implemented native Song playback in OpenAL and XAudio2
- Some tweaks in the MediaPlayer and MediaQueue
- Added a testmusic.ogg file to the media folder
2015-03-15 01:11:27 +01:00
Glatzemann
e5ac8228ca some more build tweaking for Windows 8 2015-03-15 01:11:26 +01:00
SND\eagleeyestudios_cp
e011a8fc1f - Added some more types to the XmlImporter conversion list. 2015-03-15 01:11:25 +01:00
Glatzemann
7ec2f356dc - some more work on build system for Windows 8
- minor tweaking in ProjectConverter for ModernUI / Metro
2015-03-15 01:11:23 +01:00
Glatzemann
808e63f45a - some more tweaking in build script for Windows 8
- Platform no makes a difference for Windows8 and Windows8ModernUI
2015-03-15 01:11:22 +01:00
SND\AstrorEnales_cp
6f759ae509 Build a small tool to check all ANX classes about their Development attributes and generate an html report.
Added Development attributes to all PackedVector classes and Audio classes.
2015-03-15 01:11:20 +01:00
SND\eagleeyestudios_cp
a07d5c69b6 Content Compiler:
- Fixed Exception when Importer not set in loaded project.
2015-03-15 01:11:16 +01:00
SND\AstrorEnales_cp
18152ade3e Implemented Feature #1010 by replacing the MsBuild sln-Parsing with our own parser which
enables us to run the project converter on linux. Updated all projects via ProjectConverter.
2015-03-15 01:11:14 +01:00
Glatzemann
3d5b24d6f6 Fixed issue #1015 (GetData method of vertex buffer). See VertexIndexBuffer sample for a proof of concept (search for GetData in Game1) 2015-03-15 01:11:09 +01:00
SND\rene87_cp
a0f8d1fd23 expand the ProjectConverter 2015-03-15 01:11:08 +01:00