46 Commits

Author SHA1 Message Date
Konstantin Koch
c61b7a077e Migrated WindowsFormsEditor and WindowsGame and did basic implementation of OpenTK InputDevices
Made it possible to separate the InputDevices by their provider and set
a preffered provider. Otherwise you are restricted to only having one
input Device provider.
Improved the error message if the WindowHandle on the InputDeviceFactory
is invalid.
Improved AssemblyLoader which was skipping the InputDevices.OpenTK
assembly because the OpenTK assembly was blocked. Added ANX.Framework
and SharpDX.Direct3D11.Effects to the ignore list.
The AssemblyLoader is not static anymore (Only used in
AddinSystemFactory) and it doesn't add the same assembly multiple times
anymore. Additionally, if a type of an assembly couldn't be loaded, it
throws now a TypeLoadException with the hint that a dependency might
have been loaded in the wrong version.
Refactored RenderSystem.GL3 with the latest changes on the effect system
that have been done in the ANX.Framework.
2015-10-18 13:37:39 +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
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
Glatzemann
0d3593c223 - Fixed an issue with content compiling: The readers for generic types were not registered in the XNB file and therefor couldn't be loaded.
- Fixed an issue with CharWriter: It was a ByteWriter (wrong name)...
2015-03-15 01:12:01 +01:00
SND\AstrorEnales_cp
3e65589f23 Working on native DynamicSoundEffectInstance implementation in XAudio and OpenAL 2015-03-15 01:11:31 +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
SND\rene87_cp
6614f939a7 Add ModernUI to internal 2015-03-15 01:11:06 +01:00
Glatzemann
df1f49462f renamed ANX.RenderSystem.Windows.GL3 to ANX.RenderSystem.GL3 as it is not windows specific (it runs on MacOs X, Linux and Windows) 2015-03-15 01:10:48 +01:00
Glatzemann
5406e0213e - fixed some issues in build script
- moved WaveUtils project from SoundSystems to Support folder
2015-03-14 23:31:36 +01:00
SND\AstrorEnales_cp
379a1bc50e Some refactorings in the Input namespace and added PercentageComplete and TestState attributes to most classes 2012-09-01 16:20:44 +00:00
SND\AstrorEnales_cp
c9aa5eb707 Further refactoring of the XInput InputDevices, fixed some stuff and working on implementing it 100% 2012-08-31 21:45:50 +00:00
SND\AstrorEnales_cp
67c9efa6cf - Moved the Wave loading/conversion to an extra project (WaveUtils)
- Started implementation of the Wave Content Pipeline
- Fixed GraphicsDeviceWindowsGL3
2012-08-29 18:07:54 +00:00
SND\AstrorEnales_cp
9200286a83 - Implemented TouchPanel classes and added native TouchPanel interface
- Started PsVita Input project and implemented Touch and GamePad so far
- Added OpenALAudioListener
2012-08-22 09:51:35 +00:00
SND\GinieDp_cp
56cc1a70af + Implemented simple XNB inspection tool 2012-08-21 21:07:19 +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
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
Glatzemann
a2dda0ffa2 Some more work on build script for Windows 8 (Metro style). Win8-Build now uses tuned project files and new build system. There's a bunch of errors when building for Win8 now. This is ok for now because it is a sign that it is moving in the right direction. Now everything not supported by WinRT needs to be replaced for solving these errors. 2012-02-20 13:59:52 +00:00
SND\simsmaster_cp
a32da95cde Added Recording and Playback logic for the Keyboard - untested! 2011-12-29 17:11:12 +00:00
Glatzemann
746582483d - Changed Primitives sample to ANX now (currently not working)
- fixed VertexDeclaration constructors (params keyword)
- VertexDeclaration: calculation of VertexStride implemented
- fixed issue #548 (GraphicsDevice.Viewport StackOverflowException)
- small improvements in EffectTechniqueCollection
2011-12-27 08:19:27 +00:00
Glatzemann
3765f00151 - fixed a minor issue with pathes in MSI-Installer build script
- added creators for concrete InputDevice instances
- added a factory to manage InputDeviceCreators which are located in AddIn assemblies
- implemented some InputDeviceCreators in ANX.InputSystem.Windows.XInput as reference
- created the new InputSystem: ANX.InputSystem.Standard which is the default container for the new InputDevices. It is replaceable by the ANX.InputSystem.Recording e.g.
- added ANX.InputSystem.Standard to build script and MSI-Installer build script
- added ANX.InputSystem.Recording to the MSI-Installer build script
- implemented AvailableNetworkSessions (and fixed another wrong class reported by ANXStatusComparer)
- updated WindowsGame sample to support only one InputSystem at the time (replaced multi SelectBox with ComboBox)
- renamed ANX.InputSystem.Windows.XInput to ANX.InputDevices.Windows.XInput because it no longer contains a InputSystem but InputDevices

