28 Commits

Author SHA1 Message Date
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
SND\rene87_cp
77afddf4ba For Test Only replace 2 private bools with proteced for an W8 workaround 2015-03-15 01:13:23 +01:00
Glatzemann
0daa7c04f9 - applied patch #13368 of clcrutch (fixes XInput's Keyboard.GetState(PlayerIndex) to match XNA's functionality)
- added build support for "Visual Studio 2012 Express for Windows Desktop" using the MakeAnxFramework command
- marked patches in source files
2015-03-15 01:12:24 +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
Glatzemann
8dced08668 applied patch #13365 by clcrutch 2015-03-15 01:12:23 +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
SND\AstrorEnales_cp
ef734ddcd3 Implemented the MediaPlayer and MediaQueue classes as preparation for native Song playback.
Also added the FrameworkDispatcher calls in the Game class.
Checking for possible fire and forget sound instances to be disposed in the FrameworkDispatcher update chain.
2015-03-15 01:11:17 +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
SND\AstrorEnales_cp
dd173478d6 - Wrote the DualTexture shader for GL3 but the rendering is not working yet
- Huge refactoring in the Dx10 RenderSystem + increasing much performance
2012-09-06 09:58:13 +00:00
SND\AstrorEnales_cp
0ad3ca056b Moved the WaveUtils project to the SoundSystems folder which is more suitable. 2012-09-01 15:09:10 +00: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
SND\AstrorEnales_cp
845d8ec716 - Further implemented the Dispose chain which now prevents the OpenGL gd from leaking (still some work required)
- Logging OpenGL version on Device Reset with GL3 RenderSystem
2012-08-30 12:05:40 +00:00
SND\AstrorEnales_cp
4ec1977383 - Fixed compile errors in the AddInSystem under Metro
- Added OpenAL libraries
- Updated solutions and projects
2012-08-30 09:28:02 +00:00
Glatzemann
1f45cd9038 - added Developer-Attribute for tagging classes responsibility
- added a bunch of Completion- and Developer-Tags
2012-08-29 13:14:00 +00:00
Glatzemann
00dabcf111 Tagged GameComponents as completed, but untested. 2012-08-29 12:46:08 +00:00
Glatzemann
9d26578a36 - added missing Initialize-call when adding GameComponent 2012-08-29 12:33:35 +00:00
Glatzemann
c8f2ffb108 - added basic support for GameComponents (update- and draw-order missing) 2012-08-29 12:32:14 +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
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
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
SND\AstrorEnales_cp
1cebf6f91e - Introduced new MediaSystem creator (handling the whole Media namespace)
- Made the plugin handling internally way simpler (no tons of duplicated code anymore)
- Added empty MediaSystem to have a default for now (Windows.OpenAL)
- Added a PercentageCompleteAttribute which will be used to mark the current state of a class (0-100%)
2012-02-15 19:48:46 +00:00
Glatzemann
0e1d271195 refactored AddInSystem (testing needed)
implemented feature #469 (Default AddIn override)
2011-12-06 09:11:26 +00:00
Glatzemann
fa035cb4df added some more logging and exception handling to trace errors on linux 2011-12-01 10:31:25 +00:00
Glatzemann
f931832502 added NLog to lib folder for logging
added log configuration to ANX.Framework assembly
added debug logging to ANX.Inputsystem.Windows.XInput and ANX.Framework
2011-11-21 16:00:02 +00:00
Glatzemann
a7b1f1b663 Minor improvements to Exception handling of AddInSystem 2011-11-21 11:44:14 +00:00
Glatzemann
972f7121e8 renamed CurrentCreator to DefaultCreator project wide
extended InputSystem selector in WindowsGame sample
fixed some interface issues in XInput InputSystem
added FormatConvert to InputSystem XInput to translate GamePadButtons from XInput to ANX
2011-11-11 15:21:41 +00:00
Glatzemann
8326720ee3 initial import 2011-10-31 05:36:24 +00:00