29 Commits

Author SHA1 Message Date
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
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
eb1af4eec4 applied #16078
"Changes the base assembly to resolve the relative path of the ContentManager from GetExecutingAssembly to GetEntryAssembly. Allows for ANX Applications that have been loaded via an AppDomain from another Directory than the executing assembly to not crash because it couldn't find the necessary files. Standalone applications still work the usual way."
2015-03-15 01:13:37 +01:00
SND\AstrorEnales_cp
663dff347d - Added a new Sample to test all AlphaTestEffect behaviours
- Working on some tests
2015-03-15 01:11:46 +01:00
SND\AstrorEnales_cp
4fdad340d3 Fixed the StorageDevice and StorageContainer and native implementations 2015-03-15 01:11:40 +01:00
SND\AstrorEnales_cp
9f4369c05d - Working on implementing the WindowsMediaLibrary via the WMPLib
- Implemented nearly all classes in the Media namespace side by side with the Windows implementation
- Started adding unit tests to compare the ANX and XNA MediaLibrary behaviour
- Merged the ConvertEquals for PackedVectors to a single method that does the job equally good
2015-03-15 01:11:33 +01:00
SND\AstrorEnales_cp
61f12a03fa - Fixed the SoundEffectReader to work the same as xna does
- Implemented the proper Constructor in XAudioSoundEffect for the SoundEffectReader
- Started implementing the native MediaLibrary class in the WindowsPlatformSystem
2015-03-15 01:11:32 +01:00
Glatzemann
e5ac8228ca some more build tweaking for Windows 8 2015-03-15 01:11:26 +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
488545cef3 Updated some Developer Attributes and added a test class for PackedVector/Alpha8.
Analyzed the Shuffle behaviour of the MediaPlayer in Xna and implemented it correctly in ANX.
2015-03-15 01:11:21 +01:00
SND\AstrorEnales_cp
3bf2261cd0 Finished Task #539 and implemented some VideoPlayer logic 2015-03-15 01:11:18 +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
6ea62b97ff Add Body of the ModernUI SoundSystem 2015-03-15 01:11:06 +01:00
SND\eagleeyestudios_cp
6aea2f0fc4 - Updated all Linux projects using the ProjectConverter. (-> This created the missing Linux version of GL3-Rendersystem) 2015-03-15 01:11:02 +01:00
SND\eagleeyestudios_cp
ae61d9850c Fixed some Linux Reference Issues. Linux version of GL3 system still missing 2015-03-15 01:11:00 +01:00
Glatzemann
81bcc22032 - fixed a lot of issues in build script: most of metro building on Windows 8 is now working
- fixed PlatformSystem.Metro (untested)
- fixed project files of ANX.InputDevices.Windows.ModernUI
- fixed a small issue in ANX.Framework's generic PlatformSystem implementation
2015-03-15 01:10:55 +01:00
Glatzemann
933ef7cae6 - extended ContentPipeline ProcessorManager with method to select a default processor for a importer or imported type
- extended ContentImporter to provide OutputType of imported content
- provided a list of available ContentProcessors in current context

PlatformSystems are no longer AddIns. This doesn't mean, that you can't load them dynamically. The handling is just different. There's only a single PlatformSystem available for each platform ANX runs on. This one is auto loaded. If it doesn't exist the game doesn't run. The reason for this is, that we will move the AddIn system from ANX.Framework to the specialized PlatformSystem. This is necessary because we want ANX.Framework to become platform independent. The AddIn system is different for some platforms (Android, iOS, Windows 8 Metro) and needs to be specialized. On the other hand we are able to simplify the AddIn system when moving it to the PlatformSystem because we don't need a big AddIn system supporting all platforms with much conditional compiling.

THIS COMMIT DOES BREAK SOME FUNCTIONALITY. METRO DOESN'T WORK ANYMORE, AS IT IS NOT TESTED. DON'T USE THIS COMMIT IF YOU ARE NO ANX.FRAMEWORK DEVELOPER. We will catch up soon with a tested and working version.
2015-03-15 01:10:54 +01:00
Glatzemann
55fac0cc5a - refactored and fixed game timing and timers (bug #988)
- minor updates in ModelSample
- added new media file: ANX Logo mesh (vertex colors, FBX-Format)
2012-09-01 11:20:05 +00:00
Glatzemann
c04709e3b4 - Fixed a bug when closing the RenderWindow. Rendering wasn't stopped immediately when the window starts to close. This was a problem when using OpenGL RenderSystem because it crashed. (Thanks Kevin)
- Fixed an issue with shader language in SpriteBatch
2012-08-29 12:11:03 +00:00
SND\AstrorEnales_cp
c955ca882a Implemented Xact general settings parsing for the AudioEngine 2012-08-26 20:17:41 +00:00
SND\AstrorEnales_cp
e23261bfc3 Implemented a lot of basic behaviour in the Media namespace 2012-08-26 10:31:54 +00:00
SND\AstrorEnales_cp
9164b2297e Removed the MediaSystem cause it isn't needed any more. Any stuff that was planned to go in there, will now be in the other systems 2012-08-25 21:22:30 +00:00
SND\AstrorEnales_cp
734679616b - Added ILRepack
- Refactored the AddIn-System to allow merged assemblies (for metro, android, etc. later on)
- Added empty PsVita Sound and Media System modules
- Fixed 2 small missing excludes in the build script
- Cleaned the License headers in the shader files
- Some other refactorings
2012-08-25 17:27:45 +00:00
SND\AstrorEnales_cp
8881369976 Fixed the Metro converter so that executables are correctly converted. Still need to generate the certificate and add the Assets 2012-08-12 22:17:56 +00:00
SND\AstrorEnales_cp
bf97e6ba69 Updated Metro Converter and fixed a missing project reference 2012-08-12 21:43:28 +00:00
SND\AstrorEnales_cp
9cfc4d256d - Started working on AssemblyNameFile to make the Factory work on all systems
- Started PsVita RenderSystem and PlatformSystem (still much todo)
2012-08-11 13:06:29 +00:00
SND\AstrorEnales_cp
d05594fce8 Completely removed the Metadata.resx files which didn't work on Metro, added a new approach with an Interface and derived classes in the modules, which is basically the same approach. 2012-08-09 16:33:47 +00:00
SND\AstrorEnales_cp
5505f7dcbf - Added PlatformSystem Plugins layer
- Started Windows, Metro and Linux Platform-Plugins
- Moved the RecordingSample to the Samples folder
- Started two samples for using the graphics device in a WinForms and Wpf Editor
- Refactorings in the AddIn-System
- Moved the Window initialization-code to the Platform modules
- Changed the License text in all code files which is now way smaller
- Started ProjectConverter tool which converts all the projects and solution to the target configuration
- Changed the SupportedPlatform names in the Resource files
- Changed the WIN8 define to WINDOWSMETRO which is actually meant
- Removed NLog and started our own Logger class
- Many more stuff...
2012-08-09 09:45:04 +00:00