44 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\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
994e894b24 Added a full test set for the TouchCollection and the TouchLocation 2015-03-15 01:11:49 +01:00
SND\AstrorEnales_cp
325aa4c152 Implemented GetHashCode methods in the Input classes and added unit tests for them, they are now fully tested 2015-03-15 01:11:48 +01:00
SND\AstrorEnales_cp
1aa7d3fe37 Added a test for comparison of all xna and anx enums and fixed some wrong enum basetypes 2015-03-15 01:11:44 +01:00
SND\AstrorEnales_cp
646c2e5b79 - Fixed the Curve class Oscillate mode and all Curve tests are now passing!
- Added the missing Serializable attribute to the Curve class
- Added some more Development attributes
2015-03-15 01:11:41 +01:00
SND\AstrorEnales_cp
085fb42ba6 Finished the BasicEffect Sample which tests all possible feature combinations of the Effect. 2015-03-15 01:11:38 +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\AstrorEnales_cp
3bf2261cd0 Finished Task #539 and implemented some VideoPlayer logic 2015-03-15 01:11:18 +01:00
SND\AstrorEnales_cp
3316d46dba - Implemented some GetData methods in the Vertex and Index Buffer implementations
- Added developer, PercentageComplete and TestState attributes
- Added Event to the FrameworkDispatcher which will be used by the components that need it (audio etc.)
- Some more refactorings, regions, etc.
2012-09-04 21:36:46 +00: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
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
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\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
7b1c3d402c - added the RenderSystem.Windows.Metro with a bunch of new files (NOT WORKING currently)
- changed many things in ANX.Framework core assembly to make it compile using VS2011 and .NET 4.5 for Win8 (not finished yet)
2012-02-21 07:52:20 +00:00
SND\floAr_cp
dda91e25e5 keyboard state error corrected 2012-01-21 10:06:06 +00:00
SND\rene87_cp
9907d2c740 add MouseStateTest.cs
some other test are modified
2012-01-19 12:13:42 +00:00
Glatzemann
829305a522 fixed issue #530 (Kinect sample not working) 2012-01-17 05:55:36 +00:00
SND\AstrorEnales_cp
41a38aa51f Fixed alot of Signatures, only 8 classes away from being identical to xna (in terms of signature ;)) 2012-01-16 20:08:38 +00:00
SND\AstrorEnales_cp
b6bd56bab6 Implemented GLSL shader techniques 2012-01-16 13:48:21 +00:00
SND\rene87_cp
1070e18e5c add GamePadStateTest
fixed issue #482
2011-12-06 11:54:38 +00:00
SND\simsmaster_cp
a54acf8f6f Added a type to some enums to save memory. 2011-11-30 20:03:39 +00:00
SND\rene87_cp
689b796ff4 add GamePadsButtonsTest (GetHashCode doesn't work) 2011-11-23 00:04:20 +00:00
Glatzemann
190f334122 added a new sample: KeyboardSample to investigate issue #455
fixed issue #455
2011-11-21 19:33:09 +00:00
SND\rene87_cp
38cbd8fcd2 add GamePadTest
fix GamePad class
improve IGamePad
2011-11-20 11:37:51 +00:00
SND\AstrorEnales_cp
bbeb6be3d1 Added the whole bunch of missing classes as empty classes for now
We got zero missings now ;)
2011-11-17 20:35:25 +00:00
SND\rene87_cp
a0b0f8f869 add AssertHelper.CompareFloats(float xna, float anx, String test)
add AssertHelper.CompareString(String xna, String anx, String test)
add GamePadTriggersTest
Fix Gamepadtriggers Properties
2011-11-16 23:30:37 +00:00
SND\rene87_cp
8059966fef add GamePadDPadTest
fix GamePadDPad.ToString()
2011-11-16 21:51:39 +00:00
Glatzemann
fac08d3939 fixed signature of Mouse class 2011-11-15 18:38:24 +00:00
Glatzemann
e02485ab9e Some work on keyboard input. It is currently not working, see issue #449 for further information 2011-11-14 19:37:05 +00:00
SND\rene87_cp
2c30d8ff7e add XInput Keyboard 2011-11-14 16:19:58 +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
9695acd2e3 implemented class stubs of Storage Namespace
fixed signature of KeyboardState
fixed signature of GamePadButtons and optimized a little bit (for frequently used properties it is now cheaper to check state)
fixed signature of GamePadDPad and made it the same style as GamePadButtons
fixed signature of GamePadTriggers
fixed signature of GamePadCapabilities
fixed signature of GamePadState
2011-11-11 12:50:46 +00:00
SND\rene87_cp
d3ddc5b463 GamePadButtons complet 2011-11-11 11:51:40 +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
55bf23606a added a Kinect sample project for testing 2011-11-09 12:31:32 +00:00
Glatzemann
99a5923fa4 Kinect: refactored some small things and added experimental handling of Depth and RGB images 2011-11-09 08:56:37 +00:00
SND\floAr_cp
e84370a574 kinect done definex xnaext in framework 2011-11-08 20:52:48 +00:00
Glatzemann
5427fd80ac fixed signature of some structs 2011-11-08 06:46:58 +00:00
Glatzemann
68875fe086 MouseState: now reported as complete by ANXStatusComparer
Mouse: fixed a typo in SetPosition
GraphicsDevice: prepared some more methods
2011-11-07 06:52:52 +00:00
SND\AstrorEnales_cp
5872a780b8 - added operators to MouseState
- working on AdapterList for OpenGL
- working on XNA to ANX converter tool
2011-11-05 11:35:05 +00:00
SND\rene87_cp
07b520f17b Improve the XInput system 2011-11-04 23:51:05 +00:00
SND\rene87_cp
2f3ab2541f Keyboard and Mouse Classe 2011-11-04 23:06:39 +00:00
Glatzemann
8326720ee3 initial import 2011-10-31 05:36:24 +00:00