This version is UNSTABLE and not TESTED because of massive changes regarding the InputSystem !!!
2011-12-14 19:22:17 +00:00
Glatzemann
7b9a23b1b6 fixed issue #519 2011-12-12 08:38:31 +00:00
Glatzemann
ffc67695bb increased version number to prepare release 2011-12-09 08:54:48 +00:00
Glatzemann
8e69296c4d added basic GraphicsResource tracking
native objects of Effect, VertexBuffer, IndexBuffer, DynamicVertexBuffer and DynamicIndexBuffer are recreated now after destroying GraphicsDevice
2011-12-07 08:40:40 +00:00
Glatzemann
0e1d271195 refactored AddInSystem (testing needed)
implemented feature #469 (Default AddIn override)
2011-12-06 09:11:26 +00:00
Glatzemann
91c412bd00 fixed some major issues with AddInSystemFactory only occuring using Mono 2011-12-01 14:52:10 +00:00
Glatzemann
3879d450b4 added SharpDX.Diagnostics to AddIns using SharpDX for explicit error messages
added information about OperatingSystem and Version to AddInSystemFactory
added IsSupported field to AddIn Creators
AddInSystemFactory now only loads supported AddIns
added Metadata resource files to all AddIns containing information about supported platforms.
2011-12-01 06:28:41 +00:00
Glatzemann
a0e94dc265 fixed issue #462 (GraphicsDevice.Clear) 2011-11-28 11:27:07 +00:00
SND\xToast_cp
8e16ace816 - Implemented VectorN TransformQuaternion methods. Unittests are green now. 2011-11-23 11:37:06 +00:00
Glatzemann
d8693b5023 fixed issue #453 (bad exception for unimplemented BasicEffect)
completed GetShaderByteCode in DX10 and GL3 RenderSystems
added dummy effect files for all shader types
2011-11-23 10:13:38 +00:00
Glatzemann
2672ebeabf fixed BoundingBox Intersects Plane
fixed BoundingBox Contains BoundingBox
fixed BoundingBox Intersects BoundingBox
fixed BoundingBox Contains BoundingSphere
fixed BoundingBox Intersects BoundingSphere

BoundingBox tests are all green now
2011-11-23 09:35:45 +00:00
Glatzemann
d8d88b141c added new target "create_packages" in build script
PreferredBackBufferWidth and PreferredBackBufferHeight are returning values now
added EffectPass handling
applying effects is not a workaround anymore
2011-11-22 14:51:30 +00:00
Glatzemann
1896545e0c extended msi installer
fixed CurveKey operator == and !=
2011-11-22 11:59:35 +00:00
Glatzemann
5fa5c4ed37 fixed issue #456 (IndexBuffer constructor overload wrong) 2011-11-21 20:14:18 +00:00
Glatzemann
190f334122 added a new sample: KeyboardSample to investigate issue #455
fixed issue #455
2011-11-21 19:33:09 +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
SND\floAr_cp
dd640f61e2 incresed version number 2011-11-21 14:30:42 +00:00
Glatzemann
a7b1f1b663 Minor improvements to Exception handling of AddInSystem 2011-11-21 11:44:14 +00:00
Glatzemann
21a0f6eb79 fixed some issues with build system 2011-11-21 09:25:29 +00:00
Glatzemann
3ba3457903 first version of build packaging implemented (target create_packages) 2011-11-18 15:32:32 +00:00
Glatzemann
f06890de59 reading used GraphicsProfile out of game assembly
some work on Kinect InputSystem (Dispose, fetching of RGB image)
changed handling of native textures (providing data for Texture2D at the moment)
implemented SetData methods for Texture2D
basic Dispose handling of Texture and Texture2D implemented
RenderSystemDX10: moved FormatSize method to FormatConverter to avoid duplicated code
RenderSystemGL3 is BROKEN in this version. New texture handling needs to be adapted.
2011-11-11 07:29:49 +00:00
Glatzemann
25d2c8dce4 fixed a merge issue in GL-RenderSystem 2011-11-10 07:12:04 +00:00
SND\AstrorEnales_cp
ebcf8d7f6e - Finished first working version of the XNA to ANX converter
- Implemented second Clear method for OGL
- Improved the DatatypesMapping by making the packedValue of Color
  internal and visible to the ogl library.
2011-11-09 19:37:21 +00:00
Glatzemann
9e5d0858c5 changed version and copyright of ANX.InputSystem.Windows.Kinect and changed project type to assembly
implemented NormalizedShort2 and NormalizedShort4 struct
fixed a bug in NormalizedByte4
implemented Short2 and Short4 datatypes. The PackedVector namespace is now feature complete.
2011-11-09 05:54:10 +00:00
Glatzemann
e92ee6dfa7 versioned all projects 2011-11-07 11:42:13 +00:00
Glatzemann
cd4d4dec7b added missing OpenTK lib 2011-11-01 05:53:59 +00:00
Glatzemann
8326720ee3 initial import 2011-10-31 05:36:24 +00:00