diff --git a/MXA-Framework/LICENSE b/MXA-Framework/LICENSE new file mode 100644 index 0000000..9683172 --- /dev/null +++ b/MXA-Framework/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Insma Software + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/MXA-Framework/README.md b/MXA-Framework/README.md new file mode 100644 index 0000000..fede541 --- /dev/null +++ b/MXA-Framework/README.md @@ -0,0 +1,18 @@ +# MXA Framework [![Build Status](https://travis-ci.org/insma/MXA-Framework.svg)](https://travis-ci.org/insma/MXA-Framework) + +MXA Framework is an open-source XNA like based framework based on SharpDX.Direct3D11. It allow you to develop high performance game, 2D and 3D graphics rendering with familiar API. + +## Licensing + +MIT + +## Resources + +* [Downloads](https://github.com/insma/MXA-Framework/releases) +* [Documentation](https://github.com/insma/MXA-Framework/wiki) + +## Related projects + +* [MXA Game Studio](https://github.com/insma/MXA-Game-Studio) +* [SharpDX](https://github.com/sharpdx/SharpDX) +* [ShaprDX Toolkit](https://github.com/sharpdx/Toolkit) diff --git a/MXA-Framework/src/Content/MXA Framework.Content 2013.sln b/MXA-Framework/src/Content/MXA Framework.Content 2013.sln new file mode 100644 index 0000000..526aefd --- /dev/null +++ b/MXA-Framework/src/Content/MXA Framework.Content 2013.sln @@ -0,0 +1,52 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.AudioImporters", "Pipeline.AudioImporters\Insma.Mxa.Framework.Content.Pipeline.AudioImporters.csproj", "{F48C9BB9-6BE9-49D2-AA76-88082C405A01}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.EffectImporter", "Pipeline.EffectImporter\Insma.Mxa.Framework.Content.Pipeline.EffectImporter.csproj", "{28F921D3-8C02-4EE5-A150-860CB8809C9A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.FBXImporter", "Pipeline.FBXImporter\Insma.Mxa.Framework.Content.Pipeline.FBXImporter.csproj", "{E047B589-6C0A-4F85-92DE-27BEE2441F8A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.TextureImporter", "Pipeline.TextureImporter\Insma.Mxa.Framework.Content.Pipeline.TextureImporter.csproj", "{BD3D3F73-DA89-4712-A1AE-1BF8CE6C030C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.VideoImporters", "Pipeline.VideoImporters\Insma.Mxa.Framework.Content.Pipeline.VideoImporters.csproj", "{2C0257C0-EADC-4BB6-BC6B-53BEBF7AC482}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Content.Pipeline.XImporter", "Pipeline.XImporter\Insma.Mxa.Framework.Content.Pipeline.XImporter.csproj", "{EEE159F9-1F9E-4628-A19D-6662EC72D789}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F48C9BB9-6BE9-49D2-AA76-88082C405A01}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F48C9BB9-6BE9-49D2-AA76-88082C405A01}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F48C9BB9-6BE9-49D2-AA76-88082C405A01}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F48C9BB9-6BE9-49D2-AA76-88082C405A01}.Release|Any CPU.Build.0 = Release|Any CPU + {28F921D3-8C02-4EE5-A150-860CB8809C9A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {28F921D3-8C02-4EE5-A150-860CB8809C9A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {28F921D3-8C02-4EE5-A150-860CB8809C9A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {28F921D3-8C02-4EE5-A150-860CB8809C9A}.Release|Any CPU.Build.0 = Release|Any CPU + {E047B589-6C0A-4F85-92DE-27BEE2441F8A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E047B589-6C0A-4F85-92DE-27BEE2441F8A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E047B589-6C0A-4F85-92DE-27BEE2441F8A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E047B589-6C0A-4F85-92DE-27BEE2441F8A}.Release|Any CPU.Build.0 = Release|Any CPU + {BD3D3F73-DA89-4712-A1AE-1BF8CE6C030C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BD3D3F73-DA89-4712-A1AE-1BF8CE6C030C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BD3D3F73-DA89-4712-A1AE-1BF8CE6C030C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BD3D3F73-DA89-4712-A1AE-1BF8CE6C030C}.Release|Any CPU.Build.0 = Release|Any CPU + {2C0257C0-EADC-4BB6-BC6B-53BEBF7AC482}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2C0257C0-EADC-4BB6-BC6B-53BEBF7AC482}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2C0257C0-EADC-4BB6-BC6B-53BEBF7AC482}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2C0257C0-EADC-4BB6-BC6B-53BEBF7AC482}.Release|Any CPU.Build.0 = Release|Any CPU + {EEE159F9-1F9E-4628-A19D-6662EC72D789}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {EEE159F9-1F9E-4628-A19D-6662EC72D789}.Debug|Any CPU.Build.0 = Debug|Any CPU + {EEE159F9-1F9E-4628-A19D-6662EC72D789}.Release|Any CPU.ActiveCfg = Release|Any CPU + {EEE159F9-1F9E-4628-A19D-6662EC72D789}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/MXA-Framework/src/Content/Pipeline.AudioImporters/Class1.cs b/MXA-Framework/src/Content/Pipeline.AudioImporters/Class1.cs new file mode 100644 index 0000000..117b3f8 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.AudioImporters/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.AudioImporters +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.AudioImporters/Insma.Mxa.Framework.Content.Pipeline.AudioImporters.csproj b/MXA-Framework/src/Content/Pipeline.AudioImporters/Insma.Mxa.Framework.Content.Pipeline.AudioImporters.csproj new file mode 100644 index 0000000..f3a8b1f --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.AudioImporters/Insma.Mxa.Framework.Content.Pipeline.AudioImporters.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {f48c9bb9-6be9-49d2-aa76-88082c405a01} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.AudioImporters + Insma.Mxa.Framework.Content.Pipeline.AudioImporters + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.AudioImporters/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.AudioImporters/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5a9b2a2 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.AudioImporters/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.AudioImporters")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.AudioImporters")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline.EffectImporter/Class1.cs b/MXA-Framework/src/Content/Pipeline.EffectImporter/Class1.cs new file mode 100644 index 0000000..89337a9 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.EffectImporter/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.EffectImporter +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.EffectImporter/Insma.Mxa.Framework.Content.Pipeline.EffectImporter.csproj b/MXA-Framework/src/Content/Pipeline.EffectImporter/Insma.Mxa.Framework.Content.Pipeline.EffectImporter.csproj new file mode 100644 index 0000000..8fd0fba --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.EffectImporter/Insma.Mxa.Framework.Content.Pipeline.EffectImporter.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {28f921d3-8c02-4ee5-a150-860cb8809c9a} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.EffectImporter + Insma.Mxa.Framework.Content.Pipeline.EffectImporter + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.EffectImporter/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.EffectImporter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..228d5de --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.EffectImporter/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.EffectImporter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.EffectImporter")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline.FBXImporter/Class1.cs b/MXA-Framework/src/Content/Pipeline.FBXImporter/Class1.cs new file mode 100644 index 0000000..49ff8bd --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.FBXImporter/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.FBXImporter +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.FBXImporter/Insma.Mxa.Framework.Content.Pipeline.FBXImporter.csproj b/MXA-Framework/src/Content/Pipeline.FBXImporter/Insma.Mxa.Framework.Content.Pipeline.FBXImporter.csproj new file mode 100644 index 0000000..d294cca --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.FBXImporter/Insma.Mxa.Framework.Content.Pipeline.FBXImporter.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {e047b589-6c0a-4f85-92de-27bee2441f8a} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.FBXImporter + Insma.Mxa.Framework.Content.Pipeline.FBXImporter + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.FBXImporter/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.FBXImporter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a7f3290 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.FBXImporter/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.FBXImporter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.FBXImporter")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline.TextureImporter/Class1.cs b/MXA-Framework/src/Content/Pipeline.TextureImporter/Class1.cs new file mode 100644 index 0000000..314a87d --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.TextureImporter/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.TextureImporter +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.TextureImporter/Insma.Mxa.Framework.Content.Pipeline.TextureImporter.csproj b/MXA-Framework/src/Content/Pipeline.TextureImporter/Insma.Mxa.Framework.Content.Pipeline.TextureImporter.csproj new file mode 100644 index 0000000..0eb1332 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.TextureImporter/Insma.Mxa.Framework.Content.Pipeline.TextureImporter.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {bd3d3f73-da89-4712-a1ae-1bf8ce6c030c} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.TextureImporter + Insma.Mxa.Framework.Content.Pipeline.TextureImporter + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.TextureImporter/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.TextureImporter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..532b609 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.TextureImporter/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.TextureImporter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.TextureImporter")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline.VideoImporters/Class1.cs b/MXA-Framework/src/Content/Pipeline.VideoImporters/Class1.cs new file mode 100644 index 0000000..ab5605b --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.VideoImporters/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.VideoImporters +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.VideoImporters/Insma.Mxa.Framework.Content.Pipeline.VideoImporters.csproj b/MXA-Framework/src/Content/Pipeline.VideoImporters/Insma.Mxa.Framework.Content.Pipeline.VideoImporters.csproj new file mode 100644 index 0000000..60d257d --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.VideoImporters/Insma.Mxa.Framework.Content.Pipeline.VideoImporters.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {2c0257c0-eadc-4bb6-bc6b-53bebf7ac482} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.VideoImporters + Insma.Mxa.Framework.Content.Pipeline.VideoImporters + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.VideoImporters/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.VideoImporters/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..e8ceb18 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.VideoImporters/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.VideoImporters")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.VideoImporters")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline.XImporter/Class1.cs b/MXA-Framework/src/Content/Pipeline.XImporter/Class1.cs new file mode 100644 index 0000000..debed12 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.XImporter/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline.XImporter +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline.XImporter/Insma.Mxa.Framework.Content.Pipeline.XImporter.csproj b/MXA-Framework/src/Content/Pipeline.XImporter/Insma.Mxa.Framework.Content.Pipeline.XImporter.csproj new file mode 100644 index 0000000..6cdd2b8 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.XImporter/Insma.Mxa.Framework.Content.Pipeline.XImporter.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {eee159f9-1f9e-4628-a19d-6662ec72d789} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline.XImporter + Insma.Mxa.Framework.Content.Pipeline.XImporter + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline.XImporter/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline.XImporter/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6810235 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline.XImporter/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline.XImporter")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline.XImporter")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Content/Pipeline/Class1.cs b/MXA-Framework/src/Content/Pipeline/Class1.cs new file mode 100644 index 0000000..6a46e33 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Content.Pipeline +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Content/Pipeline/Insma.Mxa.Framework.Content.Pipeline.csproj b/MXA-Framework/src/Content/Pipeline/Insma.Mxa.Framework.Content.Pipeline.csproj new file mode 100644 index 0000000..cbe00c4 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline/Insma.Mxa.Framework.Content.Pipeline.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {899c7129-b6dc-4cdf-afe8-4d392ccf6dc9} + Library + Properties + Insma.Mxa.Framework.Content.Pipeline + Insma.Mxa.Framework.Content.Pipeline + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Content/Pipeline/Properties/AssemblyInfo.cs b/MXA-Framework/src/Content/Pipeline/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..64d3503 --- /dev/null +++ b/MXA-Framework/src/Content/Pipeline/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Content.Pipeline")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Content.Pipeline")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Audio/Class1.cs b/MXA-Framework/src/Framework.Audio/Class1.cs new file mode 100644 index 0000000..f556f0c --- /dev/null +++ b/MXA-Framework/src/Framework.Audio/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Audio +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.Audio/Insma.Mxa.Framework.Audio.csproj b/MXA-Framework/src/Framework.Audio/Insma.Mxa.Framework.Audio.csproj new file mode 100644 index 0000000..9ddf329 --- /dev/null +++ b/MXA-Framework/src/Framework.Audio/Insma.Mxa.Framework.Audio.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {1ae9f386-0b93-4cfd-b44b-4a884f41b7f2} + Library + Properties + Insma.Mxa.Framework.Audio + Insma.Mxa.Framework.Audio + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.Audio/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Audio/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..b91f136 --- /dev/null +++ b/MXA-Framework/src/Framework.Audio/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Audio")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Audio")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Avatar/Class1.cs b/MXA-Framework/src/Framework.Avatar/Class1.cs new file mode 100644 index 0000000..521d2a9 --- /dev/null +++ b/MXA-Framework/src/Framework.Avatar/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Avatar +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.Avatar/Insma.Mxa.Framework.Avatar.csproj b/MXA-Framework/src/Framework.Avatar/Insma.Mxa.Framework.Avatar.csproj new file mode 100644 index 0000000..6ae3e94 --- /dev/null +++ b/MXA-Framework/src/Framework.Avatar/Insma.Mxa.Framework.Avatar.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {f68fb7f7-3dd5-43fd-93de-4c402df0e4b9} + Library + Properties + Insma.Mxa.Framework.Avatar + Insma.Mxa.Framework.Avatar + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.Avatar/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Avatar/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..496afd0 --- /dev/null +++ b/MXA-Framework/src/Framework.Avatar/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Avatar")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Avatar")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Game/DrawableGameComponent.cs b/MXA-Framework/src/Framework.Game/DrawableGameComponent.cs new file mode 100644 index 0000000..4593510 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/DrawableGameComponent.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Insma.Mxa.Framework.Graphics; + +namespace Insma.Mxa.Framework { + public class DrawableGameComponent : GameComponent, IDrawable { + public DrawableGameComponent(Game game) : base(game) { throw new NotImplementedException( ); } + + protected override void Dispose(bool disposing) { throw new NotImplementedException( ); } + public virtual void Draw(GameTime gameTime) { throw new NotImplementedException( ); } + public override void Initialize( ) { throw new NotImplementedException( ); } + protected virtual void LoadContent( ) { throw new NotImplementedException( ); } + protected virtual void UnloadContent( ) { throw new NotImplementedException( ); } + protected virtual void OnDrawOrderChanged(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnVisibleChanged(object sender, EventArgs args) { throw new NotImplementedException( ); } + + public int DrawOrder { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public GraphicsDevice GraphicsDevice { get { throw new NotImplementedException( ); } } + public bool Visible { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public event EventHandler DrawOrderChanged; + public event EventHandler VisibleChanged; + } +} diff --git a/MXA-Framework/src/Framework.Game/Game.cs b/MXA-Framework/src/Framework.Game/Game.cs new file mode 100644 index 0000000..f5f32eb --- /dev/null +++ b/MXA-Framework/src/Framework.Game/Game.cs @@ -0,0 +1,52 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Insma.Mxa.Framework.Content; +using Insma.Mxa.Framework.Graphics; + +namespace Insma.Mxa.Framework { + public class Game : IDisposable { + public Game( ) { throw new NotImplementedException( ); } + + public void Dispose( ) { throw new NotImplementedException( ); } + public void Exit( ) { throw new NotImplementedException( ); } + public void ResetElapsedTime( ) { throw new NotImplementedException( ); } + public void Run( ) { throw new NotImplementedException( ); } + public void RunOneFrame( ) { throw new NotImplementedException( ); } + public void SuppressDraw( ) { throw new NotImplementedException( ); } + public void Tick( ) { throw new NotImplementedException( ); } + protected virtual bool BeginDraw( ) { throw new NotImplementedException( ); } + protected virtual void BeginRun( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + protected virtual void Draw(GameTime gameTime) { throw new NotImplementedException( ); } + protected virtual void EndDraw( ) { throw new NotImplementedException( ); } + protected virtual void EndRun( ) { throw new NotImplementedException( ); } + protected virtual void Initialize( ) { throw new NotImplementedException( ); } + protected virtual void LoadContent( ) { throw new NotImplementedException( ); } + protected virtual bool ShowMissingRequirementMessage(Exception exception) { throw new NotImplementedException( ); } + protected virtual void UnloadContent( ) { throw new NotImplementedException( ); } + protected virtual void Update(GameTime gameTime) { throw new NotImplementedException( ); } + protected virtual void OnActivated(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnDeactivated(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnExiting(object sender, EventArgs args) { throw new NotImplementedException( ); } + + public GameComponentCollection Components { get { throw new NotImplementedException( ); } } + public ContentManager Content { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public GraphicsDevice GraphicsDevice { get { throw new NotImplementedException( ); } } + public TimeSpan InactiveSleepTime { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool IsActive { get { throw new NotImplementedException( ); } } + public bool IsFixedTimeStep { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool IsMouseVisible { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public LaunchParameters LaunchParameters { get { throw new NotImplementedException( ); } } + public GameServiceContainer Services { get { throw new NotImplementedException( ); } } + public TimeSpan TargetElapsedTime { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public GameWindow Window { get { throw new NotImplementedException( ); } } + + public event EventHandler Activated; + public event EventHandler Deactivated; + public event EventHandler Disposed; + public event EventHandler Exiting; + } +} diff --git a/MXA-Framework/src/Framework.Game/GameComponent.cs b/MXA-Framework/src/Framework.Game/GameComponent.cs new file mode 100644 index 0000000..ce39ace --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameComponent.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class GameComponent : IGameComponent, IUpdateable, IDisposable { + public GameComponent(Game game) { throw new NotImplementedException( ); } + + public void Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + public virtual void Initialize( ) { throw new NotImplementedException( ); } + public virtual void Update(GameTime gameTime) { throw new NotImplementedException( ); } + protected virtual void OnEnabledChanged(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnUpdateOrderChanged(object sender, EventArgs args) { throw new NotImplementedException( ); } + + public bool Enabled { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Game Game { get { throw new NotImplementedException( ); } } + public int UpdateOrder { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public event EventHandler Disposed; + public event EventHandler EnabledChanged; + public event EventHandler UpdateOrderChanged; + } +} diff --git a/MXA-Framework/src/Framework.Game/GameComponentCollection.cs b/MXA-Framework/src/Framework.Game/GameComponentCollection.cs new file mode 100644 index 0000000..98cd9d6 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameComponentCollection.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public sealed class GameComponentCollection : Collection { + public GameComponentCollection( ) { throw new NotImplementedException( ); } + + protected override void ClearItems( ) { throw new NotImplementedException( ); } + protected override void InsertItem(int index, IGameComponent item) { throw new NotImplementedException( ); } + protected override void RemoveItem(int index) { throw new NotImplementedException( ); } + protected override void SetItem(int index, IGameComponent item) { throw new NotImplementedException( ); } + + public event System.EventHandler ComponentAdded; + public event System.EventHandler ComponentRemoved; + } +} diff --git a/MXA-Framework/src/Framework.Game/GameComponentCollectionEventArgs.cs b/MXA-Framework/src/Framework.Game/GameComponentCollectionEventArgs.cs new file mode 100644 index 0000000..cd6e1b5 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameComponentCollectionEventArgs.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class GameComponentCollectionEventArgs : EventArgs { + public GameComponentCollectionEventArgs(IGameComponent gameComponent) { throw new NotImplementedException( ); } + + public IGameComponent GameComponent { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Game/GameServiceContainer.cs b/MXA-Framework/src/Framework.Game/GameServiceContainer.cs new file mode 100644 index 0000000..bd26b38 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameServiceContainer.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class GameServiceContainer : IServiceProvider { + public GameServiceContainer( ) { throw new NotImplementedException( ); } + + public void AddService(Type type, object provider) { throw new NotImplementedException( ); } + public object GetService(Type type) { throw new NotImplementedException( ); } + public void RemoveService(Type type) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework.Game/GameTime.cs b/MXA-Framework/src/Framework.Game/GameTime.cs new file mode 100644 index 0000000..46ebda8 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameTime.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class GameTime { + public GameTime( ) { throw new NotImplementedException( ); } + public GameTime(TimeSpan totalGameTime, TimeSpan elapsedGameTime) { throw new NotImplementedException( ); } + public GameTime(TimeSpan totalGameTime, TimeSpan elapsedGameTime, bool isRunningSlowly) { throw new NotImplementedException( ); } + + public TimeSpan ElapsedGameTime { get { throw new NotImplementedException( ); } internal set { throw new NotImplementedException( ); } } + public bool IsRunningSlowly { get { throw new NotImplementedException( ); } internal set { throw new NotImplementedException( ); } } + public TimeSpan TotalGameTime { get { throw new NotImplementedException( ); } internal set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Game/GameWindow.cs b/MXA-Framework/src/Framework.Game/GameWindow.cs new file mode 100644 index 0000000..37c9b62 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GameWindow.cs @@ -0,0 +1,35 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public abstract class GameWindow { + public void EndScreenDeviceChange(string screenDeviceName) { throw new NotImplementedException( ); } + public abstract void BeginScreenDeviceChange(bool willBeFullScreen); + public abstract void EndScreenDeviceChange(string screenDeviceName, int clientWidth, int clientHeight); + protected internal abstract void SetSupportedOrientations(DisplayOrientation orientations); + protected abstract void SetTitle(string title); + protected void OnActivated( ) { throw new NotImplementedException( ); } + protected void OnClientSizeChanged( ) { throw new NotImplementedException( ); } + protected void OnDeactivated( ) { throw new NotImplementedException( ); } + protected void OnOrientationChanged( ) { throw new NotImplementedException( ); } + protected void OnPaint( ) { throw new NotImplementedException( ); } + protected void OnScreenDeviceNameChanged( ) { throw new NotImplementedException( ); } + + public string Title { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public abstract bool AllowUserResizing { get; set; } + public abstract Rectangle ClientBounds { get; } + public abstract DisplayOrientation CurrentOrientation { get; } + public abstract IntPtr Handle { get; } + public abstract string ScreenDeviceName { get; } + + public event EventHandler Activated; + public event EventHandler ClientSizeChanged; + public event EventHandler Deactivated; + public event EventHandler OrientationChanged; + public event EventHandler Paint; + public event EventHandler ScreenDeviceNameChanged; + } +} diff --git a/MXA-Framework/src/Framework.Game/GamerServices/GamerServicesComponent.cs b/MXA-Framework/src/Framework.Game/GamerServices/GamerServicesComponent.cs new file mode 100644 index 0000000..a833590 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GamerServices/GamerServicesComponent.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.GamerServices { + public class GamerServicesComponent : GameComponent { + public GamerServicesComponent(Game game) : base(game) { throw new NotImplementedException( ); } + + public override void Initialize( ) { throw new NotImplementedException( ); } + public override void Update(GameTime gameTime) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework.Game/GraphicsDeviceInformation.cs b/MXA-Framework/src/Framework.Game/GraphicsDeviceInformation.cs new file mode 100644 index 0000000..24849b9 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GraphicsDeviceInformation.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Insma.Mxa.Framework.Graphics; + +namespace Insma.Mxa.Framework { + public class GraphicsDeviceInformation { + public GraphicsDeviceInformation( ) { throw new NotImplementedException( ); } + + public GraphicsDeviceInformation Clone( ) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + + public GraphicsAdapter Adapter { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public GraphicsProfile GraphicsProfile { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public PresentationParameters PresentationParameters { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Game/GraphicsDeviceManager.cs b/MXA-Framework/src/Framework.Game/GraphicsDeviceManager.cs new file mode 100644 index 0000000..427f398 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/GraphicsDeviceManager.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Insma.Mxa.Framework.Graphics; + +namespace Insma.Mxa.Framework { + public class GraphicsDeviceManager : IGraphicsDeviceService, IDisposable, IGraphicsDeviceManager { + public static readonly int DefaultBackBufferHeight; + public static readonly int DefaultBackBufferWidth; + + public GraphicsDeviceManager(Game game) { throw new NotImplementedException( ); } + + public void ApplyChanges( ) { throw new NotImplementedException( ); } + public void ToggleFullScreen( ) { throw new NotImplementedException( ); } + protected virtual bool CanResetDevice(GraphicsDeviceInformation newDeviceInfo) { throw new NotImplementedException( ); } + void IDisposable.Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + protected virtual GraphicsDeviceInformation FindBestDevice(bool anySuitableDevice) { throw new NotImplementedException( ); } + protected virtual void RankDevices(List foundDevices) { throw new NotImplementedException( ); } + protected virtual void OnDeviceCreated(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnDeviceDisposing(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnDeviceReset(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnDeviceResetting(object sender, EventArgs args) { throw new NotImplementedException( ); } + protected virtual void OnPreparingDeviceSettings(object sender, PreparingDeviceSettingsEventArgs args) { throw new NotImplementedException( ); } + + bool IGraphicsDeviceManager.BeginDraw( ) { throw new NotImplementedException( ); } + void IGraphicsDeviceManager.CreateDevice( ) { throw new NotImplementedException( ); } + void IGraphicsDeviceManager.EndDraw( ) { throw new NotImplementedException( ); } + + public GraphicsDevice GraphicsDevice { get { throw new NotImplementedException( ); } } + public GraphicsProfile GraphicsProfile { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool IsFullScreen { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool PreferMultiSampling { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public SurfaceFormat PreferredBackBufferFormat { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public int PreferredBackBufferHeight { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public int PreferredBackBufferWidth { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public DepthFormat PreferredDepthStencilFormat { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public DisplayOrientation SupportedOrientations { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool SynchronizeWithVerticalRetrace { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public event EventHandler DeviceCreated; + public event EventHandler DeviceDisposing; + public event EventHandler DeviceReset; + public event EventHandler DeviceResetting; + public event EventHandler Disposed; + public event EventHandler PreparingDeviceSettings; + } +} diff --git a/MXA-Framework/src/Framework.Game/IDrawable.cs b/MXA-Framework/src/Framework.Game/IDrawable.cs new file mode 100644 index 0000000..44ca245 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/IDrawable.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public interface IDrawable { + void Draw(GameTime gameTime); + int DrawOrder { get; } + bool Visible { get; } + event EventHandler DrawOrderChanged; + event EventHandler VisibleChanged; + } +} diff --git a/MXA-Framework/src/Framework.Game/IGameComponent.cs b/MXA-Framework/src/Framework.Game/IGameComponent.cs new file mode 100644 index 0000000..491a3ca --- /dev/null +++ b/MXA-Framework/src/Framework.Game/IGameComponent.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public interface IGameComponent { + void Initialize( ); + } +} diff --git a/MXA-Framework/src/Framework.Game/IGraphicsDeviceManager.cs b/MXA-Framework/src/Framework.Game/IGraphicsDeviceManager.cs new file mode 100644 index 0000000..adbf004 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/IGraphicsDeviceManager.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public interface IGraphicsDeviceManager { + bool BeginDraw( ); + void CreateDevice( ); + void EndDraw( ); + } +} diff --git a/MXA-Framework/src/Framework.Game/IUpdateable.cs b/MXA-Framework/src/Framework.Game/IUpdateable.cs new file mode 100644 index 0000000..1329802 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/IUpdateable.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public interface IUpdateable { + void Update(GameTime gameTime); + bool Enabled { get; } + int UpdateOrder { get; } + event EventHandler EnabledChanged; + event EventHandler UpdateOrderChanged; + } +} diff --git a/MXA-Framework/src/Framework.Game/Insma.Mxa.Framework.Game.csproj b/MXA-Framework/src/Framework.Game/Insma.Mxa.Framework.Game.csproj new file mode 100644 index 0000000..56396e9 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/Insma.Mxa.Framework.Game.csproj @@ -0,0 +1,79 @@ + + + + + 11.0 + Debug + AnyCPU + {0847443D-55EB-440D-B6FF-D5D005312D6C} + Library + Properties + Insma.Mxa.Framework + Insma.Mxa.Framework.Game + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + {ccde9ed0-7cca-4d77-bd31-1873113cb953} + Insma.Mxa.Framework.GamerServices + + + {9bdfac16-cdb6-40df-bf55-add0f305a0d7} + Insma.Mxa.Framework.Graphics + + + {ed6c838f-b040-4f7b-812a-9448d07340e5} + Insma.Mxa.Framework + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MXA-Framework/src/Framework.Game/LaunchParameters.cs b/MXA-Framework/src/Framework.Game/LaunchParameters.cs new file mode 100644 index 0000000..2ca81bc --- /dev/null +++ b/MXA-Framework/src/Framework.Game/LaunchParameters.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class LaunchParameters : Dictionary { + public LaunchParameters( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework.Game/PreparingDeviceSettingsEventArgs.cs b/MXA-Framework/src/Framework.Game/PreparingDeviceSettingsEventArgs.cs new file mode 100644 index 0000000..a16aacc --- /dev/null +++ b/MXA-Framework/src/Framework.Game/PreparingDeviceSettingsEventArgs.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class PreparingDeviceSettingsEventArgs : EventArgs { + public PreparingDeviceSettingsEventArgs(GraphicsDeviceInformation graphicsDeviceInformation) { throw new NotImplementedException( ); } + + public GraphicsDeviceInformation GraphicsDeviceInformation { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Game/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Game/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..1772090 --- /dev/null +++ b/MXA-Framework/src/Framework.Game/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Game")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Game")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.GamerServices/Class1.cs b/MXA-Framework/src/Framework.GamerServices/Class1.cs new file mode 100644 index 0000000..cb8599c --- /dev/null +++ b/MXA-Framework/src/Framework.GamerServices/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.GamerServices +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.GamerServices/Insma.Mxa.Framework.GamerServices.csproj b/MXA-Framework/src/Framework.GamerServices/Insma.Mxa.Framework.GamerServices.csproj new file mode 100644 index 0000000..5bda545 --- /dev/null +++ b/MXA-Framework/src/Framework.GamerServices/Insma.Mxa.Framework.GamerServices.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {ccde9ed0-7cca-4d77-bd31-1873113cb953} + Library + Properties + Insma.Mxa.Framework.GamerServices + Insma.Mxa.Framework.GamerServices + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.GamerServices/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.GamerServices/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..5672221 --- /dev/null +++ b/MXA-Framework/src/Framework.GamerServices/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.GamerServices")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.GamerServices")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Graphics/AlphaTestEffect.cs b/MXA-Framework/src/Framework.Graphics/AlphaTestEffect.cs new file mode 100644 index 0000000..c57ff7b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/AlphaTestEffect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class AlphaTestEffect : Effect, IEffectMatrices, IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/BasicEffect.cs b/MXA-Framework/src/Framework.Graphics/BasicEffect.cs new file mode 100644 index 0000000..6817660 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/BasicEffect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class BasicEffect : Effect, IEffectMatrices, IEffectLights, IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Blend.cs b/MXA-Framework/src/Framework.Graphics/Blend.cs new file mode 100644 index 0000000..1ec83a3 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Blend.cs @@ -0,0 +1,19 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum Blend { + One = 0, + Zero = 1, + SourceColor = 2, + InverseSourceColor = 3, + SourceAlpha = 4, + InverseSourceAlpha = 5, + DestinationColor = 6, + InverseDestinationColor = 7, + DestinationAlpha = 8, + InverseDestinationAlpha = 9, + BlendFactor = 10, + InverseBlendFactor = 11, + SourceAlphaSaturation = 12, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/BlendFunction.cs b/MXA-Framework/src/Framework.Graphics/BlendFunction.cs new file mode 100644 index 0000000..52ca1c1 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/BlendFunction.cs @@ -0,0 +1,11 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum BlendFunction { + Add = 0, + Subtract = 1, + ReverseSubtract = 2, + Min = 3, + Max = 4, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/BlendState.cs b/MXA-Framework/src/Framework.Graphics/BlendState.cs new file mode 100644 index 0000000..1cf656c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/BlendState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class BlendState : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/BufferUsage.cs b/MXA-Framework/src/Framework.Graphics/BufferUsage.cs new file mode 100644 index 0000000..c218a1b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/BufferUsage.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum BufferUsage { + None = 0, + WriteOnly = 1, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ClearOptions.cs b/MXA-Framework/src/Framework.Graphics/ClearOptions.cs new file mode 100644 index 0000000..d8bb886 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ClearOptions.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum ClearOptions { + Target = 1, + DepthBuffer = 2, + Stencil = 4, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ColorWriteChannels.cs b/MXA-Framework/src/Framework.Graphics/ColorWriteChannels.cs new file mode 100644 index 0000000..52684ea --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ColorWriteChannels.cs @@ -0,0 +1,12 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum ColorWriteChannels { + None = 0, + Red = 1, + Green = 2, + Blue = 4, + Alpha = 8, + All = 15, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/CompareFunction.cs b/MXA-Framework/src/Framework.Graphics/CompareFunction.cs new file mode 100644 index 0000000..36a529f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/CompareFunction.cs @@ -0,0 +1,14 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum CompareFunction { + Always = 0, + Never = 1, + Less = 2, + LessEqual = 3, + Equal = 4, + GreaterEqual = 5, + Greater = 6, + NotEqual = 7, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/CubeMapFace.cs b/MXA-Framework/src/Framework.Graphics/CubeMapFace.cs new file mode 100644 index 0000000..7299b82 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/CubeMapFace.cs @@ -0,0 +1,12 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum CubeMapFace { + PositiveX = 0, + NegativeX = 1, + PositiveY = 2, + NegativeY = 3, + PositiveZ = 4, + NegativeZ = 5, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/CullMode.cs b/MXA-Framework/src/Framework.Graphics/CullMode.cs new file mode 100644 index 0000000..7df1a48 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/CullMode.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum CullMode { + None = 0, + CullClockwiseFace = 1, + CullCounterClockwiseFace = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DepthFormat.cs b/MXA-Framework/src/Framework.Graphics/DepthFormat.cs new file mode 100644 index 0000000..6f6108b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DepthFormat.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum DepthFormat { + None = 0, + Depth16 = 1, + Depth24 = 2, + Depth24Stencil8 = 3, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DepthStencilState.cs b/MXA-Framework/src/Framework.Graphics/DepthStencilState.cs new file mode 100644 index 0000000..18b25fe --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DepthStencilState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DepthStencilState : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DeviceLostException.cs b/MXA-Framework/src/Framework.Graphics/DeviceLostException.cs new file mode 100644 index 0000000..1cc44c6 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DeviceLostException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class DeviceLostException : Exception { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DeviceNotResetException.cs b/MXA-Framework/src/Framework.Graphics/DeviceNotResetException.cs new file mode 100644 index 0000000..c690c33 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DeviceNotResetException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class DeviceNotResetException : Exception { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DirectionalLight.cs b/MXA-Framework/src/Framework.Graphics/DirectionalLight.cs new file mode 100644 index 0000000..07a0e6f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DirectionalLight.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class DirectionalLight { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DisplayMode.cs b/MXA-Framework/src/Framework.Graphics/DisplayMode.cs new file mode 100644 index 0000000..fbc4b41 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DisplayMode.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DisplayMode { + public override string ToString( ) { throw new NotImplementedException( ); } + + public float AspectRatio { get { throw new NotImplementedException( ); } } + public SurfaceFormat Format { get { throw new NotImplementedException( ); } } + public int Height { get { throw new NotImplementedException( ); } } + public Rectangle TitleSafeArea { get { throw new NotImplementedException( ); } } + public int Width { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DisplayModeCollection.cs b/MXA-Framework/src/Framework.Graphics/DisplayModeCollection.cs new file mode 100644 index 0000000..2aaf72f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DisplayModeCollection.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DisplayModeCollection : IEnumerable, IEnumerable { + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + public IEnumerable this[SurfaceFormat format] { get { throw new NotImplementedException( ); } } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DualTextureEffect.cs b/MXA-Framework/src/Framework.Graphics/DualTextureEffect.cs new file mode 100644 index 0000000..eabb88c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DualTextureEffect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DualTextureEffect : Effect, IEffectMatrices, IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DynamicIndexBuffer.cs b/MXA-Framework/src/Framework.Graphics/DynamicIndexBuffer.cs new file mode 100644 index 0000000..c8233da --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DynamicIndexBuffer.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DynamicIndexBuffer : IndexBuffer { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/DynamicVertexBuffer.cs b/MXA-Framework/src/Framework.Graphics/DynamicVertexBuffer.cs new file mode 100644 index 0000000..88cbdda --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/DynamicVertexBuffer.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class DynamicVertexBuffer : VertexBuffer { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Effect.cs b/MXA-Framework/src/Framework.Graphics/Effect.cs new file mode 100644 index 0000000..e96e526 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Effect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class Effect : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectAnnotation.cs b/MXA-Framework/src/Framework.Graphics/EffectAnnotation.cs new file mode 100644 index 0000000..55a99c7 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectAnnotation.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectAnnotation { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectAnnotationCollection.cs b/MXA-Framework/src/Framework.Graphics/EffectAnnotationCollection.cs new file mode 100644 index 0000000..9f63c2a --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectAnnotationCollection.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectAnnotationCollection : IEnumerable { + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public EffectAnnotation this[int index] { get { throw new NotImplementedException( ); } } + public EffectAnnotation this[string name] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectMaterial.cs b/MXA-Framework/src/Framework.Graphics/EffectMaterial.cs new file mode 100644 index 0000000..8ba704c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectMaterial.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class EffectMaterial : Effect { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectParameter.cs b/MXA-Framework/src/Framework.Graphics/EffectParameter.cs new file mode 100644 index 0000000..90f5cdb --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectParameter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectParameter { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectParameterClass.cs b/MXA-Framework/src/Framework.Graphics/EffectParameterClass.cs new file mode 100644 index 0000000..b0693f1 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectParameterClass.cs @@ -0,0 +1,11 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum EffectParameterClass { + Scalar = 0, + Vector = 1, + Matrix = 2, + Object = 3, + Struct = 4, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectParameterCollection.cs b/MXA-Framework/src/Framework.Graphics/EffectParameterCollection.cs new file mode 100644 index 0000000..932f567 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectParameterCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectParameterCollection : IEnumerable { + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public EffectParameter GetParameterBySemantic(string semantic) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public EffectParameter this[int index] { get { throw new NotImplementedException( ); } } + public EffectParameter this[string name] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectParameterType.cs b/MXA-Framework/src/Framework.Graphics/EffectParameterType.cs new file mode 100644 index 0000000..c79c237 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectParameterType.cs @@ -0,0 +1,16 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum EffectParameterType { + Void = 0, + Bool = 1, + Int32 = 2, + Single = 3, + String = 4, + Texture = 5, + Texture1D = 6, + Texture2D = 7, + Texture3D = 8, + TextureCube = 9, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectPass.cs b/MXA-Framework/src/Framework.Graphics/EffectPass.cs new file mode 100644 index 0000000..4f22ca3 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectPass.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectPass { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectPassCollection.cs b/MXA-Framework/src/Framework.Graphics/EffectPassCollection.cs new file mode 100644 index 0000000..c8916ac --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectPassCollection.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectPassCollection : IEnumerable { + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public EffectPass this[int index] { get { throw new NotImplementedException( ); } } + public EffectPass this[string name] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectTechnique.cs b/MXA-Framework/src/Framework.Graphics/EffectTechnique.cs new file mode 100644 index 0000000..96fa501 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectTechnique.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectTechnique { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EffectTechniqueCollection.cs b/MXA-Framework/src/Framework.Graphics/EffectTechniqueCollection.cs new file mode 100644 index 0000000..224d7b4 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EffectTechniqueCollection.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class EffectTechniqueCollection : IEnumerable { + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public EffectTechnique this[int index] { get { throw new NotImplementedException( ); } } + public EffectTechnique this[string name] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/EnvironmentMapEffect.cs b/MXA-Framework/src/Framework.Graphics/EnvironmentMapEffect.cs new file mode 100644 index 0000000..7890e11 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/EnvironmentMapEffect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class EnvironmentMapEffect : Effect, IEffectMatrices, IEffectLights, IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/FillMode.cs b/MXA-Framework/src/Framework.Graphics/FillMode.cs new file mode 100644 index 0000000..65d504e --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/FillMode.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum FillMode { + Solid = 0, + WireFrame = 1, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/GraphicsAdapter.cs b/MXA-Framework/src/Framework.Graphics/GraphicsAdapter.cs new file mode 100644 index 0000000..4bb7ab2 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/GraphicsAdapter.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class GraphicsAdapter { + public bool IsProfileSupported(GraphicsProfile graphicsProfile) { throw new NotImplementedException( ); } + public bool QueryBackBufferFormat(GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount) { throw new NotImplementedException( ); } + public bool QueryRenderTargetFormat(GraphicsProfile graphicsProfile, SurfaceFormat format, DepthFormat depthFormat, int multiSampleCount, out SurfaceFormat selectedFormat, out DepthFormat selectedDepthFormat, out int selectedMultiSampleCount) { throw new NotImplementedException( ); } + + public static ReadOnlyCollection Adapters { get { throw new NotImplementedException( ); } } + public DisplayMode CurrentDisplayMode { get { throw new NotImplementedException( ); } } + public static GraphicsAdapter DefaultAdapter { get { throw new NotImplementedException( ); } } + public string Description { get { throw new NotImplementedException( ); } } + public int DeviceId { get { throw new NotImplementedException( ); } } + public string DeviceName { get { throw new NotImplementedException( ); } } + public bool IsDefaultAdapter { get { throw new NotImplementedException( ); } } + public bool IsWideScreen { get { throw new NotImplementedException( ); } } + public IntPtr MonitorHandle { get { throw new NotImplementedException( ); } } + public int Revision { get { throw new NotImplementedException( ); } } + public int SubSystemId { get { throw new NotImplementedException( ); } } + public DisplayModeCollection SupportedDisplayModes { get { throw new NotImplementedException( ); } } + public static bool UseNullDevice { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public static bool UseReferenceDevice { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public int VendorId { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/GraphicsDevice.cs b/MXA-Framework/src/Framework.Graphics/GraphicsDevice.cs new file mode 100644 index 0000000..e160aaa --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/GraphicsDevice.cs @@ -0,0 +1,76 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class GraphicsDevice : IDisposable { + public GraphicsDevice(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, PresentationParameters presentationParameters) { throw new NotImplementedException( ); } + + public void Clear(Color color) { throw new NotImplementedException( ); } + public void Clear(ClearOptions options, Color color, float depth, int stencil) { throw new NotImplementedException( ); } + public void Clear(ClearOptions options, Vector4 color, float depth, int stencil) { throw new NotImplementedException( ); } + public void Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool p1) { throw new NotImplementedException( ); } + public void DrawIndexedPrimitives(PrimitiveType primitiveType, int baseVertex, int minVertexIndex, int numVertices, int startIndex, int primitiveCount) { throw new NotImplementedException( ); } + public void DrawInstancedPrimitives(PrimitiveType primitiveType, int baseVertex, int minVertexIndex, int numVertices, int startIndex, int primitiveCount, int instanceCount) { throw new NotImplementedException( ); } + public void DrawPrimitives(PrimitiveType primitiveType, int startVertex, int primitiveCount) { throw new NotImplementedException( ); } + public void DrawUserIndexedPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int numVertices, int[] indexData, int indexOffset, int primitiveCount) where T : struct, IVertexType { throw new NotImplementedException( ); } + public void DrawUserIndexedPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int numVertices, int[] indexData, int indexOffset, int primitiveCount, VertexDeclaration vertexDeclaration) where T : struct { throw new NotImplementedException( ); } + public void DrawUserIndexedPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int numVertices, short[] indexData, int indexOffset, int primitiveCount) where T : struct, IVertexType { throw new NotImplementedException( ); } + public void DrawUserIndexedPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int numVertices, short[] indexData, int indexOffset, int primitiveCount, VertexDeclaration vertexDeclaration) where T : struct { throw new NotImplementedException( ); } + public void DrawUserPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int primitiveCount) where T : struct, IVertexType { throw new NotImplementedException( ); } + public void DrawUserPrimitives(PrimitiveType primitiveType, T[] vertexData, int vertexOffset, int primitiveCount, VertexDeclaration vertexDeclaration) where T : struct { throw new NotImplementedException( ); } + public void GetBackBufferData(Rectangle? rect, T[] data, int startIndex, int elementCount) where T : struct { throw new NotImplementedException( ); } + public void GetBackBufferData(T[] data) where T : struct { throw new NotImplementedException( ); } + public void GetBackBufferData(T[] data, int startIndex, int elementCount) where T : struct { throw new NotImplementedException( ); } + public RenderTargetBinding[] GetRenderTargets( ) { throw new NotImplementedException( ); } + public VertexBufferBinding[] GetVertexBuffers( ) { throw new NotImplementedException( ); } + public void Present( ) { throw new NotImplementedException( ); } + public void Present(Rectangle? sourceRectangle, Rectangle? destinationRectangle, IntPtr overrideWindowHandle) { throw new NotImplementedException( ); } + protected void raise_DeviceLost(object sender, EventArgs eventArgs) { throw new NotImplementedException( ); } + protected void raise_DeviceReset(object sender, EventArgs eventArgs) { throw new NotImplementedException( ); } + protected void raise_DeviceResetting(object sender, EventArgs eventArgs) { throw new NotImplementedException( ); } + protected void raise_Disposing(object sender, EventArgs eventArgs) { throw new NotImplementedException( ); } + protected void raise_ResourceCreated(object sender, ResourceCreatedEventArgs resourceCreatedEventArgs) { throw new NotImplementedException( ); } + protected void raise_ResourceDestroyed(object sender, ResourceDestroyedEventArgs resourceCreatedEventArgs) { throw new NotImplementedException( ); } + public void Reset( ) { throw new NotImplementedException( ); } + public void Reset(PresentationParameters presentationParameters) { throw new NotImplementedException( ); } + public void Reset(PresentationParameters presentationParameters, GraphicsAdapter graphicsAdapter) { throw new NotImplementedException( ); } + public void SetRenderTarget(RenderTarget2D renderTarget) { throw new NotImplementedException( ); } + public void SetRenderTarget(RenderTargetCube renderTarget, CubeMapFace cubeMapFace) { throw new NotImplementedException( ); } + public void SetRenderTargets(params RenderTargetBinding[] renderTargets) { throw new NotImplementedException( ); } + public void SetVertexBuffer(VertexBuffer vertexBuffer) { throw new NotImplementedException( ); } + public void SetVertexBuffer(VertexBuffer vertexBuffer, int vertexOffset) { throw new NotImplementedException( ); } + public void SetVertexBuffers(params VertexBufferBinding[] vertexBuffers) { throw new NotImplementedException( ); } + + public GraphicsAdapter Adapter { get { throw new NotImplementedException( ); } } + public Color BlendFactor { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public BlendState BlendState { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public DepthStencilState DepthStencilState { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public DisplayMode DisplayMode { get { throw new NotImplementedException( ); } } + public GraphicsDeviceStatus GraphicsDeviceStatus { get { throw new NotImplementedException( ); } } + public GraphicsProfile GraphicsProfile { get { throw new NotImplementedException( ); } } + public IndexBuffer Indices { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public int MultiSampleMask { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public PresentationParameters PresentationParameters { get { throw new NotImplementedException( ); } } + public RasterizerState RasterizerState { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public int ReferenceStencil { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public SamplerStateCollection SamplerStates { get { throw new NotImplementedException( ); } } + public Rectangle ScissorRectangle { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public TextureCollection Textures { get { throw new NotImplementedException( ); } } + public SamplerStateCollection VertexSamplerStates { get { throw new NotImplementedException( ); } } + public TextureCollection VertexTextures { get { throw new NotImplementedException( ); } } + public Viewport Viewport { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public event EventHandler DeviceLost; + public event EventHandler DeviceReset; + public event EventHandler DeviceResetting; + public event EventHandler Disposing; + public event EventHandler DrawGuide; + public event EventHandler ResourceCreated; + public event EventHandler ResourceDestroyed; + } +} diff --git a/MXA-Framework/src/Framework.Graphics/GraphicsDeviceStatus.cs b/MXA-Framework/src/Framework.Graphics/GraphicsDeviceStatus.cs new file mode 100644 index 0000000..615724f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/GraphicsDeviceStatus.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum GraphicsDeviceStatus { + Normal = 0, + Lost = 1, + NotReset = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/GraphicsProfile.cs b/MXA-Framework/src/Framework.Graphics/GraphicsProfile.cs new file mode 100644 index 0000000..c9d495a --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/GraphicsProfile.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum GraphicsProfile { + Reach = 0, + HiDef = 1, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/GraphicsResource.cs b/MXA-Framework/src/Framework.Graphics/GraphicsResource.cs new file mode 100644 index 0000000..fa2f805 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/GraphicsResource.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public abstract class GraphicsResource : IDisposable { + public GraphicsDevice _parent; + + public void Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + protected void raise_Disposing(object sender, EventArgs eventArgs) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + + public GraphicsDevice GraphicsDevice { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public object Tag { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public event EventHandler Disposing; + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IEffectFog.cs b/MXA-Framework/src/Framework.Graphics/IEffectFog.cs new file mode 100644 index 0000000..a4512c1 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IEffectFog.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public interface IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IEffectLights.cs b/MXA-Framework/src/Framework.Graphics/IEffectLights.cs new file mode 100644 index 0000000..5258725 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IEffectLights.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public interface IEffectLights { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IEffectMatrices.cs b/MXA-Framework/src/Framework.Graphics/IEffectMatrices.cs new file mode 100644 index 0000000..ff0f2f6 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IEffectMatrices.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public interface IEffectMatrices { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IGraphicsDeviceService.cs b/MXA-Framework/src/Framework.Graphics/IGraphicsDeviceService.cs new file mode 100644 index 0000000..af4dda4 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IGraphicsDeviceService.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public interface IGraphicsDeviceService { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IVertexType.cs b/MXA-Framework/src/Framework.Graphics/IVertexType.cs new file mode 100644 index 0000000..0e150a6 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IVertexType.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public interface IVertexType { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IndexBuffer.cs b/MXA-Framework/src/Framework.Graphics/IndexBuffer.cs new file mode 100644 index 0000000..bf71c16 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IndexBuffer.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class IndexBuffer : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/IndexElementSize.cs b/MXA-Framework/src/Framework.Graphics/IndexElementSize.cs new file mode 100644 index 0000000..944b13b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/IndexElementSize.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum IndexElementSize { + SixteenBits = 0, + ThirtyTwoBits = 1, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Insma.Mxa.Framework.Graphics.csproj b/MXA-Framework/src/Framework.Graphics/Insma.Mxa.Framework.Graphics.csproj new file mode 100644 index 0000000..b73495e --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Insma.Mxa.Framework.Graphics.csproj @@ -0,0 +1,149 @@ + + + + + 11.0 + Debug + AnyCPU + {9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7} + Library + Properties + Insma.Mxa.Framework.Graphics + Insma.Mxa.Framework.Graphics + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + {ed6c838f-b040-4f7b-812a-9448d07340e5} + Insma.Mxa.Framework + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MXA-Framework/src/Framework.Graphics/Model.cs b/MXA-Framework/src/Framework.Graphics/Model.cs new file mode 100644 index 0000000..aef0e57 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Model.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class Model { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelBone.cs b/MXA-Framework/src/Framework.Graphics/ModelBone.cs new file mode 100644 index 0000000..a344780 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelBone.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelBone { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelBoneCollection.cs b/MXA-Framework/src/Framework.Graphics/ModelBoneCollection.cs new file mode 100644 index 0000000..759d6a2 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelBoneCollection.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelBoneCollection : ReadOnlyCollection { + internal ModelBoneCollection(IList list) : base(list) { throw new NotImplementedException( ); } + + public new ModelBoneCollection.Enumerator GetEnumerator( ) { throw new NotImplementedException( ); } + public bool TryGetValue(string boneName, out ModelBone value) { throw new NotImplementedException( ); } + + public ModelBone this[string boneName] { get { throw new NotImplementedException( ); } } + + public struct Enumerator : IEnumerator, IDisposable, IEnumerator { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool MoveNext( ) { throw new NotImplementedException( ); } + + public ModelBone Current { get { throw new NotImplementedException( ); } } + + void IEnumerator.Reset( ) { throw new NotImplementedException( ); } + object IEnumerator.Current { get { throw new NotImplementedException( ); } } + } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelEffectCollection.cs b/MXA-Framework/src/Framework.Graphics/ModelEffectCollection.cs new file mode 100644 index 0000000..235a6b0 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelEffectCollection.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelEffectCollection : ReadOnlyCollection { + internal ModelEffectCollection(IList list) : base(list) { throw new NotImplementedException( ); } + + public new ModelEffectCollection.Enumerator GetEnumerator( ) { throw new NotImplementedException( ); } + + public struct Enumerator : IEnumerator, IDisposable, IEnumerator { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool MoveNext( ) { throw new NotImplementedException( ); } + + public Effect Current { get { throw new NotImplementedException( ); } } + + void IEnumerator.Reset( ) { throw new NotImplementedException( ); } + object IEnumerator.Current { get { throw new NotImplementedException( ); } } + } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelMesh.cs b/MXA-Framework/src/Framework.Graphics/ModelMesh.cs new file mode 100644 index 0000000..078ad4e --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelMesh.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelMesh { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelMeshCollection.cs b/MXA-Framework/src/Framework.Graphics/ModelMeshCollection.cs new file mode 100644 index 0000000..267e58d --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelMeshCollection.cs @@ -0,0 +1,28 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelMeshCollection : ReadOnlyCollection { + internal ModelMeshCollection(IList list) : base(list) { throw new NotImplementedException( ); } + + public new ModelMeshCollection.Enumerator GetEnumerator( ) { throw new NotImplementedException( ); } + public bool TryGetValue(string meshName, out ModelMesh value) { throw new NotImplementedException( ); } + + public ModelMesh this[string meshName] { get { throw new NotImplementedException( ); } } + + public struct Enumerator : IEnumerator, IDisposable, IEnumerator { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool MoveNext( ) { throw new NotImplementedException( ); } + + public ModelMesh Current { get { throw new NotImplementedException( ); } } + + void IEnumerator.Reset( ) { throw new NotImplementedException( ); } + object IEnumerator.Current { get { throw new NotImplementedException( ); } } + } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelMeshPart.cs b/MXA-Framework/src/Framework.Graphics/ModelMeshPart.cs new file mode 100644 index 0000000..76d118b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelMeshPart.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelMeshPart { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ModelMeshPartCollection.cs b/MXA-Framework/src/Framework.Graphics/ModelMeshPartCollection.cs new file mode 100644 index 0000000..b7edf04 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ModelMeshPartCollection.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ModelMeshPartCollection : ReadOnlyCollection { + internal ModelMeshPartCollection(IList list) : base(list) { throw new NotImplementedException( ); } + + public new ModelMeshPartCollection.Enumerator GetEnumerator( ) { throw new NotImplementedException( ); } + + public struct Enumerator : IEnumerator, IDisposable, IEnumerator { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool MoveNext( ) { throw new NotImplementedException( ); } + + public ModelMeshPart Current { get { throw new NotImplementedException( ); } } + + void IEnumerator.Reset( ) { throw new NotImplementedException( ); } + object IEnumerator.Current { get { throw new NotImplementedException( ); } } + } + } +} diff --git a/MXA-Framework/src/Framework.Graphics/NoSuitableGraphicsDeviceException.cs b/MXA-Framework/src/Framework.Graphics/NoSuitableGraphicsDeviceException.cs new file mode 100644 index 0000000..8482b01 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/NoSuitableGraphicsDeviceException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class NoSuitableGraphicsDeviceException : Exception { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/OcclusionQuery.cs b/MXA-Framework/src/Framework.Graphics/OcclusionQuery.cs new file mode 100644 index 0000000..9e0e5e7 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/OcclusionQuery.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class OcclusionQuery : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/PresentInterval.cs b/MXA-Framework/src/Framework.Graphics/PresentInterval.cs new file mode 100644 index 0000000..b3703e8 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/PresentInterval.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum PresentInterval { + Default = 0, + One = 1, + Two = 2, + Immediate = 3, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/PresentationParameters.cs b/MXA-Framework/src/Framework.Graphics/PresentationParameters.cs new file mode 100644 index 0000000..d3641dd --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/PresentationParameters.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class PresentationParameters { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/PrimitiveType.cs b/MXA-Framework/src/Framework.Graphics/PrimitiveType.cs new file mode 100644 index 0000000..d03cde5 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/PrimitiveType.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum PrimitiveType { + TriangleList = 0, + TriangleStrip = 1, + LineList = 2, + LineStrip = 3, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Graphics/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..28bcf98 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Graphics")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Graphics")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Graphics/RasterizerState.cs b/MXA-Framework/src/Framework.Graphics/RasterizerState.cs new file mode 100644 index 0000000..cea9f83 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/RasterizerState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class RasterizerState : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/RenderTarget2D.cs b/MXA-Framework/src/Framework.Graphics/RenderTarget2D.cs new file mode 100644 index 0000000..10df446 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/RenderTarget2D.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class RenderTarget2D : Texture2D { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/RenderTargetBinding.cs b/MXA-Framework/src/Framework.Graphics/RenderTargetBinding.cs new file mode 100644 index 0000000..e5d71be --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/RenderTargetBinding.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct RenderTargetBinding { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/RenderTargetCube.cs b/MXA-Framework/src/Framework.Graphics/RenderTargetCube.cs new file mode 100644 index 0000000..221b157 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/RenderTargetCube.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class RenderTargetCube : TextureCube { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/RenderTargetUsage.cs b/MXA-Framework/src/Framework.Graphics/RenderTargetUsage.cs new file mode 100644 index 0000000..168b7f0 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/RenderTargetUsage.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum RenderTargetUsage { + DiscardContents = 0, + PreserveContents = 1, + PlatformContents = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ResourceCreatedEventArgs.cs b/MXA-Framework/src/Framework.Graphics/ResourceCreatedEventArgs.cs new file mode 100644 index 0000000..e15b679 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ResourceCreatedEventArgs.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ResourceCreatedEventArgs : EventArgs { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/ResourceDestroyedEventArgs.cs b/MXA-Framework/src/Framework.Graphics/ResourceDestroyedEventArgs.cs new file mode 100644 index 0000000..1b203c9 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/ResourceDestroyedEventArgs.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class ResourceDestroyedEventArgs : EventArgs { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SamplerState.cs b/MXA-Framework/src/Framework.Graphics/SamplerState.cs new file mode 100644 index 0000000..5ec2cfd --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SamplerState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class SamplerState : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SamplerStateCollection.cs b/MXA-Framework/src/Framework.Graphics/SamplerStateCollection.cs new file mode 100644 index 0000000..4df5f3c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SamplerStateCollection.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class SamplerStateCollection { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SetDataOptions.cs b/MXA-Framework/src/Framework.Graphics/SetDataOptions.cs new file mode 100644 index 0000000..e32b659 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SetDataOptions.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum SetDataOptions { + None = 0, + Discard = 1, + NoOverwrite = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SkinnedEffect.cs b/MXA-Framework/src/Framework.Graphics/SkinnedEffect.cs new file mode 100644 index 0000000..b550d66 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SkinnedEffect.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class SkinnedEffect : Effect, IEffectMatrices, IEffectLights, IEffectFog { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SpriteBatch.cs b/MXA-Framework/src/Framework.Graphics/SpriteBatch.cs new file mode 100644 index 0000000..34ec94d --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SpriteBatch.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class SpriteBatch : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SpriteEffects.cs b/MXA-Framework/src/Framework.Graphics/SpriteEffects.cs new file mode 100644 index 0000000..ae40676 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SpriteEffects.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum SpriteEffects { + None = 0, + FlipHorizontally = 1, + FlipVertically = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SpriteFont.cs b/MXA-Framework/src/Framework.Graphics/SpriteFont.cs new file mode 100644 index 0000000..8853498 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SpriteFont.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class SpriteFont { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SpriteSortMode.cs b/MXA-Framework/src/Framework.Graphics/SpriteSortMode.cs new file mode 100644 index 0000000..0039bde --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SpriteSortMode.cs @@ -0,0 +1,11 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum SpriteSortMode { + Deferred = 0, + Immediate = 1, + Texture = 2, + BackToFront = 3, + FrontToBack = 4, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/StencilOperation.cs b/MXA-Framework/src/Framework.Graphics/StencilOperation.cs new file mode 100644 index 0000000..267676f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/StencilOperation.cs @@ -0,0 +1,14 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum StencilOperation { + Keep = 0, + Zero = 1, + Replace = 2, + Increment = 3, + Decrement = 4, + IncrementSaturation = 5, + DecrementSaturation = 6, + Invert = 7, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/SurfaceFormat.cs b/MXA-Framework/src/Framework.Graphics/SurfaceFormat.cs new file mode 100644 index 0000000..e7d97ba --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/SurfaceFormat.cs @@ -0,0 +1,26 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum SurfaceFormat { + Color = 0, + Bgr565 = 1, + Bgra5551 = 2, + Bgra4444 = 3, + Dxt1 = 4, + Dxt3 = 5, + Dxt5 = 6, + NormalizedByte2 = 7, + NormalizedByte4 = 8, + Rgba1010102 = 9, + Rg32 = 10, + Rgba64 = 11, + Alpha8 = 12, + Single = 13, + Vector2 = 14, + Vector4 = 15, + HalfSingle = 16, + HalfVector2 = 17, + HalfVector4 = 18, + HdrBlendable = 19, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Texture.cs b/MXA-Framework/src/Framework.Graphics/Texture.cs new file mode 100644 index 0000000..6852c91 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Texture.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public abstract class Texture : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Texture2D.cs b/MXA-Framework/src/Framework.Graphics/Texture2D.cs new file mode 100644 index 0000000..8c48ca5 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Texture2D.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class Texture2D : Texture { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Texture3D.cs b/MXA-Framework/src/Framework.Graphics/Texture3D.cs new file mode 100644 index 0000000..1af23fd --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Texture3D.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class Texture3D : Texture { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/TextureAddressMode.cs b/MXA-Framework/src/Framework.Graphics/TextureAddressMode.cs new file mode 100644 index 0000000..877697c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/TextureAddressMode.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum TextureAddressMode { + Wrap = 0, + Clamp = 1, + Mirror = 2, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/TextureCollection.cs b/MXA-Framework/src/Framework.Graphics/TextureCollection.cs new file mode 100644 index 0000000..0a5347f --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/TextureCollection.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public sealed class TextureCollection { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/TextureCube.cs b/MXA-Framework/src/Framework.Graphics/TextureCube.cs new file mode 100644 index 0000000..5485cae --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/TextureCube.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class TextureCube : Texture { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/TextureFilter.cs b/MXA-Framework/src/Framework.Graphics/TextureFilter.cs new file mode 100644 index 0000000..8c6d8fc --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/TextureFilter.cs @@ -0,0 +1,15 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum TextureFilter { + Linear = 0, + Point = 1, + Anisotropic = 2, + LinearMipPoint = 3, + PointMipLinear = 4, + MinLinearMagPointMipLinear = 5, + MinLinearMagPointMipPoint = 6, + MinPointMagLinearMipLinear = 7, + MinPointMagLinearMipPoint = 8, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexBuffer.cs b/MXA-Framework/src/Framework.Graphics/VertexBuffer.cs new file mode 100644 index 0000000..4233180 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexBuffer.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class VertexBuffer : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexBufferBinding.cs b/MXA-Framework/src/Framework.Graphics/VertexBufferBinding.cs new file mode 100644 index 0000000..42c3f5a --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexBufferBinding.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexBufferBinding { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexDeclaration.cs b/MXA-Framework/src/Framework.Graphics/VertexDeclaration.cs new file mode 100644 index 0000000..185d6e0 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexDeclaration.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public class VertexDeclaration : GraphicsResource { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexElement.cs b/MXA-Framework/src/Framework.Graphics/VertexElement.cs new file mode 100644 index 0000000..15c942b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexElement.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexElement { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexElementFormat.cs b/MXA-Framework/src/Framework.Graphics/VertexElementFormat.cs new file mode 100644 index 0000000..163f2ff --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexElementFormat.cs @@ -0,0 +1,19 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum VertexElementFormat { + Position = 0, + Color = 1, + TextureCoordinate = 2, + Normal = 3, + Binormal = 4, + Tangent = 5, + BlendIndices = 6, + BlendWeight = 7, + Depth = 8, + Fog = 9, + PointSize = 10, + Sample = 11, + TessellateFactor = 12, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexElementUsage.cs b/MXA-Framework/src/Framework.Graphics/VertexElementUsage.cs new file mode 100644 index 0000000..665989c --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexElementUsage.cs @@ -0,0 +1,18 @@ +using System; + +namespace Insma.Mxa.Framework.Graphics { + public enum VertexElementUsage { + Single = 0, + Vector2 = 1, + Vector3 = 2, + Vector4 = 3, + Color = 4, + Byte4 = 5, + Short2 = 6, + Short4 = 7, + NormalizedShort2 = 8, + NormalizedShort4 = 9, + HalfVector2 = 10, + HalfVector4 = 11, + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexPositionColor.cs b/MXA-Framework/src/Framework.Graphics/VertexPositionColor.cs new file mode 100644 index 0000000..3bb1d15 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexPositionColor.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexPositionColor : IVertexType { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexPositionColorTexture.cs b/MXA-Framework/src/Framework.Graphics/VertexPositionColorTexture.cs new file mode 100644 index 0000000..5d41149 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexPositionColorTexture.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexPositionColorTexture : IVertexType { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexPositionNormalTexture.cs b/MXA-Framework/src/Framework.Graphics/VertexPositionNormalTexture.cs new file mode 100644 index 0000000..afe0c28 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexPositionNormalTexture.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexPositionNormalTexture : IVertexType { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/VertexPositionTexture.cs b/MXA-Framework/src/Framework.Graphics/VertexPositionTexture.cs new file mode 100644 index 0000000..09af83b --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/VertexPositionTexture.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct VertexPositionTexture : IVertexType { + } +} diff --git a/MXA-Framework/src/Framework.Graphics/Viewport.cs b/MXA-Framework/src/Framework.Graphics/Viewport.cs new file mode 100644 index 0000000..92cff87 --- /dev/null +++ b/MXA-Framework/src/Framework.Graphics/Viewport.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics { + public struct Viewport { + } +} diff --git a/MXA-Framework/src/Framework.Input.Touch/Class1.cs b/MXA-Framework/src/Framework.Input.Touch/Class1.cs new file mode 100644 index 0000000..ed30669 --- /dev/null +++ b/MXA-Framework/src/Framework.Input.Touch/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Input.Touch +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.Input.Touch/Insma.Mxa.Framework.Input.Touch.csproj b/MXA-Framework/src/Framework.Input.Touch/Insma.Mxa.Framework.Input.Touch.csproj new file mode 100644 index 0000000..d0379d2 --- /dev/null +++ b/MXA-Framework/src/Framework.Input.Touch/Insma.Mxa.Framework.Input.Touch.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {acd367e7-d3db-4e9c-93d4-e815a8955137} + Library + Properties + Insma.Mxa.Framework.Input.Touch + Insma.Mxa.Framework.Input.Touch + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.Input.Touch/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Input.Touch/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7a6e6fa --- /dev/null +++ b/MXA-Framework/src/Framework.Input.Touch/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Input.Touch")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Input.Touch")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Net/Class1.cs b/MXA-Framework/src/Framework.Net/Class1.cs new file mode 100644 index 0000000..9d8c718 --- /dev/null +++ b/MXA-Framework/src/Framework.Net/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Net +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.Net/Insma.Mxa.Framework.Net.csproj b/MXA-Framework/src/Framework.Net/Insma.Mxa.Framework.Net.csproj new file mode 100644 index 0000000..c188851 --- /dev/null +++ b/MXA-Framework/src/Framework.Net/Insma.Mxa.Framework.Net.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {753be409-7268-48f1-bb45-d568ef1e5e1b} + Library + Properties + Insma.Mxa.Framework.Net + Insma.Mxa.Framework.Net + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.Net/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Net/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..9638c43 --- /dev/null +++ b/MXA-Framework/src/Framework.Net/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Net")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Net")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Storage/Class1.cs b/MXA-Framework/src/Framework.Storage/Class1.cs new file mode 100644 index 0000000..ce7ab4f --- /dev/null +++ b/MXA-Framework/src/Framework.Storage/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace Insma.Mxa.Framework.Storage +{ + public class Class1 + { + } +} diff --git a/MXA-Framework/src/Framework.Storage/Insma.Mxa.Framework.Storage.csproj b/MXA-Framework/src/Framework.Storage/Insma.Mxa.Framework.Storage.csproj new file mode 100644 index 0000000..c4f765f --- /dev/null +++ b/MXA-Framework/src/Framework.Storage/Insma.Mxa.Framework.Storage.csproj @@ -0,0 +1,52 @@ + + + + + 11.0 + Debug + AnyCPU + {6ff88a1f-e638-4eda-9bac-e8a4a44a373b} + Library + Properties + Insma.Mxa.Framework.Storage + Insma.Mxa.Framework.Storage + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + diff --git a/MXA-Framework/src/Framework.Storage/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Storage/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a087075 --- /dev/null +++ b/MXA-Framework/src/Framework.Storage/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Storage")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Storage")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Video/Insma.Mxa.Framework.Video.csproj b/MXA-Framework/src/Framework.Video/Insma.Mxa.Framework.Video.csproj new file mode 100644 index 0000000..68d4e18 --- /dev/null +++ b/MXA-Framework/src/Framework.Video/Insma.Mxa.Framework.Video.csproj @@ -0,0 +1,61 @@ + + + + + 11.0 + Debug + AnyCPU + {92912C38-0B74-4F4A-A54A-94DC70E7CB3B} + Library + Properties + Insma.Mxa.Framework.Video + Insma.Mxa.Framework.Video + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + {9bdfac16-cdb6-40df-bf55-add0f305a0d7} + Insma.Mxa.Framework.Graphics + + + {ed6c838f-b040-4f7b-812a-9448d07340e5} + Insma.Mxa.Framework + + + + + + + + + + + \ No newline at end of file diff --git a/MXA-Framework/src/Framework.Video/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Video/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..02bb601 --- /dev/null +++ b/MXA-Framework/src/Framework.Video/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Video")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Video")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework.Video/Video.cs b/MXA-Framework/src/Framework.Video/Video.cs new file mode 100644 index 0000000..a6c9b7d --- /dev/null +++ b/MXA-Framework/src/Framework.Video/Video.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Video { + private TimeSpan _duration; + private float _framesPerSecond; + private int _height; + private VideoSoundtrackType _videoSoundtrackType; + private int _width; + + public TimeSpan Duration { get { return this._duration; } } + public float FramesPerSecond { get { return this._framesPerSecond; } } + public int Height { get { return this._height; } } + public VideoSoundtrackType VideoSoundtrackType { get { return this._videoSoundtrackType; } } + public int Width { get { return this._width; } } + } +} diff --git a/MXA-Framework/src/Framework.Video/VideoPlayer.cs b/MXA-Framework/src/Framework.Video/VideoPlayer.cs new file mode 100644 index 0000000..c339518 --- /dev/null +++ b/MXA-Framework/src/Framework.Video/VideoPlayer.cs @@ -0,0 +1,30 @@ +using System; +using Insma.Mxa.Framework.Graphics; + +namespace Insma.Mxa.Framework.Media { + public sealed class VideoPlayer : IDisposable { + private bool _isDisposed; + private TimeSpan _playPosition; + private MediaState _state; + private Video _video; + + public VideoPlayer( ) { + + } + + public void Dispose( ) { } + public Texture2D GetTexture( ) { return new Texture2D( ); } + public void Play(Video video) { } + public void Pause( ) { } + public void Resume( ) { } + public void Stop( ) { } + + public bool IsDisposed { get { return this._isDisposed; } } + public bool IsLooped { get; set; } + public bool IsMuted { get; set; } + public TimeSpan PlayPosition { get { return this._playPosition; } } + public MediaState State { get { return this._state; } } + public Video Video { get { return this._video; } } + public float Volume { get; set; } + } +} diff --git a/MXA-Framework/src/Framework.Video/VideoSoundtrackType.cs b/MXA-Framework/src/Framework.Video/VideoSoundtrackType.cs new file mode 100644 index 0000000..d3aa50d --- /dev/null +++ b/MXA-Framework/src/Framework.Video/VideoSoundtrackType.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework.Media { + [Flags] + public enum VideoSoundtrackType : byte { + Music = 1, + Dialog = 2, + MusicAndDialog = 3, + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/AudioCategory.cs b/MXA-Framework/src/Framework.Xact/Audio/AudioCategory.cs new file mode 100644 index 0000000..5c9bea1 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/AudioCategory.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public struct AudioCategory : IEquatable { + #region IEquatable Members + + public bool Equals(AudioCategory other) { + throw new NotImplementedException( ); + } + + #endregion + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/AudioEngine.cs b/MXA-Framework/src/Framework.Xact/Audio/AudioEngine.cs new file mode 100644 index 0000000..6489c31 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/AudioEngine.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public class AudioEngine : IDisposable { + #region IDisposable Members + + public void Dispose( ) { + throw new NotImplementedException( ); + } + + #endregion + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/AudioStopOptions.cs b/MXA-Framework/src/Framework.Xact/Audio/AudioStopOptions.cs new file mode 100644 index 0000000..178c431 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/AudioStopOptions.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public enum AudioStopOptions { + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/Cue.cs b/MXA-Framework/src/Framework.Xact/Audio/Cue.cs new file mode 100644 index 0000000..bef3063 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/Cue.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public sealed class Cue : IDisposable { + #region IDisposable Members + + public void Dispose( ) { + throw new NotImplementedException( ); + } + + #endregion + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/RendererDetail.cs b/MXA-Framework/src/Framework.Xact/Audio/RendererDetail.cs new file mode 100644 index 0000000..fcc5baf --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/RendererDetail.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public struct RendererDetail { + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/SoundBank.cs b/MXA-Framework/src/Framework.Xact/Audio/SoundBank.cs new file mode 100644 index 0000000..a461daa --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/SoundBank.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public class SoundBank : IDisposable { + #region IDisposable Members + + public void Dispose( ) { + throw new NotImplementedException( ); + } + + #endregion + } +} diff --git a/MXA-Framework/src/Framework.Xact/Audio/WaveBank.cs b/MXA-Framework/src/Framework.Xact/Audio/WaveBank.cs new file mode 100644 index 0000000..3782bc6 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Audio/WaveBank.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + [Obsolete("XACT is no more supported. Use Insma.Mxa.Framework.Audio.dll", true)] + public class WaveBank : IDisposable { + #region IDisposable Members + + public void Dispose( ) { + throw new NotImplementedException( ); + } + + #endregion + } +} diff --git a/MXA-Framework/src/Framework.Xact/Insma.Mxa.Framework.Xact.csproj b/MXA-Framework/src/Framework.Xact/Insma.Mxa.Framework.Xact.csproj new file mode 100644 index 0000000..4757d36 --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Insma.Mxa.Framework.Xact.csproj @@ -0,0 +1,57 @@ + + + + + 11.0 + Debug + AnyCPU + {6D767C87-21D2-40A3-BF83-BB58A62D8FC3} + Library + Properties + Insma.Mxa.Framework + Insma.Mxa.Framework.Xact + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/MXA-Framework/src/Framework.Xact/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework.Xact/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..a91093d --- /dev/null +++ b/MXA-Framework/src/Framework.Xact/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework.Xact")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework.Xact")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework/Audio/AudioChannels.cs b/MXA-Framework/src/Framework/Audio/AudioChannels.cs new file mode 100644 index 0000000..8df6e7c --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/AudioChannels.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Audio { + public enum AudioChannels { + Mono = 1, + Stereo = 2, + } +} diff --git a/MXA-Framework/src/Framework/Audio/AudioEmitter.cs b/MXA-Framework/src/Framework/Audio/AudioEmitter.cs new file mode 100644 index 0000000..923e4a5 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/AudioEmitter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public class AudioEmitter { + } +} diff --git a/MXA-Framework/src/Framework/Audio/AudioListener.cs b/MXA-Framework/src/Framework/Audio/AudioListener.cs new file mode 100644 index 0000000..8a8f666 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/AudioListener.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public class AudioListener { + } +} diff --git a/MXA-Framework/src/Framework/Audio/DynamicSoundEffectInstance.cs b/MXA-Framework/src/Framework/Audio/DynamicSoundEffectInstance.cs new file mode 100644 index 0000000..31687c2 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/DynamicSoundEffectInstance.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class DynamicSoundEffectInstance : SoundEffectInstance { + } +} diff --git a/MXA-Framework/src/Framework/Audio/InstancePlayLimitException.cs b/MXA-Framework/src/Framework/Audio/InstancePlayLimitException.cs new file mode 100644 index 0000000..06d73a3 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/InstancePlayLimitException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class InstancePlayLimitException : Exception { + } +} diff --git a/MXA-Framework/src/Framework/Audio/Microphone.cs b/MXA-Framework/src/Framework/Audio/Microphone.cs new file mode 100644 index 0000000..e1aa060 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/Microphone.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class Microphone { + } +} diff --git a/MXA-Framework/src/Framework/Audio/MicrophoneState.cs b/MXA-Framework/src/Framework/Audio/MicrophoneState.cs new file mode 100644 index 0000000..376e401 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/MicrophoneState.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Audio { + public enum MicrophoneState { + Started = 0, + Stopped = 1, + } +} diff --git a/MXA-Framework/src/Framework/Audio/NoAudioHardwareException.cs b/MXA-Framework/src/Framework/Audio/NoAudioHardwareException.cs new file mode 100644 index 0000000..63d865d --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/NoAudioHardwareException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class NoAudioHardwareException : Exception { + } +} diff --git a/MXA-Framework/src/Framework/Audio/NoMicrophoneConnectedException.cs b/MXA-Framework/src/Framework/Audio/NoMicrophoneConnectedException.cs new file mode 100644 index 0000000..4998873 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/NoMicrophoneConnectedException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class NoMicrophoneConnectedException : Exception { + } +} diff --git a/MXA-Framework/src/Framework/Audio/SoundEffect.cs b/MXA-Framework/src/Framework/Audio/SoundEffect.cs new file mode 100644 index 0000000..11914dc --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/SoundEffect.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public sealed class SoundEffect : IDisposable { + public SoundEffect(byte[] buffer, int offset, int count, int sampleRate, AudioChannels channels, int loopStart, int loopLength) { throw new NotImplementedException( ); } + public SoundEffect(byte[] buffer, int sampleRate, AudioChannels channels) { throw new NotImplementedException( ); } + + public SoundEffectInstance CreateInstance( ) { throw new NotImplementedException( ); } + public void Dispose( ) { throw new NotImplementedException( ); } + public static SoundEffect FromStream(System.IO.Stream stream) { throw new NotImplementedException( ); } + public static TimeSpan GetSampleDuration(int sizeInBytes, int sampleRate, AudioChannels channels) { throw new NotImplementedException( ); } + public static int GetSampleSizeInBytes(System.TimeSpan duration, int sampleRate, AudioChannels channels) { throw new NotImplementedException( ); } + public bool Play( ) { throw new NotImplementedException( ); } + public bool Play(float volume, float pitch, float pan) { throw new NotImplementedException( ); } + public static float DistanceScale { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public static float DopplerScale { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public System.TimeSpan Duration { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public static float MasterVolume { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public string Name { get; set; } + public static float SpeedOfSound { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Audio/SoundEffectInstance.cs b/MXA-Framework/src/Framework/Audio/SoundEffectInstance.cs new file mode 100644 index 0000000..3a5c19c --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/SoundEffectInstance.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Audio { + public class SoundEffectInstance : IDisposable { + public void Apply3D(AudioListener listener, AudioEmitter emitter) { throw new NotImplementedException( ); } + public void Apply3D(AudioListener[] listeners, AudioEmitter emitter) { throw new NotImplementedException( ); } + public void Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + public void Pause( ) { throw new NotImplementedException( ); } + public virtual void Play( ) { throw new NotImplementedException( ); } + public void Resume( ) { throw new NotImplementedException( ); } + public void Stop( ) { throw new NotImplementedException( ); } + public void Stop(bool immediate) { throw new NotImplementedException( ); } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public virtual bool IsLooped { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public float Pan { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public float Pitch { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public SoundState State { get { throw new NotImplementedException( ); } } + public float Volume { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Audio/SoundState.cs b/MXA-Framework/src/Framework/Audio/SoundState.cs new file mode 100644 index 0000000..b3fd394 --- /dev/null +++ b/MXA-Framework/src/Framework/Audio/SoundState.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Audio { + public enum SoundState { + Playing = 0, + Paused = 1, + Stopped = 2, + } +} diff --git a/MXA-Framework/src/Framework/BoundingBox.cs b/MXA-Framework/src/Framework/BoundingBox.cs new file mode 100644 index 0000000..19021f6 --- /dev/null +++ b/MXA-Framework/src/Framework/BoundingBox.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct BoundingBox : IEquatable { + public BoundingBox(Vector3 min, Vector3 max) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingBox box) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingSphere sphere) { throw new NotImplementedException( ); } + public ContainmentType Contains(Vector3 point) { throw new NotImplementedException( ); } + public void Contains(ref BoundingBox box, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref BoundingSphere sphere, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref Vector3 point, out ContainmentType result) { throw new NotImplementedException( ); } + public static BoundingBox CreateFromPoints(IEnumerable points) { throw new NotImplementedException( ); } + public static BoundingBox CreateFromSphere(BoundingSphere sphere) { throw new NotImplementedException( ); } + public static void CreateFromSphere(ref BoundingSphere sphere, out BoundingBox result) { throw new NotImplementedException( ); } + public static BoundingBox CreateMerged(BoundingBox original, BoundingBox additional) { throw new NotImplementedException( ); } + public static void CreateMerged(ref BoundingBox original, ref BoundingBox additional, out BoundingBox result) { throw new NotImplementedException( ); } + public bool Equals(BoundingBox other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public Vector3[] GetCorners( ) { throw new NotImplementedException( ); } + public void GetCorners(Vector3[] corners) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public bool Intersects(BoundingBox box) { throw new NotImplementedException( ); } + public bool Intersects(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public bool Intersects(BoundingSphere sphere) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(Plane plane) { throw new NotImplementedException( ); } + public float? Intersects(Ray ray) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingBox box, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingSphere sphere, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref Plane plane, out PlaneIntersectionType result) { throw new NotImplementedException( ); } + public void Intersects(ref Ray ray, out float? result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(BoundingBox a, BoundingBox b) { throw new NotImplementedException( ); } + public static bool operator ==(BoundingBox a, BoundingBox b) { throw new NotImplementedException( ); } + public Vector3 Max; + public Vector3 Min; + public const int CornerCount = 8; + } +} diff --git a/MXA-Framework/src/Framework/BoundingFrustum.cs b/MXA-Framework/src/Framework/BoundingFrustum.cs new file mode 100644 index 0000000..1f67523 --- /dev/null +++ b/MXA-Framework/src/Framework/BoundingFrustum.cs @@ -0,0 +1,43 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class BoundingFrustum : IEquatable { + public BoundingFrustum(Matrix value) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingBox box) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingSphere sphere) { throw new NotImplementedException( ); } + public ContainmentType Contains(Vector3 point) { throw new NotImplementedException( ); } + public void Contains(ref BoundingBox box, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref BoundingSphere sphere, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref Vector3 point, out ContainmentType result) { throw new NotImplementedException( ); } + public bool Equals(BoundingFrustum other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public Vector3[] GetCorners( ) { throw new NotImplementedException( ); } + public void GetCorners(Vector3[] corners) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public bool Intersects(BoundingBox box) { throw new NotImplementedException( ); } + public bool Intersects(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public bool Intersects(BoundingSphere sphere) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(Plane plane) { throw new NotImplementedException( ); } + public float? Intersects(Ray ray) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingBox box, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingSphere sphere, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref Plane plane, out PlaneIntersectionType result) { throw new NotImplementedException( ); } + public void Intersects(ref Ray ray, out float? result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(BoundingFrustum a, BoundingFrustum b) { throw new NotImplementedException( ); } + public static bool operator ==(BoundingFrustum a, BoundingFrustum b) { throw new NotImplementedException( ); } + public Plane Bottom { get { throw new NotImplementedException( ); } } + public Plane Far { get { throw new NotImplementedException( ); } } + public Plane Left { get { throw new NotImplementedException( ); } } + public Matrix Matrix { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Plane Near { get { throw new NotImplementedException( ); } } + public Plane Right { get { throw new NotImplementedException( ); } } + public Plane Top { get { throw new NotImplementedException( ); } } + public const int CornerCount = 8; + } +} diff --git a/MXA-Framework/src/Framework/BoundingSphere.cs b/MXA-Framework/src/Framework/BoundingSphere.cs new file mode 100644 index 0000000..d583d80 --- /dev/null +++ b/MXA-Framework/src/Framework/BoundingSphere.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct BoundingSphere : IEquatable { + public Vector3 Center; + public float Radius; + + public BoundingSphere(Vector3 center, float radius) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingBox box) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public ContainmentType Contains(BoundingSphere sphere) { throw new NotImplementedException( ); } + public ContainmentType Contains(Vector3 point) { throw new NotImplementedException( ); } + public void Contains(ref BoundingBox box, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref BoundingSphere sphere, out ContainmentType result) { throw new NotImplementedException( ); } + public void Contains(ref Vector3 point, out ContainmentType result) { throw new NotImplementedException( ); } + public static BoundingSphere CreateFromBoundingBox(BoundingBox box) { throw new NotImplementedException( ); } + public static void CreateFromBoundingBox(ref BoundingBox box, out BoundingSphere result) { throw new NotImplementedException( ); } + public static BoundingSphere CreateFromFrustum(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public static BoundingSphere CreateFromPoints(System.Collections.Generic.IEnumerable points) { throw new NotImplementedException( ); } + public static BoundingSphere CreateMerged(BoundingSphere original, BoundingSphere additional) { throw new NotImplementedException( ); } + public static void CreateMerged(ref BoundingSphere original, ref BoundingSphere additional, out BoundingSphere result) { throw new NotImplementedException( ); } + public bool Equals(BoundingSphere other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public bool Intersects(BoundingBox box) { throw new NotImplementedException( ); } + public bool Intersects(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public bool Intersects(BoundingSphere sphere) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(Plane plane) { throw new NotImplementedException( ); } + public float? Intersects(Ray ray) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingBox box, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingSphere sphere, out bool result) { throw new NotImplementedException( ); } + public void Intersects(ref Plane plane, out PlaneIntersectionType result) { throw new NotImplementedException( ); } + public void Intersects(ref Ray ray, out float? result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public BoundingSphere Transform(Matrix matrix) { throw new NotImplementedException( ); } + public void Transform(ref Matrix matrix, out BoundingSphere result) { throw new NotImplementedException( ); } + public static bool operator !=(BoundingSphere a, BoundingSphere b) { throw new NotImplementedException( ); } + public static bool operator ==(BoundingSphere a, BoundingSphere b) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Color.cs b/MXA-Framework/src/Framework/Color.cs new file mode 100644 index 0000000..d5bded7 --- /dev/null +++ b/MXA-Framework/src/Framework/Color.cs @@ -0,0 +1,183 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Insma.Mxa.Framework.Graphics.PackedVector; + +namespace Insma.Mxa.Framework { + public struct Color : IPackedVector, IPackedVector, IEquatable { + public Color(int r, int g, int b) { throw new NotImplementedException( ); } + public Color(int r, int g, int b, int a) { throw new NotImplementedException( ); } + public Color(float r, float g, float b) { throw new NotImplementedException( ); } + public Color(float r, float g, float b, float a) { throw new NotImplementedException( ); } + public Color(Vector3 vector) { throw new NotImplementedException( ); } + public Color(Vector4 vector) { throw new NotImplementedException( ); } + + public bool Equals(Color other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) {throw new NotImplementedException(); } + public override int GetHashCode( ) { throw new NotImplementedException();} + public Vector3 ToVector3( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException();} + public static bool operator !=(Color a, Color b) { throw new NotImplementedException( ); } + public static bool operator ==(Color a, Color b) {throw new NotImplementedException(); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + + public static Color FromNonPremultiplied(int r, int g, int b, int a) { throw new NotImplementedException( ); } + public static Color FromNonPremultiplied(Vector4 vector) { throw new NotImplementedException( ); } + public static Color Lerp(Color value1, Color value2, float amount) { throw new NotImplementedException( ); } + public static Color Multiply(Color value, float scale) { throw new NotImplementedException( ); } + public static Color operator *(Color value, float scale) { throw new NotImplementedException( ); } + + public byte A { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public byte B { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public byte G { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public byte R { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + public static Color AliceBlue { get { throw new NotImplementedException( ); } } + public static Color AntiqueWhite { get { throw new NotImplementedException( ); } } + public static Color Aqua { get { throw new NotImplementedException( ); } } + public static Color Aquamarine { get { throw new NotImplementedException( ); } } + public static Color Azure { get { throw new NotImplementedException( ); } } + public static Color Beige { get { throw new NotImplementedException( ); } } + public static Color Bisque { get { throw new NotImplementedException( ); } } + public static Color Black { get { throw new NotImplementedException( ); } } + public static Color BlanchedAlmond { get { throw new NotImplementedException( ); } } + public static Color Blue { get { throw new NotImplementedException( ); } } + public static Color BlueViolet { get { throw new NotImplementedException( ); } } + public static Color Brown { get { throw new NotImplementedException( ); } } + public static Color BurlyWood { get { throw new NotImplementedException( ); } } + public static Color CadetBlue { get { throw new NotImplementedException( ); } } + public static Color Chartreuse { get { throw new NotImplementedException( ); } } + public static Color Chocolate { get { throw new NotImplementedException( ); } } + public static Color Coral { get { throw new NotImplementedException( ); } } + public static Color CornflowerBlue { get { throw new NotImplementedException( ); } } + public static Color Cornsilk { get { throw new NotImplementedException( ); } } + public static Color Crimson { get { throw new NotImplementedException( ); } } + public static Color Cyan { get { throw new NotImplementedException( ); } } + public static Color DarkBlue { get { throw new NotImplementedException( ); } } + public static Color DarkCyan { get { throw new NotImplementedException( ); } } + public static Color DarkGoldenrod { get { throw new NotImplementedException( ); } } + public static Color DarkGray { get { throw new NotImplementedException( ); } } + public static Color DarkGreen { get { throw new NotImplementedException( ); } } + public static Color DarkKhaki { get { throw new NotImplementedException( ); } } + public static Color DarkMagenta { get { throw new NotImplementedException( ); } } + public static Color DarkOliveGreen { get { throw new NotImplementedException( ); } } + public static Color DarkOrange { get { throw new NotImplementedException( ); } } + public static Color DarkOrchid { get { throw new NotImplementedException( ); } } + public static Color DarkRed { get { throw new NotImplementedException( ); } } + public static Color DarkSalmon { get { throw new NotImplementedException( ); } } + public static Color DarkSeaGreen { get { throw new NotImplementedException( ); } } + public static Color DarkSlateBlue { get { throw new NotImplementedException( ); } } + public static Color DarkSlateGray { get { throw new NotImplementedException( ); } } + public static Color DarkTurquoise { get { throw new NotImplementedException( ); } } + public static Color DarkViolet { get { throw new NotImplementedException( ); } } + public static Color DeepPink { get { throw new NotImplementedException( ); } } + public static Color DeepSkyBlue { get { throw new NotImplementedException( ); } } + public static Color DimGray { get { throw new NotImplementedException( ); } } + public static Color DodgerBlue { get { throw new NotImplementedException( ); } } + public static Color Firebrick { get { throw new NotImplementedException( ); } } + public static Color FloralWhite { get { throw new NotImplementedException( ); } } + public static Color ForestGreen { get { throw new NotImplementedException( ); } } + public static Color Fuchsia { get { throw new NotImplementedException( ); } } + public static Color Gainsboro { get { throw new NotImplementedException( ); } } + public static Color GhostWhite { get { throw new NotImplementedException( ); } } + public static Color Gold { get { throw new NotImplementedException( ); } } + public static Color Goldenrod { get { throw new NotImplementedException( ); } } + public static Color Gray { get { throw new NotImplementedException( ); } } + public static Color Green { get { throw new NotImplementedException( ); } } + public static Color GreenYellow { get { throw new NotImplementedException( ); } } + public static Color Honeydew { get { throw new NotImplementedException( ); } } + public static Color HotPink { get { throw new NotImplementedException( ); } } + public static Color IndianRed { get { throw new NotImplementedException( ); } } + public static Color Indigo { get { throw new NotImplementedException( ); } } + public static Color Ivory { get { throw new NotImplementedException( ); } } + public static Color Khaki { get { throw new NotImplementedException( ); } } + public static Color Lavender { get { throw new NotImplementedException( ); } } + public static Color LavenderBlush { get { throw new NotImplementedException( ); } } + public static Color LawnGreen { get { throw new NotImplementedException( ); } } + public static Color LemonChiffon { get { throw new NotImplementedException( ); } } + public static Color LightBlue { get { throw new NotImplementedException( ); } } + public static Color LightCoral { get { throw new NotImplementedException( ); } } + public static Color LightCyan { get { throw new NotImplementedException( ); } } + public static Color LightGoldenrodYellow { get { throw new NotImplementedException( ); } } + public static Color LightGray { get { throw new NotImplementedException( ); } } + public static Color LightGreen { get { throw new NotImplementedException( ); } } + public static Color LightPink { get { throw new NotImplementedException( ); } } + public static Color LightSalmon { get { throw new NotImplementedException( ); } } + public static Color LightSeaGreen { get { throw new NotImplementedException( ); } } + public static Color LightSkyBlue { get { throw new NotImplementedException( ); } } + public static Color LightSlateGray { get { throw new NotImplementedException( ); } } + public static Color LightSteelBlue { get { throw new NotImplementedException( ); } } + public static Color LightYellow { get { throw new NotImplementedException( ); } } + public static Color Lime { get { throw new NotImplementedException( ); } } + public static Color LimeGreen { get { throw new NotImplementedException( ); } } + public static Color Linen { get { throw new NotImplementedException( ); } } + public static Color Magenta { get { throw new NotImplementedException( ); } } + public static Color Maroon { get { throw new NotImplementedException( ); } } + public static Color MediumAquamarine { get { throw new NotImplementedException( ); } } + public static Color MediumBlue { get { throw new NotImplementedException( ); } } + public static Color MediumOrchid { get { throw new NotImplementedException( ); } } + public static Color MediumPurple { get { throw new NotImplementedException( ); } } + public static Color MediumSeaGreen { get { throw new NotImplementedException( ); } } + public static Color MediumSlateBlue { get { throw new NotImplementedException( ); } } + public static Color MediumSpringGreen { get { throw new NotImplementedException( ); } } + public static Color MediumTurquoise { get { throw new NotImplementedException( ); } } + public static Color MediumVioletRed { get { throw new NotImplementedException( ); } } + public static Color MidnightBlue { get { throw new NotImplementedException( ); } } + public static Color MintCream { get { throw new NotImplementedException( ); } } + public static Color MistyRose { get { throw new NotImplementedException( ); } } + public static Color Moccasin { get { throw new NotImplementedException( ); } } + public static Color NavajoWhite { get { throw new NotImplementedException( ); } } + public static Color Navy { get { throw new NotImplementedException( ); } } + public static Color OldLace { get { throw new NotImplementedException( ); } } + public static Color Olive { get { throw new NotImplementedException( ); } } + public static Color OliveDrab { get { throw new NotImplementedException( ); } } + public static Color Orange { get { throw new NotImplementedException( ); } } + public static Color OrangeRed { get { throw new NotImplementedException( ); } } + public static Color Orchid { get { throw new NotImplementedException( ); } } + public static Color PaleGoldenrod { get { throw new NotImplementedException( ); } } + public static Color PaleGreen { get { throw new NotImplementedException( ); } } + public static Color PaleTurquoise { get { throw new NotImplementedException( ); } } + public static Color PaleVioletRed { get { throw new NotImplementedException( ); } } + public static Color PapayaWhip { get { throw new NotImplementedException( ); } } + public static Color PeachPuff { get { throw new NotImplementedException( ); } } + public static Color Peru { get { throw new NotImplementedException( ); } } + public static Color Pink { get { throw new NotImplementedException( ); } } + public static Color Plum { get { throw new NotImplementedException( ); } } + public static Color PowderBlue { get { throw new NotImplementedException( ); } } + public static Color Purple { get { throw new NotImplementedException( ); } } + public static Color Red { get { throw new NotImplementedException( ); } } + public static Color RosyBrown { get { throw new NotImplementedException( ); } } + public static Color RoyalBlue { get { throw new NotImplementedException( ); } } + public static Color SaddleBrown { get { throw new NotImplementedException( ); } } + public static Color Salmon { get { throw new NotImplementedException( ); } } + public static Color SandyBrown { get { throw new NotImplementedException( ); } } + public static Color SeaGreen { get { throw new NotImplementedException( ); } } + public static Color SeaShell { get { throw new NotImplementedException( ); } } + public static Color Sienna { get { throw new NotImplementedException( ); } } + public static Color Silver { get { throw new NotImplementedException( ); } } + public static Color SkyBlue { get { throw new NotImplementedException( ); } } + public static Color SlateBlue { get { throw new NotImplementedException( ); } } + public static Color SlateGray { get { throw new NotImplementedException( ); } } + public static Color Snow { get { throw new NotImplementedException( ); } } + public static Color SpringGreen { get { throw new NotImplementedException( ); } } + public static Color SteelBlue { get { throw new NotImplementedException( ); } } + public static Color Tan { get { throw new NotImplementedException( ); } } + public static Color Teal { get { throw new NotImplementedException( ); } } + public static Color Thistle { get { throw new NotImplementedException( ); } } + public static Color Tomato { get { throw new NotImplementedException( ); } } + public static Color Transparent { get { throw new NotImplementedException( ); } } + public static Color Turquoise { get { throw new NotImplementedException( ); } } + public static Color Violet { get { throw new NotImplementedException( ); } } + public static Color Wheat { get { throw new NotImplementedException( ); } } + public static Color White { get { throw new NotImplementedException( ); } } + public static Color WhiteSmoke { get { throw new NotImplementedException( ); } } + public static Color Yellow { get { throw new NotImplementedException( ); } } + public static Color YellowGreen { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/ContainmentType.cs b/MXA-Framework/src/Framework/ContainmentType.cs new file mode 100644 index 0000000..8178436 --- /dev/null +++ b/MXA-Framework/src/Framework/ContainmentType.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum ContainmentType { + Disjoint = 0, + Contains = 1, + Intersects = 2, + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentLoadException.cs b/MXA-Framework/src/Framework/Content/ContentLoadException.cs new file mode 100644 index 0000000..5cf43ce --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentLoadException.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public class ContentLoadException : Exception { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentManager.cs b/MXA-Framework/src/Framework/Content/ContentManager.cs new file mode 100644 index 0000000..d970264 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentManager.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public class ContentManager : IDisposable { + public ContentManager(IServiceProvider serviceProvider) { throw new NotImplementedException( ); } + public ContentManager(IServiceProvider serviceProvider, string rootDirectory) { throw new NotImplementedException( ); } + public void Dispose( ) { throw new NotImplementedException( ); } + protected virtual void Dispose(bool disposing) { throw new NotImplementedException( ); } + public virtual T Load(string assetName) { throw new NotImplementedException( ); } + protected virtual Stream OpenStream(string assetName) { throw new NotImplementedException( ); } + protected T ReadAsset(string assetName, Action recordDisposableObject) { throw new NotImplementedException( ); } + public virtual void Unload( ) { throw new NotImplementedException( ); } + + public string RootDirectory { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public IServiceProvider ServiceProvider { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentReader.cs b/MXA-Framework/src/Framework/Content/ContentReader.cs new file mode 100644 index 0000000..a520dea --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentReader.cs @@ -0,0 +1,37 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public sealed class ContentReader : BinaryReader { + internal ContentReader(Stream input) : base(input) { throw new NotImplementedException( ); } + internal ContentReader(Stream input, Encoding encoding) : base(input, encoding) { throw new NotImplementedException( ); } + internal ContentReader(Stream input, Encoding encoding, bool leaveOpen) : base(input, encoding, leaveOpen) { throw new NotImplementedException( ); } + + public override float ReadSingle( ) { throw new NotImplementedException( ); } + public override double ReadDouble( ) { throw new NotImplementedException( ); } + public Color ReadColor( ) { throw new NotImplementedException( ); } + public Matrix ReadMatrix( ) { throw new NotImplementedException( ); } + public Quaternion ReadQuaternion( ) { throw new NotImplementedException( ); } + public Vector2 ReadVector2( ) { throw new NotImplementedException( ); } + public Vector3 ReadVector3( ) { throw new NotImplementedException( ); } + public Vector4 ReadVector4( ) { throw new NotImplementedException( ); } + + public T ReadExternalReference( ) { throw new NotImplementedException( ); } + public void ReadSharedResource(Action fixup) { throw new NotImplementedException( ); } + public T ReadObject( ) { throw new NotImplementedException( ); } + public T ReadObject(ContentTypeReader typeReader) { throw new NotImplementedException( ); } + public T ReadObject(ContentTypeReader typeReader, T existingInstance) { throw new NotImplementedException( ); } + public T ReadObject(T existingInstance) { throw new NotImplementedException( ); } + public T ReadRawObject( ) { throw new NotImplementedException( ); } + public T ReadRawObject(ContentTypeReader typeReader) { throw new NotImplementedException( ); } + public T ReadRawObject(ContentTypeReader typeReader, T existingInstance) { throw new NotImplementedException( ); } + public T ReadRawObject(T existingInstance) { throw new NotImplementedException( ); } + + public string AssetName { get { throw new NotImplementedException( ); } } + public ContentManager ContentManager { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentSerializerAttribute.cs b/MXA-Framework/src/Framework/Content/ContentSerializerAttribute.cs new file mode 100644 index 0000000..a1ae6ae --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentSerializerAttribute.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)] + public sealed class ContentSerializerAttribute : Attribute { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentSerializerCollectionItemNameAttribute.cs b/MXA-Framework/src/Framework/Content/ContentSerializerCollectionItemNameAttribute.cs new file mode 100644 index 0000000..b3a96c4 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentSerializerCollectionItemNameAttribute.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + [AttributeUsage(AttributeTargets.Class)] + public sealed class ContentSerializerCollectionItemNameAttribute : Attribute { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentSerializerIgnoreAttribute.cs b/MXA-Framework/src/Framework/Content/ContentSerializerIgnoreAttribute.cs new file mode 100644 index 0000000..61f3276 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentSerializerIgnoreAttribute.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)] + public sealed class ContentSerializerIgnoreAttribute : Attribute { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentSerializerRuntimeTypeAttribute.cs b/MXA-Framework/src/Framework/Content/ContentSerializerRuntimeTypeAttribute.cs new file mode 100644 index 0000000..86dc156 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentSerializerRuntimeTypeAttribute.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] + public sealed class ContentSerializerRuntimeTypeAttribute : Attribute { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentSerializerTypeVersionAttribute.cs b/MXA-Framework/src/Framework/Content/ContentSerializerTypeVersionAttribute.cs new file mode 100644 index 0000000..3a21fdb --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentSerializerTypeVersionAttribute.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)] + public sealed class ContentSerializerTypeVersionAttribute : Attribute { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentTypeReader.cs b/MXA-Framework/src/Framework/Content/ContentTypeReader.cs new file mode 100644 index 0000000..16c5115 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentTypeReader.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public abstract class ContentTypeReader { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentTypeReaderManager.cs b/MXA-Framework/src/Framework/Content/ContentTypeReaderManager.cs new file mode 100644 index 0000000..8f6cb74 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentTypeReaderManager.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public sealed class ContentTypeReaderManager { + } +} diff --git a/MXA-Framework/src/Framework/Content/ContentTypeReaderT.cs b/MXA-Framework/src/Framework/Content/ContentTypeReaderT.cs new file mode 100644 index 0000000..a59e281 --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ContentTypeReaderT.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public abstract class ContentTypeReader : ContentTypeReader { + } +} diff --git a/MXA-Framework/src/Framework/Content/ResourceContentManager.cs b/MXA-Framework/src/Framework/Content/ResourceContentManager.cs new file mode 100644 index 0000000..d19d30b --- /dev/null +++ b/MXA-Framework/src/Framework/Content/ResourceContentManager.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Resources; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Content { + public class ResourceContentManager : ContentManager { + public ResourceContentManager(IServiceProvider serviceProvider, ResourceManager resourceManager) : base(serviceProvider) { throw new NotImplementedException( ); } + + protected override Stream OpenStream(string assetName) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Curve.cs b/MXA-Framework/src/Framework/Curve.cs new file mode 100644 index 0000000..fff9801 --- /dev/null +++ b/MXA-Framework/src/Framework/Curve.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class Curve { + public Curve( ) { throw new NotImplementedException( ); } + public Curve Clone( ) { throw new NotImplementedException( ); } + public void ComputeTangent(int keyIndex, CurveTangent tangentType) { throw new NotImplementedException( ); } + public void ComputeTangent(int keyIndex, CurveTangent tangentInType, CurveTangent tangentOutType) { throw new NotImplementedException( ); } + public void ComputeTangents(CurveTangent tangentType) { throw new NotImplementedException( ); } + public void ComputeTangents(CurveTangent tangentInType, CurveTangent tangentOutType) { throw new NotImplementedException( ); } + public float Evaluate(float position) { throw new NotImplementedException( ); } + public bool IsConstant { get { throw new NotImplementedException( ); } } + public CurveKeyCollection Keys { get { throw new NotImplementedException( ); } } + public CurveLoopType PostLoop { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public CurveLoopType PreLoop { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/CurveContinuity.cs b/MXA-Framework/src/Framework/CurveContinuity.cs new file mode 100644 index 0000000..d341841 --- /dev/null +++ b/MXA-Framework/src/Framework/CurveContinuity.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum CurveContinuity { + Smooth = 0, + Step = 1, + } +} diff --git a/MXA-Framework/src/Framework/CurveKey.cs b/MXA-Framework/src/Framework/CurveKey.cs new file mode 100644 index 0000000..e3ce089 --- /dev/null +++ b/MXA-Framework/src/Framework/CurveKey.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class CurveKey : IEquatable, IComparable { + public CurveKey(float position, float value) { throw new NotImplementedException( ); } + public CurveKey(float position, float value, float tangentIn, float tangentOut) { throw new NotImplementedException( ); } + public CurveKey(float position, float value, float tangentIn, float tangentOut, CurveContinuity continuity) { throw new NotImplementedException( ); } + public CurveKey Clone( ) { throw new NotImplementedException( ); } + public int CompareTo(CurveKey other) { throw new NotImplementedException( ); } + public bool Equals(CurveKey other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static bool operator !=(CurveKey a, CurveKey b) { throw new NotImplementedException( ); } + public static bool operator ==(CurveKey a, CurveKey b) { throw new NotImplementedException( ); } + public CurveContinuity Continuity { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public float Position { get { throw new NotImplementedException( ); } } + public float TangentIn { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public float TangentOut { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public float Value { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/CurveKeyCollection.cs b/MXA-Framework/src/Framework/CurveKeyCollection.cs new file mode 100644 index 0000000..a66c833 --- /dev/null +++ b/MXA-Framework/src/Framework/CurveKeyCollection.cs @@ -0,0 +1,25 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public class CurveKeyCollection : ICollection, IEnumerable, IEnumerable { + public CurveKeyCollection( ) { throw new NotImplementedException( ); } + public void Add(CurveKey item) { throw new NotImplementedException( ); } + public void Clear( ) { throw new NotImplementedException( ); } + public CurveKeyCollection Clone( ) { throw new NotImplementedException( ); } + public bool Contains(CurveKey item) { throw new NotImplementedException( ); } + public void CopyTo(CurveKey[] array, int arrayIndex) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int IndexOf(CurveKey item) { throw new NotImplementedException( ); } + public bool Remove(CurveKey item) { throw new NotImplementedException( ); } + public void RemoveAt(int index) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsReadOnly { get { throw new NotImplementedException( ); } } + public CurveKey this[int index] { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/CurveLoopType.cs b/MXA-Framework/src/Framework/CurveLoopType.cs new file mode 100644 index 0000000..330afd3 --- /dev/null +++ b/MXA-Framework/src/Framework/CurveLoopType.cs @@ -0,0 +1,11 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum CurveLoopType { + Constant = 0, + Cycle = 1, + CycleOffset = 2, + Oscillate = 3, + Linear = 4, + } +} diff --git a/MXA-Framework/src/Framework/CurveTangent.cs b/MXA-Framework/src/Framework/CurveTangent.cs new file mode 100644 index 0000000..9c7cb2c --- /dev/null +++ b/MXA-Framework/src/Framework/CurveTangent.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum CurveTangent { + Flat = 0, + Linear = 1, + Smooth = 2, + } +} diff --git a/MXA-Framework/src/Framework/Design/BoundingBoxConverter.cs b/MXA-Framework/src/Framework/Design/BoundingBoxConverter.cs new file mode 100644 index 0000000..d60647c --- /dev/null +++ b/MXA-Framework/src/Framework/Design/BoundingBoxConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class BoundingBoxConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/BoundingSphereConverter.cs b/MXA-Framework/src/Framework/Design/BoundingSphereConverter.cs new file mode 100644 index 0000000..135d78c --- /dev/null +++ b/MXA-Framework/src/Framework/Design/BoundingSphereConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class BoundingSphereConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/ColorConverter.cs b/MXA-Framework/src/Framework/Design/ColorConverter.cs new file mode 100644 index 0000000..e987702 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/ColorConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class ColorConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/MathTypeConverter.cs b/MXA-Framework/src/Framework/Design/MathTypeConverter.cs new file mode 100644 index 0000000..191a9e4 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/MathTypeConverter.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class MathTypeConverter { + public MathTypeConverter( ) { + throw new NotImplementedException( ); + } + } +} diff --git a/MXA-Framework/src/Framework/Design/MatrixConverter.cs b/MXA-Framework/src/Framework/Design/MatrixConverter.cs new file mode 100644 index 0000000..ee123d5 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/MatrixConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class MatrixConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/PlaneConverter.cs b/MXA-Framework/src/Framework/Design/PlaneConverter.cs new file mode 100644 index 0000000..0899428 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/PlaneConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class PlaneConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/PointConverter.cs b/MXA-Framework/src/Framework/Design/PointConverter.cs new file mode 100644 index 0000000..76d6abc --- /dev/null +++ b/MXA-Framework/src/Framework/Design/PointConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class PointConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/QuaternionConverter.cs b/MXA-Framework/src/Framework/Design/QuaternionConverter.cs new file mode 100644 index 0000000..5da30e4 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/QuaternionConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class QuaternionConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/RayConverter.cs b/MXA-Framework/src/Framework/Design/RayConverter.cs new file mode 100644 index 0000000..a5eb809 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/RayConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class RayConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/RectangleConverter.cs b/MXA-Framework/src/Framework/Design/RectangleConverter.cs new file mode 100644 index 0000000..d27d748 --- /dev/null +++ b/MXA-Framework/src/Framework/Design/RectangleConverter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class RectangleConverter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/Vector2Converter.cs b/MXA-Framework/src/Framework/Design/Vector2Converter.cs new file mode 100644 index 0000000..cd4923a --- /dev/null +++ b/MXA-Framework/src/Framework/Design/Vector2Converter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class Vector2Converter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/Vector3Converter.cs b/MXA-Framework/src/Framework/Design/Vector3Converter.cs new file mode 100644 index 0000000..83b908c --- /dev/null +++ b/MXA-Framework/src/Framework/Design/Vector3Converter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class Vector3Converter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/Design/Vector4Converter.cs b/MXA-Framework/src/Framework/Design/Vector4Converter.cs new file mode 100644 index 0000000..917c83b --- /dev/null +++ b/MXA-Framework/src/Framework/Design/Vector4Converter.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Design { + public class Vector4Converter : MathTypeConverter { + } +} diff --git a/MXA-Framework/src/Framework/DisplayOrientation.cs b/MXA-Framework/src/Framework/DisplayOrientation.cs new file mode 100644 index 0000000..ee4696c --- /dev/null +++ b/MXA-Framework/src/Framework/DisplayOrientation.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum DisplayOrientation { + Default = 0, + LandscapeLeft = 1, + LandscapeRight = 2, + Portrait = 4, + } +} diff --git a/MXA-Framework/src/Framework/FrameworkDispatcher.cs b/MXA-Framework/src/Framework/FrameworkDispatcher.cs new file mode 100644 index 0000000..bc2a3cd --- /dev/null +++ b/MXA-Framework/src/Framework/FrameworkDispatcher.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public static class FrameworkDispatcher { + public static void Update( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Alpha8.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Alpha8.cs new file mode 100644 index 0000000..b98be0d --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Alpha8.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Alpha8 : IPackedVector, IPackedVector, IEquatable { + public Alpha8(float alpha) { throw new NotImplementedException(); } + + public bool Equals(Alpha8 other) {throw new NotImplementedException(); } + public override bool Equals(object obj) {throw new NotImplementedException(); } + public override int GetHashCode( ) { throw new NotImplementedException();} + public float ToAlpha( ) { throw new NotImplementedException();} + public override string ToString( ) { throw new NotImplementedException();} + public static bool operator !=(Alpha8 a, Alpha8 b) {throw new NotImplementedException(); } + public static bool operator ==(Alpha8 a, Alpha8 b) {throw new NotImplementedException(); } + + public byte PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Bgr565.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgr565.cs new file mode 100644 index 0000000..9dbc1bc --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgr565.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Bgr565 : IPackedVector, IPackedVector, IEquatable { + public Bgr565(float x, float y, float z) { throw new NotImplementedException( ); } + public Bgr565(Vector3 vector) { throw new NotImplementedException( ); } + public bool Equals(Bgr565 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector3 ToVector3( ) { throw new NotImplementedException( ); } + public static bool operator !=(Bgr565 a, Bgr565 b) { throw new NotImplementedException( ); } + public static bool operator ==(Bgr565 a, Bgr565 b) { throw new NotImplementedException( ); } + + public ushort PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra4444.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra4444.cs new file mode 100644 index 0000000..066a454 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra4444.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Bgra4444 : IPackedVector, IPackedVector, IEquatable { + public Bgra4444(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Bgra4444(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Bgra4444 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Bgra4444 a, Bgra4444 b) { throw new NotImplementedException( ); } + public static bool operator ==(Bgra4444 a, Bgra4444 b) { throw new NotImplementedException( ); } + + public ushort PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra5551.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra5551.cs new file mode 100644 index 0000000..c504112 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Bgra5551.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Bgra5551 : IPackedVector, IPackedVector, IEquatable { + public Bgra5551(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Bgra5551(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Bgra5551 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Bgra5551 a, Bgra5551 b) { throw new NotImplementedException( ); } + public static bool operator ==(Bgra5551 a, Bgra5551 b) { throw new NotImplementedException( ); } + + public ushort PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Byte4.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Byte4.cs new file mode 100644 index 0000000..cec54ae --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Byte4.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Byte4 : IPackedVector, IPackedVector, IEquatable { + public Byte4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Byte4(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Byte4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Byte4 a, Byte4 b) { throw new NotImplementedException( ); } + public static bool operator ==(Byte4 a, Byte4 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/HalfSingle.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfSingle.cs new file mode 100644 index 0000000..d5c5f78 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfSingle.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct HalfSingle : IPackedVector, IPackedVector, IEquatable { + public HalfSingle(float value) { throw new NotImplementedException( ); } + + public bool Equals(HalfSingle other) {throw new NotImplementedException(); } + public override bool Equals(object obj) {throw new NotImplementedException(); } + public override int GetHashCode( ) { throw new NotImplementedException();} + public float ToSingle( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException();} + public static bool operator !=(HalfSingle a, HalfSingle b) {throw new NotImplementedException(); } + public static bool operator ==(HalfSingle a, HalfSingle b) {throw new NotImplementedException(); } + + public ushort PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector2.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector2.cs new file mode 100644 index 0000000..722fcfe --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector2.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct HalfVector2 : IPackedVector, IPackedVector, IEquatable { + public HalfVector2(float x, float y) { throw new NotImplementedException( ); } + public HalfVector2(Vector2 vector) { throw new NotImplementedException( ); } + public bool Equals(HalfVector2 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector2 ToVector2( ) { throw new NotImplementedException( ); } + public static bool operator !=(HalfVector2 a, HalfVector2 b) { throw new NotImplementedException( ); } + public static bool operator ==(HalfVector2 a, HalfVector2 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector4.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector4.cs new file mode 100644 index 0000000..53dcac5 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/HalfVector4.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct HalfVector4 : IPackedVector, IPackedVector, IEquatable { + public HalfVector4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public HalfVector4(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(HalfVector4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(HalfVector4 a, HalfVector4 b) { throw new NotImplementedException( ); } + public static bool operator ==(HalfVector4 a, HalfVector4 b) { throw new NotImplementedException( ); } + + public ulong PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVector.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVector.cs new file mode 100644 index 0000000..0e1b6df --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVector.cs @@ -0,0 +1,7 @@ + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public interface IPackedVector { + void PackFromVector4(Vector4 vector); + Vector4 ToVector4( ); + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVectorTPacked.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVectorTPacked.cs new file mode 100644 index 0000000..3d497e7 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/IPackedVectorTPacked.cs @@ -0,0 +1,6 @@ + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public interface IPackedVector : IPackedVector { + TPacked PackedValue { get; set; } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte2.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte2.cs new file mode 100644 index 0000000..a42ebbb --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte2.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct NormalizedByte2 : IPackedVector, IPackedVector, IEquatable { + public NormalizedByte2(float x, float y) { throw new NotImplementedException( ); } + public NormalizedByte2(Vector2 vector) { throw new NotImplementedException( ); } + public bool Equals(NormalizedByte2 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector2 ToVector2( ) { throw new NotImplementedException( ); } + public static bool operator !=(NormalizedByte2 a, NormalizedByte2 b) { throw new NotImplementedException( ); } + public static bool operator ==(NormalizedByte2 a, NormalizedByte2 b) { throw new NotImplementedException( ); } + + public ushort PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte4.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte4.cs new file mode 100644 index 0000000..e73d3f8 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedByte4.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct NormalizedByte4 : IPackedVector, IPackedVector, IEquatable { + public NormalizedByte4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public NormalizedByte4(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(NormalizedByte4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(NormalizedByte4 a, NormalizedByte4 b) { throw new NotImplementedException( ); } + public static bool operator ==(NormalizedByte4 a, NormalizedByte4 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort2.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort2.cs new file mode 100644 index 0000000..35fc16d --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort2.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct NormalizedShort2 : IPackedVector, IPackedVector, IEquatable { + public NormalizedShort2(float x, float y) { throw new NotImplementedException( ); } + public NormalizedShort2(Vector2 vector) { throw new NotImplementedException( ); } + public bool Equals(NormalizedShort2 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector2 ToVector2( ) { throw new NotImplementedException( ); } + public static bool operator !=(NormalizedShort2 a, NormalizedShort2 b) { throw new NotImplementedException( ); } + public static bool operator ==(NormalizedShort2 a, NormalizedShort2 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort4.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort4.cs new file mode 100644 index 0000000..7a487e9 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/NormalizedShort4.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct NormalizedShort4 : IPackedVector, IPackedVector, IEquatable { + public NormalizedShort4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public NormalizedShort4(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(NormalizedShort4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(NormalizedShort4 a, NormalizedShort4 b) { throw new NotImplementedException( ); } + public static bool operator ==(NormalizedShort4 a, NormalizedShort4 b) { throw new NotImplementedException( ); } + + public ulong PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Rg32.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Rg32.cs new file mode 100644 index 0000000..8ee971b --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Rg32.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Rg32 : IPackedVector, IPackedVector, IEquatable { + public Rg32(float x, float y) { throw new NotImplementedException( ); } + public Rg32(Vector2 vector) { throw new NotImplementedException( ); } + public bool Equals(Rg32 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector2 ToVector2( ) { throw new NotImplementedException( ); } + public static bool operator !=(Rg32 a, Rg32 b) { throw new NotImplementedException( ); } + public static bool operator ==(Rg32 a, Rg32 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba1010102.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba1010102.cs new file mode 100644 index 0000000..e599e57 --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba1010102.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Rgba1010102 : IPackedVector, IPackedVector, IEquatable { + public Rgba1010102(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Rgba1010102(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Rgba1010102 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Rgba1010102 a, Rgba1010102 b) { throw new NotImplementedException( ); } + public static bool operator ==(Rgba1010102 a, Rgba1010102 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba64.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba64.cs new file mode 100644 index 0000000..36f211e --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Rgba64.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Rgba64 : IPackedVector, IPackedVector, IEquatable { + public Rgba64(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Rgba64(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Rgba64 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Rgba64 a, Rgba64 b) { throw new NotImplementedException( ); } + public static bool operator ==(Rgba64 a, Rgba64 b) { throw new NotImplementedException( ); } + + public ulong PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Short2.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Short2.cs new file mode 100644 index 0000000..caa2dcf --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Short2.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Short2 : IPackedVector, IPackedVector, IEquatable { + public Short2(float x, float y) { throw new NotImplementedException( ); } + public Short2(Vector2 vector) { throw new NotImplementedException( ); } + public bool Equals(Short2 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector2 ToVector2( ) { throw new NotImplementedException( ); } + public static bool operator !=(Short2 a, Short2 b) { throw new NotImplementedException( ); } + public static bool operator ==(Short2 a, Short2 b) { throw new NotImplementedException( ); } + + public uint PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Graphics.PackedVector/Short4.cs b/MXA-Framework/src/Framework/Graphics.PackedVector/Short4.cs new file mode 100644 index 0000000..e139b6f --- /dev/null +++ b/MXA-Framework/src/Framework/Graphics.PackedVector/Short4.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Graphics.PackedVector { + public struct Short4 : IPackedVector, IPackedVector, IEquatable { + public Short4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Short4(Vector4 vector) { throw new NotImplementedException( ); } + public bool Equals(Short4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public Vector4 ToVector4( ) { throw new NotImplementedException( ); } + public static bool operator !=(Short4 a, Short4 b) { throw new NotImplementedException( ); } + public static bool operator ==(Short4 a, Short4 b) { throw new NotImplementedException( ); } + + public ulong PackedValue { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + + void IPackedVector.PackFromVector4(Vector4 vector) { throw new NotImplementedException( ); } + Vector4 IPackedVector.ToVector4( ) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Input/ButtonState.cs b/MXA-Framework/src/Framework/Input/ButtonState.cs new file mode 100644 index 0000000..7f34f31 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/ButtonState.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum ButtonState { + Released = 0, + Pressed = 1, + } +} diff --git a/MXA-Framework/src/Framework/Input/Buttons.cs b/MXA-Framework/src/Framework/Input/Buttons.cs new file mode 100644 index 0000000..4631b86 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/Buttons.cs @@ -0,0 +1,31 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum Buttons { + DPadUp = 1, + DPadDown = 2, + DPadLeft = 4, + DPadRight = 8, + Start = 16, + Back = 32, + LeftStick = 64, + RightStick = 128, + LeftShoulder = 256, + RightShoulder = 512, + BigButton = 2048, + A = 4096, + B = 8192, + X = 16384, + Y = 32768, + LeftThumbstickLeft = 2097152, + RightTrigger = 4194304, + LeftTrigger = 8388608, + RightThumbstickUp = 16777216, + RightThumbstickDown = 33554432, + RightThumbstickRight = 67108864, + RightThumbstickLeft = 134217728, + LeftThumbstickUp = 268435456, + LeftThumbstickDown = 536870912, + LeftThumbstickRight = 1073741824, + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePad.cs b/MXA-Framework/src/Framework/Input/GamePad.cs new file mode 100644 index 0000000..3cf61a8 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePad.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public static class GamePad { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadButtons.cs b/MXA-Framework/src/Framework/Input/GamePadButtons.cs new file mode 100644 index 0000000..23dc3f0 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadButtons.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadButtons { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadCapabilities.cs b/MXA-Framework/src/Framework/Input/GamePadCapabilities.cs new file mode 100644 index 0000000..de5f3d4 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadCapabilities.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadCapabilities { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadDPad.cs b/MXA-Framework/src/Framework/Input/GamePadDPad.cs new file mode 100644 index 0000000..653e92c --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadDPad.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadDPad { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadDeadZone.cs b/MXA-Framework/src/Framework/Input/GamePadDeadZone.cs new file mode 100644 index 0000000..ad3eeb9 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadDeadZone.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum GamePadDeadZone { + None = 0, + IndependentAxes = 1, + Circular = 2, + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadState.cs b/MXA-Framework/src/Framework/Input/GamePadState.cs new file mode 100644 index 0000000..7f536b2 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadState { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadThumbSticks.cs b/MXA-Framework/src/Framework/Input/GamePadThumbSticks.cs new file mode 100644 index 0000000..e86e9b3 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadThumbSticks.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadThumbSticks { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadTriggers.cs b/MXA-Framework/src/Framework/Input/GamePadTriggers.cs new file mode 100644 index 0000000..52332ee --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadTriggers.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct GamePadTriggers { + } +} diff --git a/MXA-Framework/src/Framework/Input/GamePadType.cs b/MXA-Framework/src/Framework/Input/GamePadType.cs new file mode 100644 index 0000000..930472b --- /dev/null +++ b/MXA-Framework/src/Framework/Input/GamePadType.cs @@ -0,0 +1,16 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum GamePadType { + Unknown = 0, + GamePad = 1, + Wheel = 2, + ArcadeStick = 3, + FlightStick = 4, + DancePad = 5, + Guitar = 6, + AlternateGuitar = 7, + DrumKit = 8, + BigButtonPad = 768, + } +} diff --git a/MXA-Framework/src/Framework/Input/KeyState.cs b/MXA-Framework/src/Framework/Input/KeyState.cs new file mode 100644 index 0000000..f961b10 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/KeyState.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum KeyState { + Up = 0, + Down = 1, + } +} diff --git a/MXA-Framework/src/Framework/Input/Keyboard.cs b/MXA-Framework/src/Framework/Input/Keyboard.cs new file mode 100644 index 0000000..c85bf8e --- /dev/null +++ b/MXA-Framework/src/Framework/Input/Keyboard.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public static class Keyboard { + } +} diff --git a/MXA-Framework/src/Framework/Input/KeyboardState.cs b/MXA-Framework/src/Framework/Input/KeyboardState.cs new file mode 100644 index 0000000..92beb49 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/KeyboardState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct KeyboardState { + } +} diff --git a/MXA-Framework/src/Framework/Input/Keys.cs b/MXA-Framework/src/Framework/Input/Keys.cs new file mode 100644 index 0000000..3a2f9ee --- /dev/null +++ b/MXA-Framework/src/Framework/Input/Keys.cs @@ -0,0 +1,166 @@ +using System; + +namespace Insma.Mxa.Framework.Input { + public enum Keys { + None = 0, + Back = 8, + Tab = 9, + Enter = 13, + Pause = 19, + CapsLock = 20, + Kana = 21, + Kanji = 25, + Escape = 27, + ImeConvert = 28, + ImeNoConvert = 29, + Space = 32, + PageUp = 33, + PageDown = 34, + End = 35, + Home = 36, + Left = 37, + Up = 38, + Right = 39, + Down = 40, + Select = 41, + Print = 42, + Execute = 43, + PrintScreen = 44, + Insert = 45, + Delete = 46, + Help = 47, + D0 = 48, + D1 = 49, + D2 = 50, + D3 = 51, + D4 = 52, + D5 = 53, + D6 = 54, + D7 = 55, + D8 = 56, + D9 = 57, + A = 65, + B = 66, + C = 67, + D = 68, + E = 69, + F = 70, + G = 71, + H = 72, + I = 73, + J = 74, + K = 75, + L = 76, + M = 77, + N = 78, + O = 79, + P = 80, + Q = 81, + R = 82, + S = 83, + T = 84, + U = 85, + V = 86, + W = 87, + X = 88, + Y = 89, + Z = 90, + LeftWindows = 91, + RightWindows = 92, + Apps = 93, + Sleep = 95, + NumPad0 = 96, + NumPad1 = 97, + NumPad2 = 98, + NumPad3 = 99, + NumPad4 = 100, + NumPad5 = 101, + NumPad6 = 102, + NumPad7 = 103, + NumPad8 = 104, + NumPad9 = 105, + Multiply = 106, + Add = 107, + Separator = 108, + Subtract = 109, + Decimal = 110, + Divide = 111, + F1 = 112, + F2 = 113, + F3 = 114, + F4 = 115, + F5 = 116, + F6 = 117, + F7 = 118, + F8 = 119, + F9 = 120, + F10 = 121, + F11 = 122, + F12 = 123, + F13 = 124, + F14 = 125, + F15 = 126, + F16 = 127, + F17 = 128, + F18 = 129, + F19 = 130, + F20 = 131, + F21 = 132, + F22 = 133, + F23 = 134, + F24 = 135, + NumLock = 144, + Scroll = 145, + LeftShift = 160, + RightShift = 161, + LeftControl = 162, + RightControl = 163, + LeftAlt = 164, + RightAlt = 165, + BrowserBack = 166, + BrowserForward = 167, + BrowserRefresh = 168, + BrowserStop = 169, + BrowserSearch = 170, + BrowserFavorites = 171, + BrowserHome = 172, + VolumeMute = 173, + VolumeDown = 174, + VolumeUp = 175, + MediaNextTrack = 176, + MediaPreviousTrack = 177, + MediaStop = 178, + MediaPlayPause = 179, + LaunchMail = 180, + SelectMedia = 181, + LaunchApplication1 = 182, + LaunchApplication2 = 183, + OemSemicolon = 186, + OemPlus = 187, + OemComma = 188, + OemMinus = 189, + OemPeriod = 190, + OemQuestion = 191, + OemTilde = 192, + ChatPadGreen = 202, + ChatPadOrange = 203, + OemOpenBrackets = 219, + OemPipe = 220, + OemCloseBrackets = 221, + OemQuotes = 222, + Oem8 = 223, + OemBackslash = 226, + ProcessKey = 229, + OemCopy = 242, + OemAuto = 243, + OemEnlW = 244, + Attn = 246, + Crsel = 247, + Exsel = 248, + EraseEof = 249, + Play = 250, + Zoom = 251, + Pa1 = 253, + OemClear = 254, + } +} diff --git a/MXA-Framework/src/Framework/Input/Mouse.cs b/MXA-Framework/src/Framework/Input/Mouse.cs new file mode 100644 index 0000000..7437298 --- /dev/null +++ b/MXA-Framework/src/Framework/Input/Mouse.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public static class Mouse { + } +} diff --git a/MXA-Framework/src/Framework/Input/MouseState.cs b/MXA-Framework/src/Framework/Input/MouseState.cs new file mode 100644 index 0000000..aba3b9c --- /dev/null +++ b/MXA-Framework/src/Framework/Input/MouseState.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Input { + public struct MouseState { + } +} diff --git a/MXA-Framework/src/Framework/Insma.Mxa.Framework.csproj b/MXA-Framework/src/Framework/Insma.Mxa.Framework.csproj new file mode 100644 index 0000000..a9ebfe0 --- /dev/null +++ b/MXA-Framework/src/Framework/Insma.Mxa.Framework.csproj @@ -0,0 +1,185 @@ + + + + + 11.0 + Debug + AnyCPU + {ED6C838F-B040-4F7B-812A-9448D07340E5} + Library + Properties + Insma.Mxa.Framework + Insma.Mxa.Framework + en-US + 512 + {786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Profile259 + v4.5 + a2848f01 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(SharpDXPackageBinDir)\SharpDX.dll + + + + + + + + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + + + \ No newline at end of file diff --git a/MXA-Framework/src/Framework/MathHelper.cs b/MXA-Framework/src/Framework/MathHelper.cs new file mode 100644 index 0000000..5772a7e --- /dev/null +++ b/MXA-Framework/src/Framework/MathHelper.cs @@ -0,0 +1,30 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public static class MathHelper { + public const float E = 2.71828f; + public const float Log10E = 0.434294f; + public const float Log2E = 1.4427f; + public const float Pi = 3.14159f; + public const float PiOver2 = 1.5708f; + public const float PiOver4 = 0.785398f; + public const float TwoPi = 6.28319f; + + public static float Barycentric(float value1, float value2, float value3, float amount1, float amount2) { throw new NotImplementedException( ); } + public static float CatmullRom(float value1, float value2, float value3, float value4, float amount) { throw new NotImplementedException( ); } + public static float Clamp(float value, float min, float max) { throw new NotImplementedException( ); } + public static float Distance(float value1, float value2) { throw new NotImplementedException( ); } + public static float Hermite(float value1, float tangent1, float value2, float tangent2, float amount) { throw new NotImplementedException( ); } + public static float Lerp(float value1, float value2, float amount) { throw new NotImplementedException( ); } + public static float Max(float value1, float value2) { throw new NotImplementedException( ); } + public static float Min(float value1, float value2) { throw new NotImplementedException( ); } + public static float SmoothStep(float value1, float value2, float amount) { throw new NotImplementedException( ); } + public static float ToDegrees(float radians) { throw new NotImplementedException( ); } + public static float ToRadians(float degrees) { throw new NotImplementedException( ); } + public static float WrapAngle(float angle) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Matrix.cs b/MXA-Framework/src/Framework/Matrix.cs new file mode 100644 index 0000000..a885766 --- /dev/null +++ b/MXA-Framework/src/Framework/Matrix.cs @@ -0,0 +1,121 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Matrix : IEquatable { + public float M11; + public float M12; + public float M13; + public float M14; + public float M21; + public float M22; + public float M23; + public float M24; + public float M31; + public float M32; + public float M33; + public float M34; + public float M41; + public float M42; + public float M43; + public float M44; + + public Matrix(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44) { throw new NotImplementedException( ); } + + public static Matrix Add(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static void Add(ref Matrix matrix1, ref Matrix matrix2, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3? cameraForwardVector) { throw new NotImplementedException( ); } + public static void CreateBillboard(ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 cameraUpVector, Vector3? cameraForwardVector, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3? cameraForwardVector, Vector3? objectForwardVector) { throw new NotImplementedException( ); } + public static void CreateConstrainedBillboard(ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 rotateAxis, Vector3? cameraForwardVector, Vector3? objectForwardVector, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateFromAxisAngle(Vector3 axis, float angle) { throw new NotImplementedException( ); } + public static void CreateFromAxisAngle(ref Vector3 axis, float angle, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateFromQuaternion(Quaternion quaternion) { throw new NotImplementedException( ); } + public static void CreateFromQuaternion(ref Quaternion quaternion, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateFromYawPitchRoll(float yaw, float pitch, float roll) { throw new NotImplementedException( ); } + public static void CreateFromYawPitchRoll(float yaw, float pitch, float roll, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector) { throw new NotImplementedException( ); } + public static void CreateLookAt(ref Vector3 cameraPosition, ref Vector3 cameraTarget, ref Vector3 cameraUpVector, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane) { throw new NotImplementedException( ); } + public static void CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane) { throw new NotImplementedException( ); } + public static void CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance) { throw new NotImplementedException( ); } + public static void CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance) { throw new NotImplementedException( ); } + public static void CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance) { throw new NotImplementedException( ); } + public static void CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateReflection(Plane value) { throw new NotImplementedException( ); } + public static void CreateReflection(ref Plane value, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateRotationX(float radians) { throw new NotImplementedException( ); } + public static void CreateRotationX(float radians, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateRotationY(float radians) { throw new NotImplementedException( ); } + public static void CreateRotationY(float radians, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateRotationZ(float radians) { throw new NotImplementedException( ); } + public static void CreateRotationZ(float radians, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateScale(float scale) { throw new NotImplementedException( ); } + public static void CreateScale(float scale, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateScale(float xScale, float yScale, float zScale) { throw new NotImplementedException( ); } + public static void CreateScale(float xScale, float yScale, float zScale, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateScale(Vector3 scales) { throw new NotImplementedException( ); } + public static void CreateScale(ref Vector3 scales, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateShadow(Vector3 lightDirection, Plane plane) { throw new NotImplementedException( ); } + public static void CreateShadow(ref Vector3 lightDirection, ref Plane plane, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateTranslation(float xPosition, float yPosition, float zPosition) { throw new NotImplementedException( ); } + public static void CreateTranslation(float xPosition, float yPosition, float zPosition, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateTranslation(Vector3 position) { throw new NotImplementedException( ); } + public static void CreateTranslation(ref Vector3 position, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix CreateWorld(Vector3 position, Vector3 forward, Vector3 up) { throw new NotImplementedException( ); } + public static void CreateWorld(ref Vector3 position, ref Vector3 forward, ref Vector3 up, out Matrix result) { throw new NotImplementedException( ); } + public bool Decompose(out Vector3 scale, out Quaternion rotation, out Vector3 translation) { throw new NotImplementedException( ); } + public float Determinant( ) { throw new NotImplementedException( ); } + public static Matrix Divide(Matrix matrix1, float divider) { throw new NotImplementedException( ); } + public static Matrix Divide(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static void Divide(ref Matrix matrix1, float divider, out Matrix result) { throw new NotImplementedException( ); } + public static void Divide(ref Matrix matrix1, ref Matrix matrix2, out Matrix result) { throw new NotImplementedException( ); } + public bool Equals(Matrix other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static Matrix Invert(Matrix matrix) { throw new NotImplementedException( ); } + public static void Invert(ref Matrix matrix, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix Lerp(Matrix matrix1, Matrix matrix2, float amount) { throw new NotImplementedException( ); } + public static void Lerp(ref Matrix matrix1, ref Matrix matrix2, float amount, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix Multiply(Matrix matrix1, float scaleFactor) { throw new NotImplementedException( ); } + public static Matrix Multiply(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static void Multiply(ref Matrix matrix1, float scaleFactor, out Matrix result) { throw new NotImplementedException( ); } + public static void Multiply(ref Matrix matrix1, ref Matrix matrix2, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix Negate(Matrix matrix) { throw new NotImplementedException( ); } + public static void Negate(ref Matrix matrix, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix Subtract(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static void Subtract(ref Matrix matrix1, ref Matrix matrix2, out Matrix result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Matrix Transform(Matrix value, Quaternion rotation) { throw new NotImplementedException( ); } + public static void Transform(ref Matrix value, ref Quaternion rotation, out Matrix result) { throw new NotImplementedException( ); } + public static Matrix Transpose(Matrix matrix) { throw new NotImplementedException( ); } + public static void Transpose(ref Matrix matrix, out Matrix result) { throw new NotImplementedException( ); } + + public static bool operator !=(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static bool operator ==(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static Matrix operator +(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static Matrix operator -(Matrix matrix1) { throw new NotImplementedException( ); } + public static Matrix operator -(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static Matrix operator *(float scaleFactor, Matrix matrix) { throw new NotImplementedException( ); } + public static Matrix operator *(Matrix matrix, float scaleFactor) { throw new NotImplementedException( ); } + public static Matrix operator *(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + public static Matrix operator /(Matrix matrix1, float divider) { throw new NotImplementedException( ); } + public static Matrix operator /(Matrix matrix1, Matrix matrix2) { throw new NotImplementedException( ); } + + public Vector3 Backward { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Down { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Forward { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public static Matrix Identity { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Left { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Right { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Translation { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public Vector3 Up { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/Album.cs b/MXA-Framework/src/Framework/Media/Album.cs new file mode 100644 index 0000000..7010f81 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Album.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Album : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Album other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public Stream GetAlbumArt( ) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public Stream GetThumbnail( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Album first, Album second) { throw new NotImplementedException( ); } + public static bool operator ==(Album first, Album second) { throw new NotImplementedException( ); } + public Artist Artist { get { throw new NotImplementedException( ); } } + public TimeSpan Duration { get { throw new NotImplementedException( ); } } + public Genre Genre { get { throw new NotImplementedException( ); } } + public bool HasArt { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public SongCollection Songs { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/AlbumCollection.cs b/MXA-Framework/src/Framework/Media/AlbumCollection.cs new file mode 100644 index 0000000..3a50a39 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/AlbumCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class AlbumCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Album this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/Artist.cs b/MXA-Framework/src/Framework/Media/Artist.cs new file mode 100644 index 0000000..fc79552 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Artist.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Artist : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Artist other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Artist first, Artist second) { throw new NotImplementedException( ); } + public static bool operator ==(Artist first, Artist second) { throw new NotImplementedException( ); } + public AlbumCollection Albums { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public SongCollection Songs { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/ArtistCollection.cs b/MXA-Framework/src/Framework/Media/ArtistCollection.cs new file mode 100644 index 0000000..b0fb863 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/ArtistCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class ArtistCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Artist this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/Genre.cs b/MXA-Framework/src/Framework/Media/Genre.cs new file mode 100644 index 0000000..7a7bdfe --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Genre.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Genre : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Genre other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Genre first, Genre second) { throw new NotImplementedException( ); } + public static bool operator ==(Genre first, Genre second) { throw new NotImplementedException( ); } + public AlbumCollection Albums { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public SongCollection Songs { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/GenreCollection.cs b/MXA-Framework/src/Framework/Media/GenreCollection.cs new file mode 100644 index 0000000..dd168f9 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/GenreCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class GenreCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Genre this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaLibrary.cs b/MXA-Framework/src/Framework/Media/MediaLibrary.cs new file mode 100644 index 0000000..3f27f76 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaLibrary.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class MediaLibrary : IDisposable { + public MediaLibrary( ) { throw new NotImplementedException( ); } + public MediaLibrary(MediaSource mediaSource) { throw new NotImplementedException( ); } + + public void Dispose( ) { throw new NotImplementedException( ); } + public Picture GetPictureFromToken(string token) { throw new NotImplementedException( ); } + public Picture SavePicture(string name, byte[] imageBuffer) { throw new NotImplementedException( ); } + public Picture SavePicture(string name, System.IO.Stream source) { throw new NotImplementedException( ); } + public AlbumCollection Albums { get { throw new NotImplementedException( ); } } + public ArtistCollection Artists { get { throw new NotImplementedException( ); } } + public GenreCollection Genres { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public MediaSource MediaSource { get { throw new NotImplementedException( ); } } + public PictureCollection Pictures { get { throw new NotImplementedException( ); } } + public PlaylistCollection Playlists { get { throw new NotImplementedException( ); } } + public PictureAlbum RootPictureAlbum { get { throw new NotImplementedException( ); } } + public PictureCollection SavedPictures { get { throw new NotImplementedException( ); } } + public SongCollection Songs { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaPlayer.cs b/MXA-Framework/src/Framework/Media/MediaPlayer.cs new file mode 100644 index 0000000..a1fac09 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaPlayer.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public static class MediaPlayer { + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaQueue.cs b/MXA-Framework/src/Framework/Media/MediaQueue.cs new file mode 100644 index 0000000..97a4bc1 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaQueue.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class MediaQueue { + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaSource.cs b/MXA-Framework/src/Framework/Media/MediaSource.cs new file mode 100644 index 0000000..cae1d7a --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaSource.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class MediaSource { + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaSourceType.cs b/MXA-Framework/src/Framework/Media/MediaSourceType.cs new file mode 100644 index 0000000..0334c9d --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaSourceType.cs @@ -0,0 +1,8 @@ +using System; + +namespace Insma.Mxa.Framework.Media { + public enum MediaSourceType { + LocalDevice = 0, + WindowsMediaConnect = 4, + } +} diff --git a/MXA-Framework/src/Framework/Media/MediaState.cs b/MXA-Framework/src/Framework/Media/MediaState.cs new file mode 100644 index 0000000..10276dc --- /dev/null +++ b/MXA-Framework/src/Framework/Media/MediaState.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework.Media { + public enum MediaState { + Stopped = 0, + Playing = 1, + Paused = 2, + } +} diff --git a/MXA-Framework/src/Framework/Media/Picture.cs b/MXA-Framework/src/Framework/Media/Picture.cs new file mode 100644 index 0000000..11839d0 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Picture.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Picture : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Picture other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public Stream GetImage( ) { throw new NotImplementedException( ); } + public Stream GetThumbnail( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Picture first, Picture second) { throw new NotImplementedException( ); } + public static bool operator ==(Picture first, Picture second) { throw new NotImplementedException( ); } + public PictureAlbum Album { get { throw new NotImplementedException( ); } } + public DateTime Date { get { throw new NotImplementedException( ); } } + public int Height { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public int Width { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/PictureAlbum.cs b/MXA-Framework/src/Framework/Media/PictureAlbum.cs new file mode 100644 index 0000000..7c36e54 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/PictureAlbum.cs @@ -0,0 +1,23 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class PictureAlbum : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(PictureAlbum other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(PictureAlbum first, PictureAlbum second) { throw new NotImplementedException( ); } + public static bool operator ==(PictureAlbum first, PictureAlbum second) { throw new NotImplementedException( ); } + public PictureAlbumCollection Albums { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public PictureAlbum Parent { get { throw new NotImplementedException( ); } } + public PictureCollection Pictures { get { throw new NotImplementedException( ); } } + + } +} diff --git a/MXA-Framework/src/Framework/Media/PictureAlbumCollection.cs b/MXA-Framework/src/Framework/Media/PictureAlbumCollection.cs new file mode 100644 index 0000000..ca8dce3 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/PictureAlbumCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class PictureAlbumCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public PictureAlbum this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/PictureCollection.cs b/MXA-Framework/src/Framework/Media/PictureCollection.cs new file mode 100644 index 0000000..c8e2208 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/PictureCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class PictureCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Picture this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/Playlist.cs b/MXA-Framework/src/Framework/Media/Playlist.cs new file mode 100644 index 0000000..9df0b9a --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Playlist.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Playlist : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Playlist other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Playlist first, Playlist second) { throw new NotImplementedException( ); } + public static bool operator ==(Playlist first, Playlist second) { throw new NotImplementedException( ); } + public System.TimeSpan Duration { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public SongCollection Songs { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/PlaylistCollection.cs b/MXA-Framework/src/Framework/Media/PlaylistCollection.cs new file mode 100644 index 0000000..cf08b97 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/PlaylistCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class PlaylistCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Playlist this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/Song.cs b/MXA-Framework/src/Framework/Media/Song.cs new file mode 100644 index 0000000..43efcc7 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/Song.cs @@ -0,0 +1,29 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class Song : IEquatable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public bool Equals(Song other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public static Song FromUri(string name, System.Uri uri) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Song first, Song second) { throw new NotImplementedException( ); } + public static bool operator ==(Song first, Song second) { throw new NotImplementedException( ); } + public Album Album { get { throw new NotImplementedException( ); } } + public Artist Artist { get { throw new NotImplementedException( ); } } + public System.TimeSpan Duration { get { throw new NotImplementedException( ); } } + public Genre Genre { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public bool IsProtected { get { throw new NotImplementedException( ); } } + public bool IsRated { get { throw new NotImplementedException( ); } } + public string Name { get { throw new NotImplementedException( ); } } + public int PlayCount { get { throw new NotImplementedException( ); } } + public int Rating { get { throw new NotImplementedException( ); } } + public int TrackNumber { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/SongCollection.cs b/MXA-Framework/src/Framework/Media/SongCollection.cs new file mode 100644 index 0000000..197a943 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/SongCollection.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public sealed class SongCollection : IEnumerable, IEnumerable, IDisposable { + public void Dispose( ) { throw new NotImplementedException( ); } + public IEnumerator GetEnumerator( ) { throw new NotImplementedException( ); } + IEnumerator IEnumerable.GetEnumerator( ) { throw new NotImplementedException( ); } + public int Count { get { throw new NotImplementedException( ); } } + public bool IsDisposed { get { throw new NotImplementedException( ); } } + public Song this[int index] { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Media/VisualizationData.cs b/MXA-Framework/src/Framework/Media/VisualizationData.cs new file mode 100644 index 0000000..87b69e6 --- /dev/null +++ b/MXA-Framework/src/Framework/Media/VisualizationData.cs @@ -0,0 +1,10 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework.Media { + public class VisualizationData { + } +} diff --git a/MXA-Framework/src/Framework/Plane.cs b/MXA-Framework/src/Framework/Plane.cs new file mode 100644 index 0000000..545413d --- /dev/null +++ b/MXA-Framework/src/Framework/Plane.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Plane : IEquatable { + public float D; + public Vector3 Normal; + + public Plane(float a, float b, float c, float d) { throw new NotImplementedException( ); } + public Plane(Vector3 normal, float d) { throw new NotImplementedException( ); } + public Plane(Vector3 point1, Vector3 point2, Vector3 point3) { throw new NotImplementedException( ); } + public Plane(Vector4 value) { throw new NotImplementedException( ); } + public float Dot(Vector4 value) { throw new NotImplementedException( ); } + public void Dot(ref Vector4 value, out float result) { throw new NotImplementedException( ); } + public float DotCoordinate(Vector3 value) { throw new NotImplementedException( ); } + public void DotCoordinate(ref Vector3 value, out float result) { throw new NotImplementedException( ); } + public float DotNormal(Vector3 value) { throw new NotImplementedException( ); } + public void DotNormal(ref Vector3 value, out float result) { throw new NotImplementedException( ); } + public bool Equals(Plane other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(BoundingBox box) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public PlaneIntersectionType Intersects(BoundingSphere sphere) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingBox box, out PlaneIntersectionType result) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingSphere sphere, out PlaneIntersectionType result) { throw new NotImplementedException( ); } + public void Normalize( ) { throw new NotImplementedException( ); } + public static Plane Normalize(Plane value) { throw new NotImplementedException( ); } + public static void Normalize(ref Plane value, out Plane result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Plane Transform(Plane plane, Matrix matrix) { throw new NotImplementedException( ); } + public static Plane Transform(Plane plane, Quaternion rotation) { throw new NotImplementedException( ); } + public static void Transform(ref Plane plane, ref Matrix matrix, out Plane result) { throw new NotImplementedException( ); } + public static void Transform(ref Plane plane, ref Quaternion rotation, out Plane result) { throw new NotImplementedException( ); } + public static bool operator !=(Plane lhs, Plane rhs) { throw new NotImplementedException( ); } + public static bool operator ==(Plane lhs, Plane rhs) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/PlaneIntersectionType.cs b/MXA-Framework/src/Framework/PlaneIntersectionType.cs new file mode 100644 index 0000000..c1f548a --- /dev/null +++ b/MXA-Framework/src/Framework/PlaneIntersectionType.cs @@ -0,0 +1,9 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum PlaneIntersectionType { + Front = 0, + Back = 1, + Intersecting = 2, + } +} diff --git a/MXA-Framework/src/Framework/PlayerIndex.cs b/MXA-Framework/src/Framework/PlayerIndex.cs new file mode 100644 index 0000000..6950f46 --- /dev/null +++ b/MXA-Framework/src/Framework/PlayerIndex.cs @@ -0,0 +1,10 @@ +using System; + +namespace Insma.Mxa.Framework { + public enum PlayerIndex { + One = 0, + Two = 1, + Three = 2, + Four = 3, + } +} diff --git a/MXA-Framework/src/Framework/Point.cs b/MXA-Framework/src/Framework/Point.cs new file mode 100644 index 0000000..aa4f80c --- /dev/null +++ b/MXA-Framework/src/Framework/Point.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Point : IEquatable { + public int X; + public int Y; + + public Point(int x, int y) { this.X = x; this.Y = y; } + public bool Equals(Point other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Point a, Point b) { throw new NotImplementedException( ); } + public static bool operator ==(Point a, Point b) { throw new NotImplementedException( ); } + public static Point Zero { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Properties/AssemblyInfo.cs b/MXA-Framework/src/Framework/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..0b91758 --- /dev/null +++ b/MXA-Framework/src/Framework/Properties/AssemblyInfo.cs @@ -0,0 +1,30 @@ +using System.Resources; +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Insma.Mxa.Framework")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Insma.Mxa.Framework")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: NeutralResourcesLanguage("en")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Framework/src/Framework/Quaternion.cs b/MXA-Framework/src/Framework/Quaternion.cs new file mode 100644 index 0000000..fca30f3 --- /dev/null +++ b/MXA-Framework/src/Framework/Quaternion.cs @@ -0,0 +1,68 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Quaternion : IEquatable { + public float X; + public float Y; + public float Z; + public float W; + + public Quaternion(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Quaternion(Vector3 vectorPart, float scalarPart) { throw new NotImplementedException( ); } + public static Quaternion Add(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static void Add(ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Concatenate(Quaternion value1, Quaternion value2) { throw new NotImplementedException( ); } + public static void Concatenate(ref Quaternion value1, ref Quaternion value2, out Quaternion result) { throw new NotImplementedException( ); } + public void Conjugate( ) { throw new NotImplementedException( ); } + public static Quaternion Conjugate(Quaternion value) { throw new NotImplementedException( ); } + public static void Conjugate(ref Quaternion value, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion CreateFromAxisAngle(Vector3 axis, float angle) { throw new NotImplementedException( ); } + public static void CreateFromAxisAngle(ref Vector3 axis, float angle, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion CreateFromRotationMatrix(Matrix matrix) { throw new NotImplementedException( ); } + public static void CreateFromRotationMatrix(ref Matrix matrix, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion CreateFromYawPitchRoll(float yaw, float pitch, float roll) { throw new NotImplementedException( ); } + public static void CreateFromYawPitchRoll(float yaw, float pitch, float roll, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Divide(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static void Divide(ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result) { throw new NotImplementedException( ); } + public static float Dot(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static void Dot(ref Quaternion quaternion1, ref Quaternion quaternion2, out float result) { throw new NotImplementedException( ); } + public bool Equals(Quaternion other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static Quaternion Inverse(Quaternion quaternion) { throw new NotImplementedException( ); } + public static void Inverse(ref Quaternion quaternion, out Quaternion result) { throw new NotImplementedException( ); } + public float Length( ) { throw new NotImplementedException( ); } + public float LengthSquared( ) { throw new NotImplementedException( ); } + public static Quaternion Lerp(Quaternion quaternion1, Quaternion quaternion2, float amount) { throw new NotImplementedException( ); } + public static void Lerp(ref Quaternion quaternion1, ref Quaternion quaternion2, float amount, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Multiply(Quaternion quaternion1, float scaleFactor) { throw new NotImplementedException( ); } + public static Quaternion Multiply(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static void Multiply(ref Quaternion quaternion1, float scaleFactor, out Quaternion result) { throw new NotImplementedException( ); } + public static void Multiply(ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Negate(Quaternion quaternion) { throw new NotImplementedException( ); } + public static void Negate(ref Quaternion quaternion, out Quaternion result) { throw new NotImplementedException( ); } + public void Normalize( ) { throw new NotImplementedException( ); } + public static Quaternion Normalize(Quaternion quaternion) { throw new NotImplementedException( ); } + public static void Normalize(ref Quaternion quaternion, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Slerp(Quaternion quaternion1, Quaternion quaternion2, float amount) { throw new NotImplementedException( ); } + public static void Slerp(ref Quaternion quaternion1, ref Quaternion quaternion2, float amount, out Quaternion result) { throw new NotImplementedException( ); } + public static Quaternion Subtract(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static void Subtract(ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + + public static bool operator !=(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static bool operator ==(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static Quaternion operator +(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static Quaternion operator -(Quaternion quaternion) { throw new NotImplementedException( ); } + public static Quaternion operator -(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static Quaternion operator *(Quaternion quaternion1, float scaleFactor) { throw new NotImplementedException( ); } + public static Quaternion operator *(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + public static Quaternion operator /(Quaternion quaternion1, Quaternion quaternion2) { throw new NotImplementedException( ); } + + public static Quaternion Identity { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Ray.cs b/MXA-Framework/src/Framework/Ray.cs new file mode 100644 index 0000000..9b86d1f --- /dev/null +++ b/MXA-Framework/src/Framework/Ray.cs @@ -0,0 +1,27 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Ray : IEquatable { + public Vector3 Position; + public Vector3 Direction; + + public Ray(Vector3 position, Vector3 direction) { this.Position = position; this.Direction = direction; } + public bool Equals(Ray other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public float? Intersects(BoundingBox box) { throw new NotImplementedException( ); } + public float? Intersects(BoundingFrustum frustum) { throw new NotImplementedException( ); } + public float? Intersects(BoundingSphere sphere) { throw new NotImplementedException( ); } + public float? Intersects(Plane plane) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingBox box, out float? result) { throw new NotImplementedException( ); } + public void Intersects(ref BoundingSphere sphere, out float? result) { throw new NotImplementedException( ); } + public void Intersects(ref Plane plane, out float? result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static bool operator !=(Ray a, Ray b) { throw new NotImplementedException( ); } + public static bool operator ==(Ray a, Ray b) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Rectangle.cs b/MXA-Framework/src/Framework/Rectangle.cs new file mode 100644 index 0000000..9d9bf15 --- /dev/null +++ b/MXA-Framework/src/Framework/Rectangle.cs @@ -0,0 +1,44 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Rectangle : IEquatable { + public int Height; + public int Width; + public int X; + public int Y; + + public Rectangle(int x, int y, int width, int height) { throw new NotImplementedException( ); } + public bool Contains(int x, int y) { throw new NotImplementedException( ); } + public bool Contains(Point value) { throw new NotImplementedException( ); } + public bool Contains(Rectangle value) { throw new NotImplementedException( ); } + public void Contains(ref Point value, out bool result) { throw new NotImplementedException( ); } + public void Contains(ref Rectangle value, out bool result) { throw new NotImplementedException( ); } + public bool Equals(Rectangle other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public void Inflate(int horizontalAmount, int verticalAmount) { throw new NotImplementedException( ); } + public static Rectangle Intersect(Rectangle value1, Rectangle value2) { throw new NotImplementedException( ); } + public static void Intersect(ref Rectangle value1, ref Rectangle value2, out Rectangle result) { throw new NotImplementedException( ); } + public bool Intersects(Rectangle value) { throw new NotImplementedException( ); } + public void Intersects(ref Rectangle value, out bool result) { throw new NotImplementedException( ); } + public void Offset(int offsetX, int offsetY) { throw new NotImplementedException( ); } + public void Offset(Point amount) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Rectangle Union(Rectangle value1, Rectangle value2) { throw new NotImplementedException( ); } + public static void Union(ref Rectangle value1, ref Rectangle value2, out Rectangle result) { throw new NotImplementedException( ); } + public static bool operator !=(Rectangle a, Rectangle b) { throw new NotImplementedException( ); } + public static bool operator ==(Rectangle a, Rectangle b) { throw new NotImplementedException( ); } + public int Bottom { get { throw new NotImplementedException( ); } } + public Point Center { get { throw new NotImplementedException( ); } } + public static Rectangle Empty { get { throw new NotImplementedException( ); } } + public bool IsEmpty { get { throw new NotImplementedException( ); } } + public int Left { get { throw new NotImplementedException( ); } } + public Point Location { get { throw new NotImplementedException( ); } set { throw new NotImplementedException( ); } } + public int Right { get { throw new NotImplementedException( ); } } + public int Top { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/TitleContainer.cs b/MXA-Framework/src/Framework/TitleContainer.cs new file mode 100644 index 0000000..f9d5445 --- /dev/null +++ b/MXA-Framework/src/Framework/TitleContainer.cs @@ -0,0 +1,12 @@ +using System; +using System.Collections.Generic; +using System.IO; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public static class TitleContainer { + public static Stream OpenStream(string name) { throw new NotImplementedException( ); } + } +} diff --git a/MXA-Framework/src/Framework/Vector2.cs b/MXA-Framework/src/Framework/Vector2.cs new file mode 100644 index 0000000..57bf21e --- /dev/null +++ b/MXA-Framework/src/Framework/Vector2.cs @@ -0,0 +1,91 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Vector2 : IEquatable { + public float X; + public float Y; + + public Vector2(float x, float y) { throw new NotImplementedException( ); } + public Vector2(float value) { throw new NotImplementedException( ); } + + public static Vector2 Add(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Add(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Barycentric(Vector2 value1, Vector2 value2, Vector2 value3, float amount1, float amount2) { throw new NotImplementedException( ); } + public static void Barycentric(ref Vector2 value1, ref Vector2 value2, ref Vector2 value3, float amount1, float amount2, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 CatmullRom(Vector2 value1, Vector2 value2, Vector2 value3, Vector2 value4, float amount) { throw new NotImplementedException( ); } + public static void CatmullRom(ref Vector2 value1, ref Vector2 value2, ref Vector2 value3, ref Vector2 value4, float amount, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Clamp(Vector2 value1, Vector2 min, Vector2 max) { throw new NotImplementedException( ); } + public static void Clamp(ref Vector2 value1, ref Vector2 min, ref Vector2 max, out Vector2 result) { throw new NotImplementedException( ); } + public static float Distance(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Distance(ref Vector2 value1, ref Vector2 value2, out float result) { throw new NotImplementedException( ); } + public static float DistanceSquared(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void DistanceSquared(ref Vector2 value1, ref Vector2 value2, out float result) { throw new NotImplementedException( ); } + public static Vector2 Divide(Vector2 value1, float divider) { throw new NotImplementedException( ); } + public static Vector2 Divide(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Divide(ref Vector2 value1, float divider, out Vector2 result) { throw new NotImplementedException( ); } + public static void Divide(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public static float Dot(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Dot(ref Vector2 value1, ref Vector2 value2, out float result) { throw new NotImplementedException( ); } + public bool Equals(Vector2 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static Vector2 Hermite(Vector2 value1, Vector2 tangent1, Vector2 value2, Vector2 tangent2, float amount) { throw new NotImplementedException( ); } + public static void Hermite(ref Vector2 value1, ref Vector2 tangent1, ref Vector2 value2, ref Vector2 tangent2, float amount, out Vector2 result) { throw new NotImplementedException( ); } + public float Length( ) { throw new NotImplementedException( ); } + public float LengthSquared( ) { throw new NotImplementedException( ); } + public static Vector2 Lerp(Vector2 value1, Vector2 value2, float amount) { throw new NotImplementedException( ); } + public static void Lerp(ref Vector2 value1, ref Vector2 value2, float amount, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Max(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Max(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Min(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Min(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Multiply(Vector2 value1, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector2 Multiply(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector2 value1, float scaleFactor, out Vector2 result) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Negate(Vector2 value) { throw new NotImplementedException( ); } + public static void Negate(ref Vector2 value, out Vector2 result) { throw new NotImplementedException( ); } + public void Normalize( ) { throw new NotImplementedException( ); } + public static Vector2 Normalize(Vector2 value) { throw new NotImplementedException( ); } + public static void Normalize(ref Vector2 value, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Reflect(Vector2 vector, Vector2 normal) { throw new NotImplementedException( ); } + public static void Reflect(ref Vector2 vector, ref Vector2 normal, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 SmoothStep(Vector2 value1, Vector2 value2, float amount) { throw new NotImplementedException( ); } + public static void SmoothStep(ref Vector2 value1, ref Vector2 value2, float amount, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 Subtract(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static void Subtract(ref Vector2 value1, ref Vector2 value2, out Vector2 result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Vector2 Transform(Vector2 position, Matrix matrix) { throw new NotImplementedException( ); } + public static Vector2 Transform(Vector2 value, Quaternion rotation) { throw new NotImplementedException( ); } + public static void Transform(Vector2[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector2[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector2[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(Vector2[] sourceArray, ref Quaternion rotation, Vector2[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(ref Vector2 position, ref Matrix matrix, out Vector2 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector2 value, ref Quaternion rotation, out Vector2 result) { throw new NotImplementedException( ); } + public static Vector2 TransformNormal(Vector2 normal, Matrix matrix) { throw new NotImplementedException( ); } + public static void TransformNormal(Vector2[] sourceArray, int sourceIndex, ref Matrix matrix, Vector2[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void TransformNormal(Vector2[] sourceArray, ref Matrix matrix, Vector2[] destinationArray) { throw new NotImplementedException( ); } + public static void TransformNormal(ref Vector2 normal, ref Matrix matrix, out Vector2 result) { throw new NotImplementedException( ); } + + public static bool operator !=(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static bool operator ==(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static Vector2 operator +(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static Vector2 operator -(Vector2 value) { throw new NotImplementedException( ); } + public static Vector2 operator -(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static Vector2 operator *(float scaleFactor, Vector2 value) { throw new NotImplementedException( ); } + public static Vector2 operator *(Vector2 value, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector2 operator *(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + public static Vector2 operator /(Vector2 value1, float divider) { throw new NotImplementedException( ); } + public static Vector2 operator /(Vector2 value1, Vector2 value2) { throw new NotImplementedException( ); } + + public static Vector2 One { get { throw new NotImplementedException( ); } } + public static Vector2 UnitX { get { throw new NotImplementedException( ); } } + public static Vector2 UnitY { get { throw new NotImplementedException( ); } } + public static Vector2 Zero { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Vector3.cs b/MXA-Framework/src/Framework/Vector3.cs new file mode 100644 index 0000000..4f27523 --- /dev/null +++ b/MXA-Framework/src/Framework/Vector3.cs @@ -0,0 +1,102 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Vector3 : IEquatable { + public float X; + public float Y; + public float Z; + + public Vector3(float value) { throw new NotImplementedException( ); } + public Vector3(float x, float y, float z) { throw new NotImplementedException( ); } + public Vector3(Vector2 value, float z) { throw new NotImplementedException( ); } + + public static Vector3 Add(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Add(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Barycentric(Vector3 value1, Vector3 value2, Vector3 value3, float amount1, float amount2) { throw new NotImplementedException( ); } + public static void Barycentric(ref Vector3 value1, ref Vector3 value2, ref Vector3 value3, float amount1, float amount2, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 CatmullRom(Vector3 value1, Vector3 value2, Vector3 value3, Vector3 value4, float amount) { throw new NotImplementedException( ); } + public static void CatmullRom(ref Vector3 value1, ref Vector3 value2, ref Vector3 value3, ref Vector3 value4, float amount, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Clamp(Vector3 value1, Vector3 min, Vector3 max) { throw new NotImplementedException( ); } + public static void Clamp(ref Vector3 value1, ref Vector3 min, ref Vector3 max, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Cross(Vector3 vector1, Vector3 vector2) { throw new NotImplementedException( ); } + public static void Cross(ref Vector3 vector1, ref Vector3 vector2, out Vector3 result) { throw new NotImplementedException( ); } + public static float Distance(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Distance(ref Vector3 value1, ref Vector3 value2, out float result) { throw new NotImplementedException( ); } + public static float DistanceSquared(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void DistanceSquared(ref Vector3 value1, ref Vector3 value2, out float result) { throw new NotImplementedException( ); } + public static Vector3 Divide(Vector3 value1, float value2) { throw new NotImplementedException( ); } + public static Vector3 Divide(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Divide(ref Vector3 value1, float value2, out Vector3 result) { throw new NotImplementedException( ); } + public static void Divide(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public static float Dot(Vector3 vector1, Vector3 vector2) { throw new NotImplementedException( ); } + public static void Dot(ref Vector3 vector1, ref Vector3 vector2, out float result) { throw new NotImplementedException( ); } + public bool Equals(Vector3 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static Vector3 Hermite(Vector3 value1, Vector3 tangent1, Vector3 value2, Vector3 tangent2, float amount) { throw new NotImplementedException( ); } + public static void Hermite(ref Vector3 value1, ref Vector3 tangent1, ref Vector3 value2, ref Vector3 tangent2, float amount, out Vector3 result) { throw new NotImplementedException( ); } + public float Length( ) { throw new NotImplementedException( ); } + public float LengthSquared( ) { throw new NotImplementedException( ); } + public static Vector3 Lerp(Vector3 value1, Vector3 value2, float amount) { throw new NotImplementedException( ); } + public static void Lerp(ref Vector3 value1, ref Vector3 value2, float amount, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Max(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Max(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Min(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Min(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Multiply(Vector3 value1, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector3 Multiply(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector3 value1, float scaleFactor, out Vector3 result) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Negate(Vector3 value) { throw new NotImplementedException( ); } + public static void Negate(ref Vector3 value, out Vector3 result) { throw new NotImplementedException( ); } + public void Normalize( ) { throw new NotImplementedException( ); } + public static Vector3 Normalize(Vector3 value) { throw new NotImplementedException( ); } + public static void Normalize(ref Vector3 value, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Reflect(Vector3 vector, Vector3 normal) { throw new NotImplementedException( ); } + public static void Reflect(ref Vector3 vector, ref Vector3 normal, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 SmoothStep(Vector3 value1, Vector3 value2, float amount) { throw new NotImplementedException( ); } + public static void SmoothStep(ref Vector3 value1, ref Vector3 value2, float amount, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 Subtract(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static void Subtract(ref Vector3 value1, ref Vector3 value2, out Vector3 result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Vector3 Transform(Vector3 position, Matrix matrix) { throw new NotImplementedException( ); } + public static Vector3 Transform(Vector3 value, Quaternion rotation) { throw new NotImplementedException( ); } + public static void Transform(Vector3[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector3[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector3[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector3[] sourceArray, ref Matrix matrix, Vector3[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(Vector3[] sourceArray, ref Quaternion rotation, Vector3[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(ref Vector3 position, ref Matrix matrix, out Vector3 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector3 value, ref Quaternion rotation, out Vector3 result) { throw new NotImplementedException( ); } + public static Vector3 TransformNormal(Vector3 normal, Matrix matrix) { throw new NotImplementedException( ); } + public static void TransformNormal(Vector3[] sourceArray, int sourceIndex, ref Matrix matrix, Vector3[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void TransformNormal(Vector3[] sourceArray, ref Matrix matrix, Vector3[] destinationArray) { throw new NotImplementedException( ); } + public static void TransformNormal(ref Vector3 normal, ref Matrix matrix, out Vector3 result) { throw new NotImplementedException( ); } + + public static bool operator !=(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static bool operator ==(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static Vector3 operator +(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static Vector3 operator -(Vector3 value) { throw new NotImplementedException( ); } + public static Vector3 operator -(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static Vector3 operator *(float scaleFactor, Vector3 value) { throw new NotImplementedException( ); } + public static Vector3 operator *(Vector3 value, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector3 operator *(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + public static Vector3 operator /(Vector3 value, float divider) { throw new NotImplementedException( ); } + public static Vector3 operator /(Vector3 value1, Vector3 value2) { throw new NotImplementedException( ); } + + public static Vector3 Backward { get { throw new NotImplementedException( ); } } + public static Vector3 Down { get { throw new NotImplementedException( ); } } + public static Vector3 Forward { get { throw new NotImplementedException( ); } } + public static Vector3 Left { get { throw new NotImplementedException( ); } } + public static Vector3 One { get { throw new NotImplementedException( ); } } + public static Vector3 Right { get { throw new NotImplementedException( ); } } + public static Vector3 UnitX { get { throw new NotImplementedException( ); } } + public static Vector3 UnitY { get { throw new NotImplementedException( ); } } + public static Vector3 UnitZ { get { throw new NotImplementedException( ); } } + public static Vector3 Up { get { throw new NotImplementedException( ); } } + public static Vector3 Zero { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/Vector4.cs b/MXA-Framework/src/Framework/Vector4.cs new file mode 100644 index 0000000..1e2c473 --- /dev/null +++ b/MXA-Framework/src/Framework/Vector4.cs @@ -0,0 +1,99 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Insma.Mxa.Framework { + public struct Vector4 : IEquatable { + public float X; + public float Y; + public float Z; + public float W; + + public Vector4(float value) { throw new NotImplementedException( ); } + public Vector4(float x, float y, float z, float w) { throw new NotImplementedException( ); } + public Vector4(Vector2 value, float z, float w) { throw new NotImplementedException( ); } + public Vector4(Vector3 value, float w) { throw new NotImplementedException( ); } + + public static Vector4 Add(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Add(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Barycentric(Vector4 value1, Vector4 value2, Vector4 value3, float amount1, float amount2) { throw new NotImplementedException( ); } + public static void Barycentric(ref Vector4 value1, ref Vector4 value2, ref Vector4 value3, float amount1, float amount2, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 CatmullRom(Vector4 value1, Vector4 value2, Vector4 value3, Vector4 value4, float amount) { throw new NotImplementedException( ); } + public static void CatmullRom(ref Vector4 value1, ref Vector4 value2, ref Vector4 value3, ref Vector4 value4, float amount, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max) { throw new NotImplementedException( ); } + public static void Clamp(ref Vector4 value1, ref Vector4 min, ref Vector4 max, out Vector4 result) { throw new NotImplementedException( ); } + public static float Distance(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Distance(ref Vector4 value1, ref Vector4 value2, out float result) { throw new NotImplementedException( ); } + public static float DistanceSquared(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void DistanceSquared(ref Vector4 value1, ref Vector4 value2, out float result) { throw new NotImplementedException( ); } + public static Vector4 Divide(Vector4 value1, float divider) { throw new NotImplementedException( ); } + public static Vector4 Divide(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Divide(ref Vector4 value1, float divider, out Vector4 result) { throw new NotImplementedException( ); } + public static void Divide(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public static float Dot(Vector4 vector1, Vector4 vector2) { throw new NotImplementedException( ); } + public static void Dot(ref Vector4 vector1, ref Vector4 vector2, out float result) { throw new NotImplementedException( ); } + public bool Equals(Vector4 other) { throw new NotImplementedException( ); } + public override bool Equals(object obj) { throw new NotImplementedException( ); } + public override int GetHashCode( ) { throw new NotImplementedException( ); } + public static Vector4 Hermite(Vector4 value1, Vector4 tangent1, Vector4 value2, Vector4 tangent2, float amount) { throw new NotImplementedException( ); } + public static void Hermite(ref Vector4 value1, ref Vector4 tangent1, ref Vector4 value2, ref Vector4 tangent2, float amount, out Vector4 result) { throw new NotImplementedException( ); } + public float Length( ) { throw new NotImplementedException( ); } + public float LengthSquared( ) { throw new NotImplementedException( ); } + public static Vector4 Lerp(Vector4 value1, Vector4 value2, float amount) { throw new NotImplementedException( ); } + public static void Lerp(ref Vector4 value1, ref Vector4 value2, float amount, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Max(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Max(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Min(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Min(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Multiply(Vector4 value1, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector4 Multiply(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector4 value1, float scaleFactor, out Vector4 result) { throw new NotImplementedException( ); } + public static void Multiply(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Negate(Vector4 value) { throw new NotImplementedException( ); } + public static void Negate(ref Vector4 value, out Vector4 result) { throw new NotImplementedException( ); } + public void Normalize( ) { throw new NotImplementedException( ); } + public static Vector4 Normalize(Vector4 vector) { throw new NotImplementedException( ); } + public static void Normalize(ref Vector4 vector, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 SmoothStep(Vector4 value1, Vector4 value2, float amount) { throw new NotImplementedException( ); } + public static void SmoothStep(ref Vector4 value1, ref Vector4 value2, float amount, out Vector4 result) { throw new NotImplementedException( ); } + public static Vector4 Subtract(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static void Subtract(ref Vector4 value1, ref Vector4 value2, out Vector4 result) { throw new NotImplementedException( ); } + public override string ToString( ) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector2 position, Matrix matrix) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector2 value, Quaternion rotation) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector3 position, Matrix matrix) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector3 value, Quaternion rotation) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector4 vector, Matrix matrix) { throw new NotImplementedException( ); } + public static Vector4 Transform(Vector4 value, Quaternion rotation) { throw new NotImplementedException( ); } + public static void Transform(Vector4[] sourceArray, int sourceIndex, ref Matrix matrix, Vector4[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector4[] sourceArray, int sourceIndex, ref Quaternion rotation, Vector4[] destinationArray, int destinationIndex, int length) { throw new NotImplementedException( ); } + public static void Transform(Vector4[] sourceArray, ref Matrix matrix, Vector4[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(Vector4[] sourceArray, ref Quaternion rotation, Vector4[] destinationArray) { throw new NotImplementedException( ); } + public static void Transform(ref Vector2 position, ref Matrix matrix, out Vector4 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector2 value, ref Quaternion rotation, out Vector4 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector3 position, ref Matrix matrix, out Vector4 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector3 value, ref Quaternion rotation, out Vector4 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector4 vector, ref Matrix matrix, out Vector4 result) { throw new NotImplementedException( ); } + public static void Transform(ref Vector4 value, ref Quaternion rotation, out Vector4 result) { throw new NotImplementedException( ); } + + public static bool operator !=(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static bool operator ==(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static Vector4 operator +(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static Vector4 operator -(Vector4 value) { throw new NotImplementedException( ); } + public static Vector4 operator -(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static Vector4 operator *(float scaleFactor, Vector4 value1) { throw new NotImplementedException( ); } + public static Vector4 operator *(Vector4 value1, float scaleFactor) { throw new NotImplementedException( ); } + public static Vector4 operator *(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + public static Vector4 operator /(Vector4 value1, float divider) { throw new NotImplementedException( ); } + public static Vector4 operator /(Vector4 value1, Vector4 value2) { throw new NotImplementedException( ); } + + public static Vector4 One { get { throw new NotImplementedException( ); } } + public static Vector4 UnitW { get { throw new NotImplementedException( ); } } + public static Vector4 UnitX { get { throw new NotImplementedException( ); } } + public static Vector4 UnitY { get { throw new NotImplementedException( ); } } + public static Vector4 UnitZ { get { throw new NotImplementedException( ); } } + public static Vector4 Zero { get { throw new NotImplementedException( ); } } + } +} diff --git a/MXA-Framework/src/Framework/packages.config b/MXA-Framework/src/Framework/packages.config new file mode 100644 index 0000000..a7f21d8 --- /dev/null +++ b/MXA-Framework/src/Framework/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/MXA-Framework/src/MXA Framework 2013.sln b/MXA-Framework/src/MXA Framework 2013.sln new file mode 100644 index 0000000..663fe4d --- /dev/null +++ b/MXA-Framework/src/MXA Framework 2013.sln @@ -0,0 +1,82 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework", "Framework\Insma.Mxa.Framework.csproj", "{ED6C838F-B040-4F7B-812A-9448D07340E5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Audio", "Framework.Audio\Insma.Mxa.Framework.Audio.csproj", "{1AE9F386-0B93-4CFD-B44B-4A884F41B7F2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Avatar", "Framework.Avatar\Insma.Mxa.Framework.Avatar.csproj", "{F68FB7F7-3DD5-43FD-93DE-4C402DF0E4B9}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Game", "Framework.Game\Insma.Mxa.Framework.Game.csproj", "{0847443D-55EB-440D-B6FF-D5D005312D6C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.GamerServices", "Framework.GamerServices\Insma.Mxa.Framework.GamerServices.csproj", "{CCDE9ED0-7CCA-4D77-BD31-1873113CB953}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Graphics", "Framework.Graphics\Insma.Mxa.Framework.Graphics.csproj", "{9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Input.Touch", "Framework.Input.Touch\Insma.Mxa.Framework.Input.Touch.csproj", "{ACD367E7-D3DB-4E9C-93D4-E815A8955137}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Net", "Framework.Net\Insma.Mxa.Framework.Net.csproj", "{753BE409-7268-48F1-BB45-D568EF1E5E1B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Storage", "Framework.Storage\Insma.Mxa.Framework.Storage.csproj", "{6FF88A1F-E638-4EDA-9BAC-E8A4A44A373B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Video", "Framework.Video\Insma.Mxa.Framework.Video.csproj", "{92912C38-0B74-4F4A-A54A-94DC70E7CB3B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Insma.Mxa.Framework.Xact", "Framework.Xact\Insma.Mxa.Framework.Xact.csproj", "{6D767C87-21D2-40A3-BF83-BB58A62D8FC3}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {ED6C838F-B040-4F7B-812A-9448D07340E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ED6C838F-B040-4F7B-812A-9448D07340E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ED6C838F-B040-4F7B-812A-9448D07340E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ED6C838F-B040-4F7B-812A-9448D07340E5}.Release|Any CPU.Build.0 = Release|Any CPU + {1AE9F386-0B93-4CFD-B44B-4A884F41B7F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1AE9F386-0B93-4CFD-B44B-4A884F41B7F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1AE9F386-0B93-4CFD-B44B-4A884F41B7F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1AE9F386-0B93-4CFD-B44B-4A884F41B7F2}.Release|Any CPU.Build.0 = Release|Any CPU + {F68FB7F7-3DD5-43FD-93DE-4C402DF0E4B9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F68FB7F7-3DD5-43FD-93DE-4C402DF0E4B9}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F68FB7F7-3DD5-43FD-93DE-4C402DF0E4B9}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F68FB7F7-3DD5-43FD-93DE-4C402DF0E4B9}.Release|Any CPU.Build.0 = Release|Any CPU + {0847443D-55EB-440D-B6FF-D5D005312D6C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0847443D-55EB-440D-B6FF-D5D005312D6C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0847443D-55EB-440D-B6FF-D5D005312D6C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0847443D-55EB-440D-B6FF-D5D005312D6C}.Release|Any CPU.Build.0 = Release|Any CPU + {CCDE9ED0-7CCA-4D77-BD31-1873113CB953}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCDE9ED0-7CCA-4D77-BD31-1873113CB953}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCDE9ED0-7CCA-4D77-BD31-1873113CB953}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCDE9ED0-7CCA-4D77-BD31-1873113CB953}.Release|Any CPU.Build.0 = Release|Any CPU + {9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9BDFAC16-CDB6-40DF-BF55-ADD0F305A0D7}.Release|Any CPU.Build.0 = Release|Any CPU + {ACD367E7-D3DB-4E9C-93D4-E815A8955137}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ACD367E7-D3DB-4E9C-93D4-E815A8955137}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ACD367E7-D3DB-4E9C-93D4-E815A8955137}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ACD367E7-D3DB-4E9C-93D4-E815A8955137}.Release|Any CPU.Build.0 = Release|Any CPU + {753BE409-7268-48F1-BB45-D568EF1E5E1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {753BE409-7268-48F1-BB45-D568EF1E5E1B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {753BE409-7268-48F1-BB45-D568EF1E5E1B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {753BE409-7268-48F1-BB45-D568EF1E5E1B}.Release|Any CPU.Build.0 = Release|Any CPU + {6FF88A1F-E638-4EDA-9BAC-E8A4A44A373B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6FF88A1F-E638-4EDA-9BAC-E8A4A44A373B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6FF88A1F-E638-4EDA-9BAC-E8A4A44A373B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6FF88A1F-E638-4EDA-9BAC-E8A4A44A373B}.Release|Any CPU.Build.0 = Release|Any CPU + {92912C38-0B74-4F4A-A54A-94DC70E7CB3B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {92912C38-0B74-4F4A-A54A-94DC70E7CB3B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {92912C38-0B74-4F4A-A54A-94DC70E7CB3B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {92912C38-0B74-4F4A-A54A-94DC70E7CB3B}.Release|Any CPU.Build.0 = Release|Any CPU + {6D767C87-21D2-40A3-BF83-BB58A62D8FC3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6D767C87-21D2-40A3-BF83-BB58A62D8FC3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6D767C87-21D2-40A3-BF83-BB58A62D8FC3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6D767C87-21D2-40A3-BF83-BB58A62D8FC3}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/MXA-Game-Studio/LICENSE b/MXA-Game-Studio/LICENSE new file mode 100644 index 0000000..9683172 --- /dev/null +++ b/MXA-Game-Studio/LICENSE @@ -0,0 +1,22 @@ +The MIT License (MIT) + +Copyright (c) 2015 Insma Software + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. + diff --git a/MXA-Game-Studio/README.md b/MXA-Game-Studio/README.md new file mode 100644 index 0000000..aed7a9a --- /dev/null +++ b/MXA-Game-Studio/README.md @@ -0,0 +1,18 @@ +# MXA Game Studio + +Visual Studio extension allows to use MXA Framework. + +## Licensing + +MIT + +## Resources + +* [Downloads](https://github.com/insma/MXA-Game-Studio/releases) +* [Documentation](https://github.com/insma/MXA-Game-Studio/wiki) + +## Related projects + +* [MXA Framework](https://github.com/insma/MXA-Framework) +* [SharpDX](https://github.com/sharpdx/SharpDX) +* [ShaprDX Toolkit](https://github.com/sharpdx/Toolkit) diff --git a/MXA-Game-Studio/src/IntegrationTests.testsettings b/MXA-Game-Studio/src/IntegrationTests.testsettings new file mode 100644 index 0000000..fb61707 --- /dev/null +++ b/MXA-Game-Studio/src/IntegrationTests.testsettings @@ -0,0 +1,14 @@ + + + This test run configuration uses the VS IDE host type in the test run. + + + + + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.csproj new file mode 100644 index 0000000..b986e02 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {78B69A51-B13B-4475-A189-86973A016B49} + Library + Properties + Content_Importer_v5._0_cs + Content Importer v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.vstemplate new file mode 100644 index 0000000..cdd7f0a --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Content Importer v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Content Importer v5.0-cs + Content Importer v5.0-cs + Content Importer v5.0-cs.ico + 60501d98-0381-46a3-974b-62de8535a5e4 + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8e62ccb --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Content Importer v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Content Importer v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("e07472e5-5b8a-462e-bd07-82e4bf8f7196")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vbproj new file mode 100644 index 0000000..9ad8195 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {516ABFAC-9990-476E-9033-65F6B24695F3} + Library + Content_Importer_v5._0_vb + Content Importer v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vstemplate new file mode 100644 index 0000000..2870ad9 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/Content Importer v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Content Importer v5.0-vb + Content Importer v5.0-vb + Content Importer v5.0-vb.ico + c89f8353-a4a4-4251-a632-8d8849620ce2 + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..290f0af --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Importer v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.csproj new file mode 100644 index 0000000..ec152d2 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {0A2E894D-52A1-4AE6-810E-F887695516E3} + Library + Properties + Content_Processor_v5._0_cs + Content Processor v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.vstemplate new file mode 100644 index 0000000..7b0d137 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Content Processor v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Content Processor v5.0-cs + Content Processor v5.0-cs + Content Processor v5.0-cs.ico + 5071e271-f298-4584-aefc-a83d3b9d4677 + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d83894e --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Content Processor v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Content Processor v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("686ff021-04c2-4ff9-8579-fb9397eaa465")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vbproj new file mode 100644 index 0000000..9a32c34 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {4FC084C9-017B-4B81-B9BF-191332C004A8} + Library + Content_Processor_v5._0_vb + Content Processor v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vstemplate new file mode 100644 index 0000000..cfb3bad --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/Content Processor v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Content Processor v5.0-vb + Content Processor v5.0-vb + Content Processor v5.0-vb.ico + 99a04dad-0ff9-46f1-af0f-8d015f5928ef + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..65f37d1 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Processor v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.csproj new file mode 100644 index 0000000..d1b4319 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {CB5025C2-D6DA-4754-B90F-12486899AB18} + Library + Properties + Content_Type_Reader_v5._0_cs + Content Type Reader v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.vstemplate new file mode 100644 index 0000000..aa18601 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Content Type Reader v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Content Type Reader v5.0-cs + Content Type Reader v5.0-cs + Content Type Reader v5.0-cs.ico + c775791a-9623-438e-b7fd-d53a836c169e + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..ff22e13 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Content Type Reader v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Content Type Reader v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("de7d4e00-47cf-45d2-aab8-23991cc8eb8b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vbproj new file mode 100644 index 0000000..100632e --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7} + Library + Content_Type_Reader_v5._0_vb + Content Type Reader v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vstemplate new file mode 100644 index 0000000..f9ea10a --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/Content Type Reader v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Content Type Reader v5.0-vb + Content Type Reader v5.0-vb + Content Type Reader v5.0-vb.ico + b8d834dd-211e-4d37-a40d-4d40d3ad3d9b + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..4c5eb16 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Reader v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.csproj new file mode 100644 index 0000000..80a7518 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {2801E507-91D7-4233-9B92-EFD33713F6AD} + Library + Properties + Content_Type_Writer_v5._0_cs + Content Type Writer v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.vstemplate new file mode 100644 index 0000000..0deaa07 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Content Type Writer v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Content Type Writer v5.0-cs + Content Type Writer v5.0-cs + Content Type Writer v5.0-cs.ico + 46260c25-24f7-4c79-ae56-5897a4d25d20 + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..00fff6b --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Content Type Writer v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Content Type Writer v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("96f412c9-54bb-4e9b-884a-ad3e0755da1d")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vbproj new file mode 100644 index 0000000..ea927ec --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {96B21E3F-E596-4189-ABE0-EC4569265E55} + Library + Content_Type_Writer_v5._0_vb + Content Type Writer v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vstemplate new file mode 100644 index 0000000..95ad2ed --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/Content Type Writer v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Content Type Writer v5.0-vb + Content Type Writer v5.0-vb + Content Type Writer v5.0-vb.ico + 0982afc3-5305-466c-b363-db9c0c651e58 + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..9053608 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Content Type Writer v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.csproj new file mode 100644 index 0000000..0c8ea56 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {A364ABE5-6295-490E-A951-76F2FAC913D2} + Library + Properties + Effect_File_v5._0_cs + Effect File v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.vstemplate new file mode 100644 index 0000000..7614a26 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Effect File v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Effect File v5.0-cs + Effect File v5.0-cs + Effect File v5.0-cs.ico + 02c7cd56-737c-47ec-ab41-b25aa9f58113 + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6035fd3 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Effect File v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Effect File v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("4718b260-d856-4696-ad4b-dba504bf1d9b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vbproj new file mode 100644 index 0000000..af6b471 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {81C97208-A11A-4A45-8053-DBB43813F25B} + Library + Effect_File_v5._0_vb + Effect File v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vstemplate new file mode 100644 index 0000000..34ec0b1 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/Effect File v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Effect File v5.0-vb + Effect File v5.0-vb + Effect File v5.0-vb.ico + 22b00e05-03d4-4925-affc-6d2c9711f0c1 + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..dbd5d84 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Effect File v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.csproj new file mode 100644 index 0000000..c303807 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {44D05CC3-E696-477A-8818-1D77E7DC24AC} + Library + Properties + Game_Component_v5._0_cs + Game Component v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.vstemplate new file mode 100644 index 0000000..75f6df8 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Game Component v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Game Component v5.0-cs + Game Component v5.0-cs + Game Component v5.0-cs.ico + 65e6b0e0-1fe4-470e-ba79-0cd7903f462a + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..1b3953a --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Game Component v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Game Component v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("b00edadd-af82-44eb-a7b1-005ee2996af7")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vbproj new file mode 100644 index 0000000..438b017 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353} + Library + Game_Component_v5._0_vb + Game Component v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vstemplate new file mode 100644 index 0000000..19f52d5 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/Game Component v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Game Component v5.0-vb + Game Component v5.0-vb + Game Component v5.0-vb.ico + 3678ab18-26b9-4a7b-a8e6-cacdc3737ed7 + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..a8c366f --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Game Component v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Class.cs b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Class.cs new file mode 100644 index 0000000..2ef7b00 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Class.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $rootnamespace$ +{ + class $safeitemrootname$ + { + } +} diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..cdad0fc --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Sprite Font v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Sprite Font v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("a4881514-a56b-4e19-8557-d986bed513be")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.csproj b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.csproj new file mode 100644 index 0000000..76b5c7b --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.csproj @@ -0,0 +1,82 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {815AD2F2-1186-4D73-B1F5-0B5569813996} + Library + Properties + Sprite_Font_v5._0_cs + Sprite Font v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.ico b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.vstemplate new file mode 100644 index 0000000..5c8e5fd --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-cs/Sprite Font v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Sprite Font v5.0-cs + Sprite Font v5.0-cs + Sprite Font v5.0-cs.ico + b267b7e9-abcb-481b-8dce-11f3f475a759 + CSharp + 2.0 + 1 + Class.cs + + + + + System + + + Class.cs + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Class.vb b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Class.vb new file mode 100644 index 0000000..0b43971 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Class.vb @@ -0,0 +1,3 @@ +Public Class $safeitemname$ + +End Class diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..bfffd25 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.ico b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vbproj b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vbproj new file mode 100644 index 0000000..7bfe3a7 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vbproj @@ -0,0 +1,93 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {2B5069B6-007B-4838-84E9-109CF9B28B39} + Library + Sprite_Font_v5._0_vb + Sprite Font v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vstemplate b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vstemplate new file mode 100644 index 0000000..9074191 --- /dev/null +++ b/MXA-Game-Studio/src/ItemTemplates/Sprite Font v5.0-vb/Sprite Font v5.0-vb.vstemplate @@ -0,0 +1,22 @@ + + + + Sprite Font v5.0-vb + Sprite Font v5.0-vb + Sprite Font v5.0-vb.ico + deb06f21-0679-421f-856c-3993c33f7329 + 1000 + Class.vb + VisualBasic + 2.0 + 1 + + + + + System + + + Class.vb + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio 2013.sln b/MXA-Game-Studio/src/MXA Game Studio 2013.sln new file mode 100644 index 0000000..aace420 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio 2013.sln @@ -0,0 +1,256 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 2013 +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BA84D819-2907-4E93-A728-4D8F1BAB50E2}" + ProjectSection(SolutionItems) = preProject + IntegrationTests.testsettings = IntegrationTests.testsettings + UnitTests.testsettings = UnitTests.testsettings + EndProjectSection +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Project templates", "Project templates", "{11089817-7A55-44EB-BB7C-8A067027B949}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Item templates", "Item templates", "{05CD2249-6067-4654-8D80-3EE4F5AA53EE}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content Importer v5.0-cs", "ItemTemplates\Content Importer v5.0-cs\Content Importer v5.0-cs.csproj", "{78B69A51-B13B-4475-A189-86973A016B49}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Content Importer v5.0-vb", "ItemTemplates\Content Importer v5.0-vb\Content Importer v5.0-vb.vbproj", "{516ABFAC-9990-476E-9033-65F6B24695F3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content Processor v5.0-cs", "ItemTemplates\Content Processor v5.0-cs\Content Processor v5.0-cs.csproj", "{0A2E894D-52A1-4AE6-810E-F887695516E3}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Content Processor v5.0-vb", "ItemTemplates\Content Processor v5.0-vb\Content Processor v5.0-vb.vbproj", "{4FC084C9-017B-4B81-B9BF-191332C004A8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content Type Reader v5.0-cs", "ItemTemplates\Content Type Reader v5.0-cs\Content Type Reader v5.0-cs.csproj", "{CB5025C2-D6DA-4754-B90F-12486899AB18}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Content Type Reader v5.0-vb", "ItemTemplates\Content Type Reader v5.0-vb\Content Type Reader v5.0-vb.vbproj", "{88EAA945-A6AF-40B4-9DCD-CB2657F294D7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content Type Writer v5.0-cs", "ItemTemplates\Content Type Writer v5.0-cs\Content Type Writer v5.0-cs.csproj", "{2801E507-91D7-4233-9B92-EFD33713F6AD}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Content Type Writer v5.0-vb", "ItemTemplates\Content Type Writer v5.0-vb\Content Type Writer v5.0-vb.vbproj", "{96B21E3F-E596-4189-ABE0-EC4569265E55}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Effect File v5.0-cs", "ItemTemplates\Effect File v5.0-cs\Effect File v5.0-cs.csproj", "{A364ABE5-6295-490E-A951-76F2FAC913D2}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Effect File v5.0-vb", "ItemTemplates\Effect File v5.0-vb\Effect File v5.0-vb.vbproj", "{81C97208-A11A-4A45-8053-DBB43813F25B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Game Component v5.0-cs", "ItemTemplates\Game Component v5.0-cs\Game Component v5.0-cs.csproj", "{44D05CC3-E696-477A-8818-1D77E7DC24AC}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Game Component v5.0-vb", "ItemTemplates\Game Component v5.0-vb\Game Component v5.0-vb.vbproj", "{52AC0CCE-7B58-49AF-AD3D-FD6654C30353}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sprite Font v5.0-cs", "ItemTemplates\Sprite Font v5.0-cs\Sprite Font v5.0-cs.csproj", "{815AD2F2-1186-4D73-B1F5-0B5569813996}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Sprite Font v5.0-vb", "ItemTemplates\Sprite Font v5.0-vb\Sprite Font v5.0-vb.vbproj", "{2B5069B6-007B-4838-84E9-109CF9B28B39}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Content Pipeline Extension Library v5.0-cs", "ProjectTemplates\Content Pipeline Extension Library v5.0-cs\Content Pipeline Extension Library v5.0-cs.csproj", "{1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Content Pipeline Extension Library v5.0-vb", "ProjectTemplates\Content Pipeline Extension Library v5.0-vb\Content Pipeline Extension Library v5.0-vb.vbproj", "{96AC5F27-F361-42E3-AADC-8A1A4BBA2575}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Empty Content Pipeline v5.0-cs", "ProjectTemplates\Empty Content Pipeline v5.0-cs\Empty Content Pipeline v5.0-cs.csproj", "{31937D9F-C6E5-43EE-951A-D34E629F7169}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Empty Content Pipeline v5.0-vb", "ProjectTemplates\Empty Content Pipeline v5.0-vb\Empty Content Pipeline v5.0-vb.vbproj", "{F9F3026A-8B54-4F6C-B091-BEA290C4AE57}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows Game Library v5.0-cs", "ProjectTemplates\Windows Game Library v5.0-cs\Windows Game Library v5.0-cs.csproj", "{FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Windows Game Library v5.0-vb", "ProjectTemplates\Windows Game Library v5.0-vb\Windows Game Library v5.0-vb.vbproj", "{E2A07A1B-109B-4483-8480-DD305961F63B}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows Game v5.0-cs", "ProjectTemplates\Windows Game v5.0-cs\Windows Game v5.0-cs.csproj", "{B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Windows Game v5.0-vb", "ProjectTemplates\Windows Game v5.0-vb\Windows Game v5.0-vb.vbproj", "{6A3DDFE3-287A-49BF-9837-47FF771DB49A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows Phone Game Library v5.0-cs", "ProjectTemplates\Windows Phone Game Library v5.0-cs\Windows Phone Game Library v5.0-cs.csproj", "{3F42E0C0-A58B-43ED-859C-621661E9F05B}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Windows Phone Game Library v5.0-vb", "ProjectTemplates\Windows Phone Game Library v5.0-vb\Windows Phone Game Library v5.0-vb.vbproj", "{CD4CC40D-5729-4AE8-AA31-32F734AF57B3}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows Phone Game v5.0-cs", "ProjectTemplates\Windows Phone Game v5.0-cs\Windows Phone Game v5.0-cs.csproj", "{B5AF6782-F3AC-4128-AF79-8048936F3B6D}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Windows Phone Game v5.0-vb", "ProjectTemplates\Windows Phone Game v5.0-vb\Windows Phone Game v5.0-vb.vbproj", "{4BBDBE46-2AAA-474C-BCF3-6202601D0DED}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xbox Game Library v5.0-cs", "ProjectTemplates\Xbox Game Library v5.0-cs\Xbox Game Library v5.0-cs.csproj", "{A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Xbox Game Library v5.0-vb", "ProjectTemplates\Xbox Game Library v5.0-vb\Xbox Game Library v5.0-vb.vbproj", "{8B0E22AD-4F77-4037-9BC6-0B0609C601DA}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xbox Game v5.0-cs", "ProjectTemplates\Xbox Game v5.0-cs\Xbox Game v5.0-cs.csproj", "{D5554B57-D892-48C2-9952-71D83896EE57}" +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "Xbox Game v5.0-vb", "ProjectTemplates\Xbox Game v5.0-vb\Xbox Game v5.0-vb.vbproj", "{A7678248-6998-47A5-8607-BC59CD37FCD2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MXA Game Studio", "MXA Game Studio\MXA Game Studio.csproj", "{F4C3627D-751F-4517-96C1-1D661F2E75A5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MXA Game Studio_IntegrationTests", "MXA Game Studio\MXA Game Studio_IntegrationTests\MXA Game Studio_IntegrationTests.csproj", "{E09EF66F-276D-4AB2-B937-8F336BE55BB5}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MXA Game Studio_UnitTests", "MXA Game Studio\MXA Game Studio_UnitTests\MXA Game Studio_UnitTests.csproj", "{C0E88DE1-972F-428F-A1F9-6F699E4102B2}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {78B69A51-B13B-4475-A189-86973A016B49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {78B69A51-B13B-4475-A189-86973A016B49}.Debug|Any CPU.Build.0 = Debug|Any CPU + {78B69A51-B13B-4475-A189-86973A016B49}.Release|Any CPU.ActiveCfg = Release|Any CPU + {78B69A51-B13B-4475-A189-86973A016B49}.Release|Any CPU.Build.0 = Release|Any CPU + {516ABFAC-9990-476E-9033-65F6B24695F3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {516ABFAC-9990-476E-9033-65F6B24695F3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {516ABFAC-9990-476E-9033-65F6B24695F3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {516ABFAC-9990-476E-9033-65F6B24695F3}.Release|Any CPU.Build.0 = Release|Any CPU + {0A2E894D-52A1-4AE6-810E-F887695516E3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0A2E894D-52A1-4AE6-810E-F887695516E3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0A2E894D-52A1-4AE6-810E-F887695516E3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0A2E894D-52A1-4AE6-810E-F887695516E3}.Release|Any CPU.Build.0 = Release|Any CPU + {4FC084C9-017B-4B81-B9BF-191332C004A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4FC084C9-017B-4B81-B9BF-191332C004A8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4FC084C9-017B-4B81-B9BF-191332C004A8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4FC084C9-017B-4B81-B9BF-191332C004A8}.Release|Any CPU.Build.0 = Release|Any CPU + {CB5025C2-D6DA-4754-B90F-12486899AB18}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB5025C2-D6DA-4754-B90F-12486899AB18}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB5025C2-D6DA-4754-B90F-12486899AB18}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB5025C2-D6DA-4754-B90F-12486899AB18}.Release|Any CPU.Build.0 = Release|Any CPU + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7}.Release|Any CPU.Build.0 = Release|Any CPU + {2801E507-91D7-4233-9B92-EFD33713F6AD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2801E507-91D7-4233-9B92-EFD33713F6AD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2801E507-91D7-4233-9B92-EFD33713F6AD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2801E507-91D7-4233-9B92-EFD33713F6AD}.Release|Any CPU.Build.0 = Release|Any CPU + {96B21E3F-E596-4189-ABE0-EC4569265E55}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {96B21E3F-E596-4189-ABE0-EC4569265E55}.Debug|Any CPU.Build.0 = Debug|Any CPU + {96B21E3F-E596-4189-ABE0-EC4569265E55}.Release|Any CPU.ActiveCfg = Release|Any CPU + {96B21E3F-E596-4189-ABE0-EC4569265E55}.Release|Any CPU.Build.0 = Release|Any CPU + {A364ABE5-6295-490E-A951-76F2FAC913D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A364ABE5-6295-490E-A951-76F2FAC913D2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A364ABE5-6295-490E-A951-76F2FAC913D2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A364ABE5-6295-490E-A951-76F2FAC913D2}.Release|Any CPU.Build.0 = Release|Any CPU + {81C97208-A11A-4A45-8053-DBB43813F25B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {81C97208-A11A-4A45-8053-DBB43813F25B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {81C97208-A11A-4A45-8053-DBB43813F25B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {81C97208-A11A-4A45-8053-DBB43813F25B}.Release|Any CPU.Build.0 = Release|Any CPU + {44D05CC3-E696-477A-8818-1D77E7DC24AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44D05CC3-E696-477A-8818-1D77E7DC24AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44D05CC3-E696-477A-8818-1D77E7DC24AC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44D05CC3-E696-477A-8818-1D77E7DC24AC}.Release|Any CPU.Build.0 = Release|Any CPU + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353}.Debug|Any CPU.Build.0 = Debug|Any CPU + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353}.Release|Any CPU.ActiveCfg = Release|Any CPU + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353}.Release|Any CPU.Build.0 = Release|Any CPU + {815AD2F2-1186-4D73-B1F5-0B5569813996}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {815AD2F2-1186-4D73-B1F5-0B5569813996}.Debug|Any CPU.Build.0 = Debug|Any CPU + {815AD2F2-1186-4D73-B1F5-0B5569813996}.Release|Any CPU.ActiveCfg = Release|Any CPU + {815AD2F2-1186-4D73-B1F5-0B5569813996}.Release|Any CPU.Build.0 = Release|Any CPU + {2B5069B6-007B-4838-84E9-109CF9B28B39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2B5069B6-007B-4838-84E9-109CF9B28B39}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2B5069B6-007B-4838-84E9-109CF9B28B39}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2B5069B6-007B-4838-84E9-109CF9B28B39}.Release|Any CPU.Build.0 = Release|Any CPU + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8}.Release|Any CPU.Build.0 = Release|Any CPU + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575}.Debug|Any CPU.Build.0 = Debug|Any CPU + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575}.Release|Any CPU.ActiveCfg = Release|Any CPU + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575}.Release|Any CPU.Build.0 = Release|Any CPU + {31937D9F-C6E5-43EE-951A-D34E629F7169}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {31937D9F-C6E5-43EE-951A-D34E629F7169}.Debug|Any CPU.Build.0 = Debug|Any CPU + {31937D9F-C6E5-43EE-951A-D34E629F7169}.Release|Any CPU.ActiveCfg = Release|Any CPU + {31937D9F-C6E5-43EE-951A-D34E629F7169}.Release|Any CPU.Build.0 = Release|Any CPU + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57}.Release|Any CPU.Build.0 = Release|Any CPU + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2}.Release|Any CPU.Build.0 = Release|Any CPU + {E2A07A1B-109B-4483-8480-DD305961F63B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E2A07A1B-109B-4483-8480-DD305961F63B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E2A07A1B-109B-4483-8480-DD305961F63B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E2A07A1B-109B-4483-8480-DD305961F63B}.Release|Any CPU.Build.0 = Release|Any CPU + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5}.Release|Any CPU.Build.0 = Release|Any CPU + {6A3DDFE3-287A-49BF-9837-47FF771DB49A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6A3DDFE3-287A-49BF-9837-47FF771DB49A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6A3DDFE3-287A-49BF-9837-47FF771DB49A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6A3DDFE3-287A-49BF-9837-47FF771DB49A}.Release|Any CPU.Build.0 = Release|Any CPU + {3F42E0C0-A58B-43ED-859C-621661E9F05B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F42E0C0-A58B-43ED-859C-621661E9F05B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F42E0C0-A58B-43ED-859C-621661E9F05B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F42E0C0-A58B-43ED-859C-621661E9F05B}.Release|Any CPU.Build.0 = Release|Any CPU + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3}.Release|Any CPU.Build.0 = Release|Any CPU + {B5AF6782-F3AC-4128-AF79-8048936F3B6D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B5AF6782-F3AC-4128-AF79-8048936F3B6D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B5AF6782-F3AC-4128-AF79-8048936F3B6D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B5AF6782-F3AC-4128-AF79-8048936F3B6D}.Release|Any CPU.Build.0 = Release|Any CPU + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED}.Release|Any CPU.Build.0 = Release|Any CPU + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5}.Release|Any CPU.Build.0 = Release|Any CPU + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA}.Release|Any CPU.Build.0 = Release|Any CPU + {D5554B57-D892-48C2-9952-71D83896EE57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D5554B57-D892-48C2-9952-71D83896EE57}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D5554B57-D892-48C2-9952-71D83896EE57}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D5554B57-D892-48C2-9952-71D83896EE57}.Release|Any CPU.Build.0 = Release|Any CPU + {A7678248-6998-47A5-8607-BC59CD37FCD2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A7678248-6998-47A5-8607-BC59CD37FCD2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A7678248-6998-47A5-8607-BC59CD37FCD2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A7678248-6998-47A5-8607-BC59CD37FCD2}.Release|Any CPU.Build.0 = Release|Any CPU + {F4C3627D-751F-4517-96C1-1D661F2E75A5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F4C3627D-751F-4517-96C1-1D661F2E75A5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F4C3627D-751F-4517-96C1-1D661F2E75A5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F4C3627D-751F-4517-96C1-1D661F2E75A5}.Release|Any CPU.Build.0 = Release|Any CPU + {E09EF66F-276D-4AB2-B937-8F336BE55BB5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E09EF66F-276D-4AB2-B937-8F336BE55BB5}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E09EF66F-276D-4AB2-B937-8F336BE55BB5}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E09EF66F-276D-4AB2-B937-8F336BE55BB5}.Release|Any CPU.Build.0 = Release|Any CPU + {C0E88DE1-972F-428F-A1F9-6F699E4102B2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {C0E88DE1-972F-428F-A1F9-6F699E4102B2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {C0E88DE1-972F-428F-A1F9-6F699E4102B2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {C0E88DE1-972F-428F-A1F9-6F699E4102B2}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(NestedProjects) = preSolution + {78B69A51-B13B-4475-A189-86973A016B49} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {516ABFAC-9990-476E-9033-65F6B24695F3} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {0A2E894D-52A1-4AE6-810E-F887695516E3} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {4FC084C9-017B-4B81-B9BF-191332C004A8} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {CB5025C2-D6DA-4754-B90F-12486899AB18} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {2801E507-91D7-4233-9B92-EFD33713F6AD} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {96B21E3F-E596-4189-ABE0-EC4569265E55} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {A364ABE5-6295-490E-A951-76F2FAC913D2} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {81C97208-A11A-4A45-8053-DBB43813F25B} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {44D05CC3-E696-477A-8818-1D77E7DC24AC} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {815AD2F2-1186-4D73-B1F5-0B5569813996} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {2B5069B6-007B-4838-84E9-109CF9B28B39} = {05CD2249-6067-4654-8D80-3EE4F5AA53EE} + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8} = {11089817-7A55-44EB-BB7C-8A067027B949} + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575} = {11089817-7A55-44EB-BB7C-8A067027B949} + {31937D9F-C6E5-43EE-951A-D34E629F7169} = {11089817-7A55-44EB-BB7C-8A067027B949} + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57} = {11089817-7A55-44EB-BB7C-8A067027B949} + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2} = {11089817-7A55-44EB-BB7C-8A067027B949} + {E2A07A1B-109B-4483-8480-DD305961F63B} = {11089817-7A55-44EB-BB7C-8A067027B949} + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5} = {11089817-7A55-44EB-BB7C-8A067027B949} + {6A3DDFE3-287A-49BF-9837-47FF771DB49A} = {11089817-7A55-44EB-BB7C-8A067027B949} + {3F42E0C0-A58B-43ED-859C-621661E9F05B} = {11089817-7A55-44EB-BB7C-8A067027B949} + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3} = {11089817-7A55-44EB-BB7C-8A067027B949} + {B5AF6782-F3AC-4128-AF79-8048936F3B6D} = {11089817-7A55-44EB-BB7C-8A067027B949} + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED} = {11089817-7A55-44EB-BB7C-8A067027B949} + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5} = {11089817-7A55-44EB-BB7C-8A067027B949} + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA} = {11089817-7A55-44EB-BB7C-8A067027B949} + {D5554B57-D892-48C2-9952-71D83896EE57} = {11089817-7A55-44EB-BB7C-8A067027B949} + {A7678248-6998-47A5-8607-BC59CD37FCD2} = {11089817-7A55-44EB-BB7C-8A067027B949} + EndGlobalSection +EndGlobal diff --git a/MXA-Game-Studio/src/MXA Game Studio/GlobalSuppressions.cs b/MXA-Game-Studio/src/MXA Game Studio/GlobalSuppressions.cs new file mode 100644 index 0000000..a893f9d --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/GlobalSuppressions.cs @@ -0,0 +1,11 @@ +// This file is used by Code Analysis to maintain SuppressMessage +// attributes that are applied to this project. Project-level +// suppressions either have no target or are given a specific target +// and scoped to a namespace, type, member, etc. +// +// To add a suppression to this file, right-click the message in the +// Error List, point to "Suppress Message(s)", and click "In Project +// Suppression File". You do not need to add suppressions to this +// file manually. + +[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1017:MarkAssembliesWithComVisible")] diff --git a/MXA-Game-Studio/src/MXA Game Studio/Guids.cs b/MXA-Game-Studio/src/MXA Game Studio/Guids.cs new file mode 100644 index 0000000..851501a --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/Guids.cs @@ -0,0 +1,14 @@ +// Guids.cs +// MUST match guids.h +using System; + +namespace InsmaSoftware.MXA_Game_Studio +{ + static class GuidList + { + public const string guidMXA_Game_StudioPkgString = "971b8205-128c-436c-988d-2d561a8d02e2"; + public const string guidMXA_Game_StudioCmdSetString = "73509bb3-5951-4ed4-950e-cede26b02bbd"; + + public static readonly Guid guidMXA_Game_StudioCmdSet = new Guid(guidMXA_Game_StudioCmdSetString); + }; +} \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/Key.snk b/MXA-Game-Studio/src/MXA Game Studio/Key.snk new file mode 100644 index 0000000..9de1bc8 Binary files /dev/null and b/MXA-Game-Studio/src/MXA Game Studio/Key.snk differ diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio.csproj b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio.csproj new file mode 100644 index 0000000..36d10a2 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio.csproj @@ -0,0 +1,409 @@ + + + + 12.0 + 12.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + Debug + AnyCPU + 2.0 + {F4C3627D-751F-4517-96C1-1D661F2E75A5} + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + InsmaSoftware.MXA_Game_Studio + MXA Game Studio + True + Key.snk + v4.5 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + true + + + + + + + + + + true + + + true + + + + + + + + False + + + + + + + + + + + + {80CC9F66-E7D8-4DDD-85B6-D9E6CD0E93E2} + 8 + 0 + 0 + primary + False + False + + + {26AD1324-4B7C-44BC-84F8-B86AED45729F} + 10 + 0 + 0 + primary + False + False + + + {1A31287A-4D7D-413E-8E32-3B374931BD89} + 8 + 0 + 0 + primary + False + False + + + {2CE2370E-D744-4936-A090-3FFFE667B0E1} + 9 + 0 + 0 + primary + False + False + + + {1CBA492E-7263-47BB-87FE-639000619B15} + 8 + 0 + 0 + primary + False + False + + + {00020430-0000-0000-C000-000000000046} + 2 + 0 + 0 + primary + False + False + + + + + + + + + + + UserControl + + + CustomPropertyPageView.cs + + + + + + + + UserControl + + + + + + True + True + Resources.resx + + + + + + + + CustomPropertyPageView.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + true + VSPackage + Designer + + + + + Designer + + + + + + + + + + + {78B69A51-B13B-4475-A189-86973A016B49} + Content Importer v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {516ABFAC-9990-476E-9033-65F6B24695F3} + Content Importer v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {0A2E894D-52A1-4AE6-810E-F887695516E3} + Content Processor v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {4FC084C9-017B-4B81-B9BF-191332C004A8} + Content Processor v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {CB5025C2-D6DA-4754-B90F-12486899AB18} + Content Type Reader v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {88EAA945-A6AF-40B4-9DCD-CB2657F294D7} + Content Type Reader v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {2801E507-91D7-4233-9B92-EFD33713F6AD} + Content Type Writer v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {96B21E3F-E596-4189-ABE0-EC4569265E55} + Content Type Writer v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {A364ABE5-6295-490E-A951-76F2FAC913D2} + Effect File v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {81C97208-A11A-4A45-8053-DBB43813F25B} + Effect File v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {44D05CC3-E696-477A-8818-1D77E7DC24AC} + Game Component v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {52AC0CCE-7B58-49AF-AD3D-FD6654C30353} + Game Component v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {815AD2F2-1186-4D73-B1F5-0B5569813996} + Sprite Font v5.0-cs + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {2B5069B6-007B-4838-84E9-109CF9B28B39} + Sprite Font v5.0-vb + ItemTemplates + false + TemplateProjectOutputGroup%3b + + + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8} + Content Pipeline Extension Library v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575} + Content Pipeline Extension Library v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {31937D9F-C6E5-43EE-951A-D34E629F7169} + Empty Content Pipeline v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57} + Empty Content Pipeline v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2} + Windows Game Library v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {E2A07A1B-109B-4483-8480-DD305961F63B} + Windows Game Library v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5} + Windows Game v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {6A3DDFE3-287A-49BF-9837-47FF771DB49A} + Windows Game v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {3F42E0C0-A58B-43ED-859C-621661E9F05B} + Windows Phone Game Library v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3} + Windows Phone Game Library v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {B5AF6782-F3AC-4128-AF79-8048936F3B6D} + Windows Phone Game v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED} + Windows Phone Game v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5} + Xbox Game Library v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA} + Xbox Game Library v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {D5554B57-D892-48C2-9952-71D83896EE57} + Xbox Game v5.0-cs + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + {A7678248-6998-47A5-8607-BC59CD37FCD2} + Xbox Game v5.0-vb + ProjectTemplates + false + TemplateProjectOutputGroup%3b + + + + true + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/DialogboxPurger.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/DialogboxPurger.cs new file mode 100644 index 0000000..ebdbfac --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/DialogboxPurger.cs @@ -0,0 +1,314 @@ + +namespace Microsoft.VsSDK.IntegrationTestLibrary { + using System; + using System.Collections.Generic; + using System.Text; + using System.Runtime.InteropServices; + using System.Threading; + using Microsoft.VisualStudio.Shell.Interop; + using Microsoft.VisualStudio.Shell; + + /// + /// This class is responsible to close dialog boxes that pop up during different VS Calls + /// + internal class DialogBoxPurger : IDisposable { + /// + /// The default number of milliseconds to wait for the threads to signal to terminate. + /// + private const int DefaultMillisecondsToWait = 3500; + + /// + /// Object used for synchronization between thread calls. + /// + internal static volatile object Mutex = new object( ); + + /// + /// The IVsUIShell. This cannot be queried on the working thread from the service provider. Must be done in the main thread.!! + /// + private IVsUIShell uiShell; + + /// + /// The button to "press" on the dialog. + /// + private int buttonAction; + + /// + /// Thread signales to the calling thread that it is done. + /// + private bool exitThread = false; + + /// + /// Calling thread signales to this thread to die. + /// + private AutoResetEvent threadDone = new AutoResetEvent(false); + + /// + /// The queued thread started. + /// + private AutoResetEvent threadStarted = new AutoResetEvent(false); + + /// + /// The result of the dialogbox closing for all the dialog boxes. That is if there are two of them and one fails this will be false. + /// + private bool dialogBoxCloseResult = false; + + /// + /// The expected text to see on the dialog box. If set the thread will continue finding the dialog box with this text. + /// + private string expectedDialogBoxText = String.Empty; + + /// + /// The number of the same dialog boxes to wait for. + /// This is for scenarios when two dialog boxes with the same text are popping up. + /// + private int numberOfDialogsToWaitFor = 1; + + /// + /// Has the object been disposed. + /// + private bool isDisposed; + + /// + /// Overloaded ctor. + /// + /// The botton to "press" on the dialog box. + /// The number of dialog boxes with the same message to wait for. This is the situation when the same action pops up two of the same dialog boxes + /// The expected dialog box message to check for. + internal DialogBoxPurger(int buttonAction, int numberOfDialogsToWaitFor, string expectedDialogMesssage) { + this.buttonAction = buttonAction; + this.numberOfDialogsToWaitFor = numberOfDialogsToWaitFor; + this.expectedDialogBoxText = expectedDialogMesssage; + } + + /// + /// Overloaded ctor. + /// + /// The botton to "press" on the dialog box. + /// The number of dialog boxes with the same message to wait for. This is the situation when the same action pops up two of the same dialog boxes + internal DialogBoxPurger(int buttonAction, int numberOfDialogsToWaitFor) { + this.buttonAction = buttonAction; + this.numberOfDialogsToWaitFor = numberOfDialogsToWaitFor; + } + + /// + /// Overloaded ctor. + /// + /// The botton to "press" on the dialog box. + /// The expected dialog box message to check for. + internal DialogBoxPurger(int buttonAction, string expectedDialogMesssage) { + this.buttonAction = buttonAction; + this.expectedDialogBoxText = expectedDialogMesssage; + } + + /// + /// Overloaded ctor. + /// + /// The botton to "press" on the dialog box. + internal DialogBoxPurger(int buttonAction) { + this.buttonAction = buttonAction; + } + + /// + #region IDisposable Members + + void IDisposable.Dispose( ) { + if (this.isDisposed) { + return; + } + + this.WaitForDialogThreadToTerminate( ); + + this.isDisposed = true; + } + + /// + /// Spawns a thread that will start listening to dialog boxes. + /// + internal void Start( ) { + // We ask for the uishell here since we cannot do that on the therad that we will spawn. + IVsUIShell uiShell = Package.GetGlobalService(typeof(SVsUIShell)) as IVsUIShell; + + if (uiShell == null) { + throw new InvalidOperationException("Could not get the uiShell from the serviceProvider"); + } + + this.uiShell = uiShell; + + System.Threading.Thread thread = new System.Threading.Thread(new ThreadStart(this.HandleDialogBoxes)); + thread.Start( ); + + // We should never deadlock here, hence do not use the lock. Wait to be sure that the thread started. + this.threadStarted.WaitOne(3500, false); + } + + /// + /// Waits for the dialog box close thread to terminate. If the thread does not signal back within millisecondsToWait that it is shutting down, + /// then it will tell to the thread to do it. + /// + internal bool WaitForDialogThreadToTerminate( ) { + return this.WaitForDialogThreadToTerminate(DefaultMillisecondsToWait); + } + + /// + /// Waits for the dialog box close thread to terminate. If the thread does not signal back within millisecondsToWait that it is shutting down, + /// then it will tell to the thread to do it. + /// + /// The number milliseconds to wait for until the dialog purger thread is signaled to terminate. This is just for safe precaution that we do not hang. + /// The result of the dialog boxes closing + internal bool WaitForDialogThreadToTerminate(int numberOfMillisecondsToWait) { + bool signaled = false; + + // We give millisecondsToWait sec to bring up and close the dialog box. + signaled = this.threadDone.WaitOne(numberOfMillisecondsToWait, false); + + // Kill the thread since a timeout occured. + if (!signaled) { + lock (Mutex) { + // Set the exit thread to true. Next time the thread will kill itselfes if it sees + this.exitThread = true; + } + + // Wait for the thread to finish. We should never deadlock here. + this.threadDone.WaitOne( ); + } + + return this.dialogBoxCloseResult; + } + + /// + /// This is the thread method. + /// + private void HandleDialogBoxes( ) { + // No synchronization numberOfDialogsToWaitFor since it is readonly + IntPtr[] hwnds = new IntPtr[this.numberOfDialogsToWaitFor]; + bool[] dialogBoxCloseResults = new bool[this.numberOfDialogsToWaitFor]; + + try { + // Signal that we started + lock (Mutex) { + this.threadStarted.Set( ); + } + + // The loop will be exited either if a message is send by the caller thread or if we found the dialog. If a message box text is specified the loop will not exit until the dialog is found. + bool stayInLoop = true; + int dialogBoxesToWaitFor = 1; + + while (stayInLoop) { + int hwndIndex = dialogBoxesToWaitFor - 1; + + // We need to lock since the caller might set context to null. + lock (Mutex) { + if (this.exitThread) { + break; + } + + // We protect the shell too from reentrency. + this.uiShell.GetDialogOwnerHwnd(out hwnds[hwndIndex]); + + } + + if (hwnds[hwndIndex] != IntPtr.Zero) { + StringBuilder windowClassName = new StringBuilder(256); + NativeMethods.GetClassName(hwnds[hwndIndex], windowClassName, windowClassName.Capacity); + + // The #32770 is the class name of a messagebox dialog. + if (windowClassName.ToString( ).Contains("#32770")) { + IntPtr unmanagedMemoryLocation = IntPtr.Zero; + string dialogBoxText = String.Empty; + try { + unmanagedMemoryLocation = Marshal.AllocHGlobal(10 * 1024); + NativeMethods.EnumChildWindows(hwnds[hwndIndex], new NativeMethods.CallBack(FindMessageBoxString), unmanagedMemoryLocation); + dialogBoxText = Marshal.PtrToStringUni(unmanagedMemoryLocation); + } finally { + if (unmanagedMemoryLocation != IntPtr.Zero) { + Marshal.FreeHGlobal(unmanagedMemoryLocation); + } + } + + lock (Mutex) { + + // Since this is running on the main thread be sure that we close the dialog. + bool dialogCloseResult = false; + if (this.buttonAction != 0) { + dialogCloseResult = NativeMethods.EndDialog(hwnds[hwndIndex], this.buttonAction); + } + + // Check if we have found the right dialog box. + if (String.IsNullOrEmpty(this.expectedDialogBoxText) || (!String.IsNullOrEmpty(dialogBoxText) && String.Compare(this.expectedDialogBoxText, dialogBoxText.Trim( ), StringComparison.OrdinalIgnoreCase) == 0)) { + dialogBoxCloseResults[hwndIndex] = dialogCloseResult; + if (dialogBoxesToWaitFor++ >= this.numberOfDialogsToWaitFor) { + stayInLoop = false; + } + } + } + } + } + } + } finally { + //Let the main thread run a possible close command. + System.Threading.Thread.Sleep(2000); + + foreach (IntPtr hwnd in hwnds) { + // At this point the dialog should be closed, if not attempt to close it. + if (hwnd != IntPtr.Zero) { + NativeMethods.SendMessage(hwnd, NativeMethods.WM_CLOSE, 0, new IntPtr(0)); + } + } + + lock (Mutex) { + // Be optimistic. + this.dialogBoxCloseResult = true; + + for (int i = 0; i < dialogBoxCloseResults.Length; i++) { + if (!dialogBoxCloseResults[i]) { + this.dialogBoxCloseResult = false; + break; + } + } + + this.threadDone.Set( ); + } + } + } + + /// + /// Finds a messagebox string on a messagebox. + /// + /// The windows handle of the dialog + /// A pointer to the memorylocation the string will be written to + /// True if found. + private static bool FindMessageBoxString(IntPtr hwnd, IntPtr unmanagedMemoryLocation) { + StringBuilder sb = new StringBuilder(512); + NativeMethods.GetClassName(hwnd, sb, sb.Capacity); + + if (sb.ToString( ).ToLower( ).Contains("static")) { + StringBuilder windowText = new StringBuilder(2048); + NativeMethods.GetWindowText(hwnd, windowText, windowText.Capacity); + + if (windowText.Length > 0) { + IntPtr stringAsPtr = IntPtr.Zero; + try { + stringAsPtr = Marshal.StringToHGlobalAnsi(windowText.ToString( )); + char[] stringAsArray = windowText.ToString( ).ToCharArray( ); + + // Since unicode characters are copied check if we are out of the allocated length. + // If not add the end terminating zero. + if ((2 * stringAsArray.Length) + 1 < 2048) { + Marshal.Copy(stringAsArray, 0, unmanagedMemoryLocation, stringAsArray.Length); + Marshal.WriteInt32(unmanagedMemoryLocation, 2 * stringAsArray.Length, 0); + } + } finally { + if (stringAsPtr != IntPtr.Zero) { + Marshal.FreeHGlobal(stringAsPtr); + } + } + return false; + } + } + + return true; + } + + #endregion + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/NativeMethods.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/NativeMethods.cs new file mode 100644 index 0000000..9540bf0 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/NativeMethods.cs @@ -0,0 +1,143 @@ +/*************************************************************************** + +Copyright (c) Microsoft Corporation. All rights reserved. +This code is licensed under the Visual Studio SDK license terms. +THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF +ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY +IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR +PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. + +***************************************************************************/ + +namespace Microsoft.VsSDK.IntegrationTestLibrary { + using System; + using System.Collections.Generic; + using System.Text; + using System.Runtime.InteropServices; + using System.Threading; + using Microsoft.VisualStudio.Shell.Interop; + + /// + /// Defines pinvoked utility methods and internal VS Constants + /// + internal static class NativeMethods { + internal delegate bool CallBack(IntPtr hwnd, IntPtr lParam); + + // Declare two overloaded SendMessage functions + [DllImport("user32.dll")] + internal static extern UInt32 SendMessage(IntPtr hWnd, UInt32 Msg, + UInt32 wParam, IntPtr lParam); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern bool PeekMessage([In, Out] ref Microsoft.VisualStudio.OLE.Interop.MSG msg, HandleRef hwnd, int msgMin, int msgMax, int remove); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern bool TranslateMessage([In, Out] ref Microsoft.VisualStudio.OLE.Interop.MSG msg); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern int DispatchMessage([In] ref Microsoft.VisualStudio.OLE.Interop.MSG msg); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern bool AttachThreadInput(uint idAttach, uint idAttachTo, bool attach); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern uint GetWindowThreadProcessId(IntPtr hWnd, out uint lpdwProcessId); + + [DllImport("kernel32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern uint GetCurrentThreadId( ); + + [DllImport("user32")] + internal static extern int EnumChildWindows(IntPtr hwnd, CallBack x, IntPtr y); + + [DllImport("user32")] + internal static extern bool IsWindowVisible(IntPtr hDlg); + + [DllImport("user32.dll", CharSet = System.Runtime.InteropServices.CharSet.Auto)] + internal static extern IntPtr SetFocus(IntPtr hWnd); + + [DllImport("user32")] + internal static extern int GetClassName(IntPtr hWnd, + StringBuilder className, + int stringLength); + [DllImport("user32")] + internal static extern int GetWindowText(IntPtr hWnd, StringBuilder className, int stringLength); + + + [DllImport("user32")] + internal static extern bool EndDialog(IntPtr hDlg, int result); + + [DllImport("Kernel32")] + internal static extern long GetLastError( ); + + internal const int QS_KEY = 0x0001, + QS_MOUSEMOVE = 0x0002, + QS_MOUSEBUTTON = 0x0004, + QS_POSTMESSAGE = 0x0008, + QS_TIMER = 0x0010, + QS_PAINT = 0x0020, + QS_SENDMESSAGE = 0x0040, + QS_HOTKEY = 0x0080, + QS_ALLPOSTMESSAGE = 0x0100, + QS_MOUSE = QS_MOUSEMOVE | QS_MOUSEBUTTON, + QS_INPUT = QS_MOUSE | QS_KEY, + QS_ALLEVENTS = QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY, + QS_ALLINPUT = QS_INPUT | QS_POSTMESSAGE | QS_TIMER | QS_PAINT | QS_HOTKEY | QS_SENDMESSAGE; + + internal const int Facility_Win32 = 7; + + internal const int WM_CLOSE = 0x0010; + + internal const int + S_FALSE = 0x00000001, + S_OK = 0x00000000, + + IDOK = 1, + IDCANCEL = 2, + IDABORT = 3, + IDRETRY = 4, + IDIGNORE = 5, + IDYES = 6, + IDNO = 7, + IDCLOSE = 8, + IDHELP = 9, + IDTRYAGAIN = 10, + IDCONTINUE = 11; + + internal static long HResultFromWin32(long error) { + if (error <= 0) { + return error; + } + + return ((error & 0x0000FFFF) | (Facility_Win32 << 16) | 0x80000000); + } + + /// + /// Please use this "approved" method to compare file names. + /// + public static bool IsSamePath(string file1, string file2) { + if (file1 == null || file1.Length == 0) { + return (file2 == null || file2.Length == 0); + } + + Uri uri1 = null; + Uri uri2 = null; + + try { + if (!Uri.TryCreate(file1, UriKind.Absolute, out uri1) || !Uri.TryCreate(file2, UriKind.Absolute, out uri2)) { + return false; + } + + if (uri1 != null && uri1.IsFile && uri2 != null && uri2.IsFile) { + return 0 == String.Compare(uri1.LocalPath, uri2.LocalPath, StringComparison.OrdinalIgnoreCase); + } + + return file1 == file2; + } catch (UriFormatException e) { + System.Diagnostics.Trace.WriteLine("Exception " + e.Message); + } + + return false; + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/Utils.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/Utils.cs new file mode 100644 index 0000000..3e1249a --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/IntegrationTest Library/Utils.cs @@ -0,0 +1,371 @@ +using System; +using System.IO; +using System.Text; +using System.Reflection; +using System.Diagnostics; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel.Design; +using System.Runtime.InteropServices; +using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.Shell; +using EnvDTE; +using EnvDTE80; +using Microsoft.Win32; +using IOleServiceProvider = Microsoft.VisualStudio.OLE.Interop.IServiceProvider; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VSSDK.Tools.VsIdeTesting; +using Microsoft.VisualStudio; + +namespace Microsoft.VsSDK.IntegrationTestLibrary { + /// + /// + public class TestUtils { + + #region Methods: Handling embedded resources + /// + /// Gets the embedded file identified by the resource name, and converts the + /// file into a string. + /// + /// In VS, is DefaultNamespace.FileName? + /// + public static string GetEmbeddedStringResource(Assembly assembly, string resourceName) { + string result = null; + + // Use the .NET procedure for loading a file embedded in the assembly + Stream stream = assembly.GetManifestResourceStream(resourceName); + if (stream != null) { + // Convert bytes to string + byte[] fileContentsAsBytes = new byte[stream.Length]; + stream.Read(fileContentsAsBytes, 0, (int)stream.Length); + result = Encoding.Default.GetString(fileContentsAsBytes); + } else { + // Embedded resource not found - list available resources + Debug.WriteLine("Unable to find the embedded resource file '" + resourceName + "'."); + Debug.WriteLine(" Available resources:"); + foreach (string aResourceName in assembly.GetManifestResourceNames( )) { + Debug.WriteLine(" " + aResourceName); + } + } + + return result; + } + /// + /// + /// + /// + /// + /// + /// + public static void WriteEmbeddedResourceToFile(Assembly assembly, string embeddedResourceName, string fileName) { + // Get file contents + string fileContents = GetEmbeddedStringResource(assembly, embeddedResourceName); + if (fileContents == null) + throw new ApplicationException("Failed to get embedded resource '" + embeddedResourceName + "' from assembly '" + assembly.FullName); + + // Write to file + StreamWriter sw = new StreamWriter(fileName); + sw.Write(fileContents); + sw.Close( ); + } + + /// + /// Writes an embedded resource to a file. + /// + /// The name of the assembly that the embedded resource is defined. + /// The name of the embedded resource. + /// The file to write the embedded resource's content. + public static void WriteEmbeddedResourceToBinaryFile(Assembly assembly, string embeddedResourceName, string fileName) { + // Get file contents + Stream stream = assembly.GetManifestResourceStream(embeddedResourceName); + if (stream == null) + throw new InvalidOperationException("Failed to get embedded resource '" + embeddedResourceName + "' from assembly '" + assembly.FullName); + + // Write to file + BinaryWriter sw = null; + FileStream fs = null; + try { + byte[] fileContentsAsBytes = new byte[stream.Length]; + stream.Read(fileContentsAsBytes, 0, (int)stream.Length); + + FileMode mode = FileMode.CreateNew; + if (File.Exists(fileName)) { + mode = FileMode.Truncate; + } + + fs = new FileStream(fileName, mode); + + sw = new BinaryWriter(fs); + sw.Write(fileContentsAsBytes); + } finally { + if (fs != null) { + fs.Close( ); + } + if (sw != null) { + sw.Close( ); + } + } + } + + #endregion + + #region Methods: Handling temporary files and directories + /// + /// Returns the first available file name on the form + /// [baseFileName]i.[extension] + /// where [i] starts at 1 and increases until there is an available file name + /// in the given directory. Also creates an empty file with that name to mark + /// that file as occupied. + /// + /// Directory that the file should live in. + /// + /// may be null, in which case the .[extension] part + /// is not added. + /// Full file name. + public static string GetNewFileName(string directory, string baseFileName, string extension) { + // Get the new file name + string fileName = GetNewFileOrDirectoryNameWithoutCreatingAnything(directory, baseFileName, extension); + + // Create an empty file to mark it as taken + StreamWriter sw = new StreamWriter(fileName); + + sw.Write(""); + sw.Close( ); + return fileName; + } + /// + /// Returns the first available directory name on the form + /// [baseDirectoryName]i + /// where [i] starts at 1 and increases until there is an available directory name + /// in the given directory. Also creates the directory to mark it as occupied. + /// + /// Directory that the file should live in. + /// + /// Full directory name. + public static string GetNewDirectoryName(string directory, string baseDirectoryName) { + // Get the new file name + string directoryName = GetNewFileOrDirectoryNameWithoutCreatingAnything(directory, baseDirectoryName, null); + + // Create an empty directory to make it as occupied + Directory.CreateDirectory(directoryName); + + return directoryName; + } + + /// + /// + /// + /// + /// + /// + /// + private static string GetNewFileOrDirectoryNameWithoutCreatingAnything(string directory, string baseFileName, string extension) { + // - get a file name that we can use + string fileName; + int i = 1; + + string fullFileName = null; + while (true) { + // construct next file name + fileName = baseFileName + i; + if (extension != null) + fileName += '.' + extension; + + // check if that file exists in the directory + fullFileName = Path.Combine(directory, fileName); + + if (!File.Exists(fullFileName) && !Directory.Exists(fullFileName)) + break; + else + i++; + } + + return fullFileName; + } + #endregion + + #region Methods: Handling solutions + /// + /// Closes the currently open solution (if any), and creates a new solution with the given name. + /// + /// Name of new solution. + public void CreateEmptySolution(string directory, string solutionName) { + CloseCurrentSolution(__VSSLNSAVEOPTIONS.SLNSAVEOPT_NoSave); + + string solutionDirectory = GetNewDirectoryName(directory, solutionName); + + // Create and force save solution + IVsSolution solutionService = (IVsSolution)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)); + solutionService.CreateSolution(solutionDirectory, solutionName, (uint)__VSCREATESOLUTIONFLAGS.CSF_SILENT); + solutionService.SaveSolutionElement((uint)__VSSLNSAVEOPTIONS.SLNSAVEOPT_ForceSave, null, 0); + DTE dte = VsIdeTestHostContext.Dte; + Assert.AreEqual(solutionName + ".sln", Path.GetFileName(dte.Solution.FileName), "Newly created solution has wrong Filename"); + } + + public void CloseCurrentSolution(__VSSLNSAVEOPTIONS saveoptions) { + // Get solution service + IVsSolution solutionService = (IVsSolution)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)); + + // Close already open solution + solutionService.CloseSolutionElement((uint)saveoptions, null, 0); + } + + public void ForceSaveSolution( ) { + // Get solution service + IVsSolution solutionService = (IVsSolution)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)); + + // Force-save the solution + solutionService.SaveSolutionElement((uint)__VSSLNSAVEOPTIONS.SLNSAVEOPT_ForceSave, null, 0); + } + + /// + /// Get current number of open project in solution + /// + /// + public int ProjectCount( ) { + // Get solution service + IVsSolution solutionService = (IVsSolution)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)); + object projectCount; + solutionService.GetProperty((int)__VSPROPID.VSPROPID_ProjectCount, out projectCount); + return (int)projectCount; + } + #endregion + + #region Methods: Handling projects + /// + /// Creates a project. + /// + /// Name of new project. + /// Name of project template to use + /// language + /// New project. + public void CreateProjectFromTemplate(string projectName, string templateName, string language, bool exclusive) { + DTE dte = (DTE)VsIdeTestHostContext.ServiceProvider.GetService(typeof(DTE)); + + Solution2 sol = dte.Solution as Solution2; + string projectTemplate = sol.GetProjectTemplate(templateName, language); + + // - project name and directory + string solutionDirectory = Directory.GetParent(dte.Solution.FullName).FullName; + string projectDirectory = GetNewDirectoryName(solutionDirectory, projectName); + + dte.Solution.AddFromTemplate(projectTemplate, projectDirectory, projectName, false); + } + #endregion + + #region Methods: Handling project items + /// + /// Create a new item in the project + /// + /// the parent collection for the new item + /// + /// + /// + /// + public ProjectItem AddNewItemFromVsTemplate(ProjectItems parent, string templateName, string language, string name) { + if (parent == null) + throw new ArgumentException("project"); + if (name == null) + throw new ArgumentException("name"); + + DTE dte = (DTE)VsIdeTestHostContext.ServiceProvider.GetService(typeof(DTE)); + + Solution2 sol = dte.Solution as Solution2; + + string filename = sol.GetProjectItemTemplate(templateName, language); + + parent.AddFromTemplate(filename, name); + + return parent.Item(name); + } + + /// + /// Save an open document. + /// + /// for filebased documents this is the full path to the document + public void SaveDocument(string documentMoniker) { + // Get document cookie and hierarchy for the file + IVsRunningDocumentTable runningDocumentTableService = (IVsRunningDocumentTable)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsRunningDocumentTable)); + uint docCookie; + IntPtr docData; + IVsHierarchy hierarchy; + uint itemId; + runningDocumentTableService.FindAndLockDocument( + (uint)Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS.RDT_NoLock, + documentMoniker, + out hierarchy, + out itemId, + out docData, + out docCookie); + + // Save the document + IVsSolution solutionService = (IVsSolution)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)); + solutionService.SaveSolutionElement((uint)__VSSLNSAVEOPTIONS.SLNSAVEOPT_ForceSave, hierarchy, docCookie); + } + + public void CloseInEditorWithoutSaving(string fullFileName) { + // Get the RDT service + IVsRunningDocumentTable runningDocumentTableService = (IVsRunningDocumentTable)VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsRunningDocumentTable)); + Assert.IsNotNull(runningDocumentTableService, "Failed to get the Running Document Table Service"); + + // Get our document cookie and hierarchy for the file + uint docCookie; + IntPtr docData; + IVsHierarchy hierarchy; + uint itemId; + runningDocumentTableService.FindAndLockDocument( + (uint)Microsoft.VisualStudio.Shell.Interop._VSRDTFLAGS.RDT_NoLock, + fullFileName, + out hierarchy, + out itemId, + out docData, + out docCookie); + + // Get the SolutionService + IVsSolution solutionService = VsIdeTestHostContext.ServiceProvider.GetService(typeof(IVsSolution)) as IVsSolution; + Assert.IsNotNull(solutionService, "Failed to get IVsSolution service"); + + // Close the document + solutionService.CloseSolutionElement( + (uint)__VSSLNSAVEOPTIONS.SLNSAVEOPT_NoSave, + hierarchy, + docCookie); + } + #endregion + + #region Methods: Handling Toolwindows + public bool CanFindToolwindow(Guid persistenceGuid) { + IVsUIShell uiShellService = VsIdeTestHostContext.ServiceProvider.GetService(typeof(SVsUIShell)) as IVsUIShell; + Assert.IsNotNull(uiShellService); + IVsWindowFrame windowFrame; + int hr = uiShellService.FindToolWindow((uint)__VSFINDTOOLWIN.FTW_fFindFirst, ref persistenceGuid, out windowFrame); + Assert.IsTrue(hr == VSConstants.S_OK); + + return (windowFrame != null); + } + #endregion + + #region Methods: Loading packages + public IVsPackage LoadPackage(Guid packageGuid) { + IVsShell shellService = (IVsShell)VsIdeTestHostContext.ServiceProvider.GetService(typeof(SVsShell)); + IVsPackage package; + shellService.LoadPackage(ref packageGuid, out package); + Assert.IsNotNull(package, "Failed to load package"); + return package; + } + #endregion + + /// + /// Executes a Command (menu item) in the given context + /// + public void ExecuteCommand(CommandID cmd) { + object Customin = null; + object Customout = null; + string guidString = cmd.Guid.ToString("B").ToUpper( ); + int cmdId = cmd.ID; + DTE dte = VsIdeTestHostContext.Dte; + dte.Commands.Raise(guidString, cmdId, ref Customin, ref Customout); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/Key.snk b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/Key.snk new file mode 100644 index 0000000..9de1bc8 Binary files /dev/null and b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/Key.snk differ diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/MXA Game Studio_IntegrationTests.csproj b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/MXA Game Studio_IntegrationTests.csproj new file mode 100644 index 0000000..d43697e --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/MXA Game Studio_IntegrationTests.csproj @@ -0,0 +1,87 @@ + + + + Debug + AnyCPU + 2.0 + {E09EF66F-276D-4AB2-B937-8F336BE55BB5} + Library + Properties + MXA_Game_Studio_IntegrationTests + MXA Game Studio_IntegrationTests + v4.5 + 512 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + Key.snk + + + true + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + {F4C3627D-751F-4517-96C1-1D661F2E75A5} + MXA Game Studio + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/PackageTest.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/PackageTest.cs new file mode 100644 index 0000000..ad01a27 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/PackageTest.cs @@ -0,0 +1,52 @@ +using System; +using System.Text; +using System.Collections.Generic; +using System.Linq; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VSSDK.Tools.VsIdeTesting; +using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.Shell; +using EnvDTE; + +namespace MXA_Game_Studio_IntegrationTests { + /// + /// Integration test for package validation + /// + [TestClass] + public class PackageTest { + private delegate void ThreadInvoker( ); + + private TestContext testContextInstance; + + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext { + get { + return testContextInstance; + } + set { + testContextInstance = value; + } + } + + [TestMethod] + [HostType("VS IDE")] + public void PackageLoadTest( ) { + UIThreadInvoker.Invoke((ThreadInvoker)delegate( ) { + + //Get the Shell Service + IVsShell shellService = VsIdeTestHostContext.ServiceProvider.GetService(typeof(SVsShell)) as IVsShell; + Assert.IsNotNull(shellService); + + //Validate package load + IVsPackage package; + Guid packageGuid = new Guid(InsmaSoftware.MXA_Game_Studio.GuidList.guidMXA_Game_StudioPkgString); + Assert.IsTrue(0 == shellService.LoadPackage(ref packageGuid, out package)); + Assert.IsNotNull(package, "Package failed to load"); + + }); + } + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CPPProjectTests.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CPPProjectTests.cs new file mode 100644 index 0000000..00747e0 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CPPProjectTests.cs @@ -0,0 +1,103 @@ +using System; +using System.Text; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VsSDK.IntegrationTestLibrary; +using Microsoft.VSSDK.Tools.VsIdeTesting; +using EnvDTE; +using System.IO; + +namespace MXA_Game_Studio_IntegrationTests.IntegrationTests { + [TestClass] + public class CPPProjectTests { + #region fields + private delegate void ThreadInvoker( ); + private TestContext _testContext; + #endregion + + #region properties + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext { + get { return _testContext; } + set { _testContext = value; } + } + #endregion + + #region ctors + public CPPProjectTests( ) { + } + #endregion + + #region Additional test attributes + // + // You can use the following additional attributes as you write your tests: + // + // Use ClassInitialize to run code before running the first test in the class + // [ClassInitialize()] + // public static void MyClassInitialize(TestContext testContext) { } + // + // Use ClassCleanup to run code after all tests in a class have run + // [ClassCleanup()] + // public static void MyClassCleanup() { } + // + // Use TestInitialize to run code before running each test + // [TestInitialize()] + // public void MyTestInitialize() { } + // + // Use TestCleanup to run code after each test has run + // [TestCleanup()] + // public void MyTestCleanup() { } + // + #endregion + + [HostType("VS IDE")] + [TestMethod] + public void CPPWinformsApplication( ) { + UIThreadInvoker.Invoke((ThreadInvoker)delegate( ) { + //Solution and project creation parameters + string solutionName = "CPPWinApp"; + string projectName = "CPPWinApp"; + + //Template parameters + string projectType = "{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}"; + string projectTemplateName = Path.Combine("vcNet", "mc++appwiz.vsz"); + + string itemTemplateName = "newc++file.cpp"; + string newFileName = "Test.cpp"; + + DTE dte = (DTE)VsIdeTestHostContext.ServiceProvider.GetService(typeof(DTE)); + + TestUtils testUtils = new TestUtils( ); + + testUtils.CreateEmptySolution(TestContext.TestDir, solutionName); + Assert.AreEqual(0, testUtils.ProjectCount( )); + + //Add new CPP Windows application project to existing solution + string solutionDirectory = Directory.GetParent(dte.Solution.FullName).FullName; + string projectDirectory = TestUtils.GetNewDirectoryName(solutionDirectory, projectName); + string projectTemplatePath = Path.Combine(dte.Solution.get_TemplatePath(projectType), projectTemplateName); + Assert.IsTrue(File.Exists(projectTemplatePath), string.Format("Could not find template file: {0}", projectTemplatePath)); + dte.Solution.AddFromTemplate(projectTemplatePath, projectDirectory, projectName, false); + + //Verify that the new project has been added to the solution + Assert.AreEqual(1, testUtils.ProjectCount( )); + + //Get the project + Project project = dte.Solution.Item(1); + Assert.IsNotNull(project); + Assert.IsTrue(string.Compare(project.Name, projectName, StringComparison.InvariantCultureIgnoreCase) == 0); + + //Verify Adding new code file to project + string newItemTemplatePath = Path.Combine(dte.Solution.ProjectItemsTemplatePath(projectType), itemTemplateName); + Assert.IsTrue(File.Exists(newItemTemplatePath)); + ProjectItem item = project.ProjectItems.AddFromTemplate(newItemTemplatePath, newFileName); + Assert.IsNotNull(item); + + }); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CSharpProjectTests.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CSharpProjectTests.cs new file mode 100644 index 0000000..f52d794 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/CSharpProjectTests.cs @@ -0,0 +1,77 @@ +using System; +using System.Text; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VsSDK.IntegrationTestLibrary; +using Microsoft.VSSDK.Tools.VsIdeTesting; + +namespace MXA_Game_Studio_IntegrationTests.IntegrationTests { + [TestClass] + public class CSharpProjectTests { + #region fields + private delegate void ThreadInvoker( ); + private TestContext _testContext; + #endregion + + #region properties + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext { + get { return _testContext; } + set { _testContext = value; } + } + #endregion + + #region ctors + public CSharpProjectTests( ) { + } + #endregion + + #region Additional test attributes + // + // You can use the following additional attributes as you write your tests: + // + // Use ClassInitialize to run code before running the first test in the class + // [ClassInitialize()] + // public static void MyClassInitialize(TestContext testContext) { } + // + // Use ClassCleanup to run code after all tests in a class have run + // [ClassCleanup()] + // public static void MyClassCleanup() { } + // + // Use TestInitialize to run code before running each test + // [TestInitialize()] + // public void MyTestInitialize() { } + // + // Use TestCleanup to run code after each test has run + // [TestCleanup()] + // public void MyTestCleanup() { } + // + #endregion + + [TestMethod] + [HostType("VS IDE")] + public void WinformsApplication( ) { + UIThreadInvoker.Invoke((ThreadInvoker)delegate( ) { + TestUtils testUtils = new TestUtils( ); + + testUtils.CreateEmptySolution(TestContext.TestDir, "CSWinApp"); + Assert.AreEqual(0, testUtils.ProjectCount( )); + + //Create Winforms application project + //TestUtils.CreateProjectFromTemplate("MyWindowsApp", "Windows Application", "CSharp", false); + //Assert.AreEqual(1, TestUtils.ProjectCount()); + + //TODO Verify that we can debug launch the application + + //TODO Set Break point and verify that will hit + + //TODO Verify Adding new project item to project + + }); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/SolutionTests.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/SolutionTests.cs new file mode 100644 index 0000000..9129e18 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/SolutionTests.cs @@ -0,0 +1,49 @@ +using System; +using System.Text; +using System.Collections.Generic; +using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VSSDK.Tools.VsIdeTesting; +using EnvDTE; +using System.IO; +using Microsoft.VsSDK.IntegrationTestLibrary; + + +namespace MXA_Game_Studio_IntegrationTests.IntegrationTests { + [TestClass] + public class SolutionTests { + #region fields + private delegate void ThreadInvoker( ); + private TestContext _testContext; + #endregion + + #region properties + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext { + get { return _testContext; } + set { _testContext = value; } + } + #endregion + + + #region ctors + public SolutionTests( ) { + } + + #endregion + + [TestMethod] + [HostType("VS IDE")] + public void CreateEmptySolution( ) { + UIThreadInvoker.Invoke((ThreadInvoker)delegate( ) { + TestUtils testUtils = new TestUtils( ); + testUtils.CloseCurrentSolution(__VSSLNSAVEOPTIONS.SLNSAVEOPT_NoSave); + testUtils.CreateEmptySolution(TestContext.TestDir, "EmptySolution"); + }); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/VBProjectTests.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/VBProjectTests.cs new file mode 100644 index 0000000..5089efd --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_IntegrationTests/SignOff-Tests/VBProjectTests.cs @@ -0,0 +1,95 @@ +using System; +using System.Text; +using System.Collections.Generic; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using Microsoft.VsSDK.IntegrationTestLibrary; +using Microsoft.VSSDK.Tools.VsIdeTesting; +using EnvDTE; + +namespace MXA_Game_Studio_IntegrationTests.IntegrationTests { + [TestClass] + public class VisualBasicProjectTests { + #region fields + private delegate void ThreadInvoker( ); + private TestContext _testContext; + #endregion + + #region properties + /// + ///Gets or sets the test context which provides + ///information about and functionality for the current test run. + /// + public TestContext TestContext { + get { return _testContext; } + set { _testContext = value; } + } + #endregion + + #region ctors + public VisualBasicProjectTests( ) { + } + #endregion + + #region Additional test attributes + // + // You can use the following additional attributes as you write your tests: + // + // Use ClassInitialize to run code before running the first test in the class + // [ClassInitialize()] + // public static void MyClassInitialize(TestContext testContext) { } + // + // Use ClassCleanup to run code after all tests in a class have run + // [ClassCleanup()] + // public static void MyClassCleanup() { } + // + // Use TestInitialize to run code before running each test + // [TestInitialize()] + // public void MyTestInitialize() { } + // + // Use TestCleanup to run code after each test has run + // [TestCleanup()] + // public void MyTestCleanup() { } + // + #endregion + + [HostType("VS IDE")] + [TestMethod] + public void VBWinformsApplication( ) { + UIThreadInvoker.Invoke((ThreadInvoker)delegate( ) { + //Solution and project creation parameters + string solutionName = "VBWinApp"; + string projectName = "VBWinApp"; + + //Template parameters + string language = "VisualBasic"; + string projectTemplateName = "WindowsApplication.Zip"; + string itemTemplateName = "CodeFile.zip"; + string newFileName = "Test.vb"; + + DTE dte = (DTE)VsIdeTestHostContext.ServiceProvider.GetService(typeof(DTE)); + + TestUtils testUtils = new TestUtils( ); + + testUtils.CreateEmptySolution(TestContext.TestDir, solutionName); + Assert.AreEqual(0, testUtils.ProjectCount( )); + + //Add new Windows application project to existing solution + testUtils.CreateProjectFromTemplate(projectName, projectTemplateName, language, false); + + //Verify that the new project has been added to the solution + Assert.AreEqual(1, testUtils.ProjectCount( )); + + //Get the project + Project project = dte.Solution.Item(1); + Assert.IsNotNull(project); + Assert.IsTrue(string.Compare(project.Name, projectName, StringComparison.InvariantCultureIgnoreCase) == 0); + + //Verify Adding new code file to project + ProjectItem newCodeFileItem = testUtils.AddNewItemFromVsTemplate(project.ProjectItems, itemTemplateName, language, newFileName); + Assert.IsNotNull(newCodeFileItem, "Could not create new project item"); + + }); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/Key.snk b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/Key.snk new file mode 100644 index 0000000..9de1bc8 Binary files /dev/null and b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/Key.snk differ diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/MXA Game Studio_UnitTests.csproj b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/MXA Game Studio_UnitTests.csproj new file mode 100644 index 0000000..f83f247 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/MXA Game Studio_UnitTests.csproj @@ -0,0 +1,76 @@ + + + + Debug + AnyCPU + 2.0 + {C0E88DE1-972F-428F-A1F9-6F699E4102B2} + Library + Properties + MXA_Game_Studio_UnitTests + MXA Game Studio_UnitTests + v4.5 + {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + Key.snk + + + true + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + {F4C3627D-751F-4517-96C1-1D661F2E75A5} + MXA Game Studio + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/PackageTest.cs b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/PackageTest.cs new file mode 100644 index 0000000..eb0e0b1 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXA Game Studio_UnitTests/PackageTest.cs @@ -0,0 +1,51 @@ +/*************************************************************************** + +Copyright (c) Microsoft Corporation. All rights reserved. +This code is licensed under the Visual Studio SDK license terms. +THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF +ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY +IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR +PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT. + +***************************************************************************/ + +using System; +using System.Collections; +using System.Text; +using System.Reflection; +using Microsoft.VsSDK.UnitTestLibrary; +using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.TestTools.UnitTesting; +using InsmaSoftware.MXA_Game_Studio; + +namespace MXA_Game_Studio_UnitTests { + [TestClass( )] + public class PackageTest { + [TestMethod( )] + public void CreateInstance( ) { + MXAGameStudioPackage package = new MXAGameStudioPackage( ); + } + + [TestMethod( )] + public void IsIVsPackage( ) { + MXAGameStudioPackage package = new MXAGameStudioPackage( ); + Assert.IsNotNull(package as IVsPackage, "The object does not implement IVsPackage"); + } + + [TestMethod( )] + public void SetSite( ) { + // Create the package + IVsPackage package = new MXAGameStudioPackage( ) as IVsPackage; + Assert.IsNotNull(package, "The object does not implement IVsPackage"); + + // Create a basic service provider + OleServiceProvider serviceProvider = OleServiceProvider.CreateOleServiceProviderWithBasicServices( ); + + // Site the package + Assert.AreEqual(0, package.SetSite(serviceProvider), "SetSite did not return S_OK"); + + // Unsite the package + Assert.AreEqual(0, package.SetSite(null), "SetSite(null) did not return S_OK"); + } + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/MXAGameStudioPackage.cs b/MXA-Game-Studio/src/MXA Game Studio/MXAGameStudioPackage.cs new file mode 100644 index 0000000..e44067f --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/MXAGameStudioPackage.cs @@ -0,0 +1,74 @@ +using System; +using System.Diagnostics; +using System.Globalization; +using System.Runtime.InteropServices; +using System.ComponentModel.Design; +using Microsoft.Win32; +using Microsoft.VisualStudio; +using Microsoft.VisualStudio.Shell.Interop; +using Microsoft.VisualStudio.OLE.Interop; +using Microsoft.VisualStudio.Shell; +using InsmaSoftware.MXA_Game_Studio.ProjectFlavor; + +namespace InsmaSoftware.MXA_Game_Studio { + /// + /// This is the class that implements the package exposed by this assembly. + /// + /// The minimum requirement for a class to be considered a valid package for Visual Studio + /// is to implement the IVsPackage interface and register itself with the shell. + /// This package uses the helper classes defined inside the Managed Package Framework (MPF) + /// to do it: it derives from the Package class that provides the implementation of the + /// IVsPackage interface and uses the registration attributes defined in the framework to + /// register itself and its components with the shell. + /// + // This attribute tells the PkgDef creation utility (CreatePkgDef.exe) that this class is + // a package. + [PackageRegistration(UseManagedResourcesOnly = true)] + // Register the PropertyPage. + [ProvideObject(typeof(CustomPropertyPage), RegisterUsing = RegistrationMethod.CodeBase)] + // Register the project (note that we do not specify the extension as we use the + // same one as the base project). + [ProvideProjectFactory(typeof(CustomPropertyPageProjectFactory), + "Task Project", + null, + null, + null, + ".\\NullPath")] + // This attribute is used to register the information needed to show this package + // in the Help/About dialog of Visual Studio. + [InstalledProductRegistration("#110", "#112", "1.0", IconResourceID = 400)] + [Guid(GuidList.guidMXA_Game_StudioPkgString)] + public sealed class MXAGameStudioPackage : Package { + /// + /// Default constructor of the package. + /// Inside this method you can place any initialization code that does not require + /// any Visual Studio service because at this point the package object is created but + /// not sited yet inside Visual Studio environment. The place to do all the other + /// initialization is the Initialize method. + /// + public MXAGameStudioPackage( ) { + Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this.ToString( ))); + } + + + + ///////////////////////////////////////////////////////////////////////////// + // Overridden Package Implementation + #region Package Members + + /// + /// Initialization of the package; this method is called right after the package is sited, so this is the place + /// where you can put all the initialization code that rely on services provided by VisualStudio. + /// + protected override void Initialize( ) { + Debug.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering Initialize() of: {0}", this.ToString( ))); + base.Initialize( ); + this.RegisterProjectFactory(new CustomPropertyPageProjectFactory(this)); + } + #endregion + + internal object GetVsService(Type type) { + return this.GetService(type); + } + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPage.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPage.cs new file mode 100644 index 0000000..7a01a63 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPage.cs @@ -0,0 +1,64 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPage.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The CustomPropertyPage Class inherits the PropertyPage Class and overrides + * the GetNewPageView and GetNewPropertyStore methods. For more detailed + * description, see the PropertyPage Class. + * + * This class will be provided by this Package. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Runtime.InteropServices; +using InsmaSoftware.MXA_Game_Studio.PropertyPageBase; + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + [Guid("1E2800FE-37C5-4FD3-BC2E-969342EE08AF")] + class CustomPropertyPage : PropertyPage { + + #region Overriden Properties and Methods + + /// + /// Help keyword that should be associated with the page + /// + protected override string HelpKeyword { + // TODO: Put your help keyword here + get { return String.Empty; } + } + + /// + /// Title of the property page. + /// + public override string Title { + get { return "Custom"; } + } + + /// + /// Provide the view of our properties. + /// + /// + protected override IPageView GetNewPageView( ) { + return new CustomPropertyPageView(this); + } + + /// + /// Use a store implementation designed for flavors. + /// + /// Store for our properties + protected override IPropertyStore GetNewPropertyStore( ) { + return new CustomPropertyPagePropertyStore( ); + } + + #endregion + } +} \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFactory.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFactory.cs new file mode 100644 index 0000000..619c2a7 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFactory.cs @@ -0,0 +1,94 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPageProjectFactory.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * This is the project factory for our project flavor. + * + * How Project SubType Work: + * + * First, we have to register our CustomPropertyPageProjectFactory to Visual Studio. + * + * Second, we need a Project Template, which is created by the CSVSXProjectSubTypeTemplate + * project. + * + * The ProjectTemplate.csproj in CSVSXProjectSubTypeTemplate contains following script + * + * {3C53C28F-DC44-46B0-8B85-0C96B85B2042}; + * {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + * + * + * {3C53C28F-DC44-46B0-8B85-0C96B85B2042} is the Guid of the CustomPropertyPageProjectFactory. + * {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} means CSharp project. + * + * At last, When Visual Studio is creating or opening a CSharp project with above ProjectTypeGuids, + * 1. The environment calls the base project (CSharp Project)'s CreateProject, and while the + * project parses its project file it discovers that the aggregate project type GUIDs list + * is not null. The project discontinues directly creating its project. + * + * 2. If there are multiple project type GUIDs, the environment makes recursive function calls to + * your implementations of PreCreateForOuter, + * Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProject.SetInnerProject(System.Object) + * and InitializeForOuter methods while it is walking the list of project type GUIDs, + * starting with the outermost project subtype. + * + * 3. In the PreCreateForOuter method of the ProjectFactory, we can return our ProjectFlavor object, + * which can customize the Property Page. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Runtime.InteropServices; +using Microsoft.VisualStudio.Shell.Flavor; + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + + /// + /// The project factory for our project flavor. + /// + [Guid(CustomPropertyPageProjectFactoryGuidString)] + public class CustomPropertyPageProjectFactory : FlavoredProjectFactoryBase { + + public const string CustomPropertyPageProjectFactoryGuidString = + "3C53C28F-DC44-46B0-8B85-0C96B85B2042"; + public static readonly Guid CustomPropertyPageProjectFactoryGuid = + new Guid(CustomPropertyPageProjectFactoryGuidString); + + // With this package, we can get access to VS services. + private MXAGameStudioPackage package; + + public CustomPropertyPageProjectFactory(MXAGameStudioPackage package) + : base( ) { + this.package = package; + } + + #region IVsAggregatableProjectFactory + + /// + /// Create an instance of CustomPropertyPageProjectFlavor. + /// The initialization will be done later when Visual Studio calls + /// InitalizeForOuter on it. + /// + /// + /// This value points to the outer project. It is useful if there is a + /// Project SubType of this Project SubType. + /// + /// + /// An CustomPropertyPageProjectFlavor instance that has not been initialized. + /// + protected override object PreCreateForOuter(IntPtr outerProjectIUnknown) { + CustomPropertyPageProjectFlavor newProject = new CustomPropertyPageProjectFlavor( ); + newProject.Package = this.package; + return newProject; + } + + #endregion + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavor.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavor.cs new file mode 100644 index 0000000..686b745 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavor.cs @@ -0,0 +1,182 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPageProjectFlavor.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * A Project SubType, or called ProjectFlavor, is a flavor of an inner project. + * The default behavior of all methods is to delegate to the inner project. + * For any behavior you want to change, simply handle the request yourself, + * and delegate to the base class any case you don't want to handle. + * + * In this CustomPropertyPageProjectFlavor, we demonstrate 2 features + * 1. Add our custom Property Page. + * 2. Remove the default Service Property Page. + * + * By overriding GetProperty method and using propId parameter containing one of + * the values of the __VSHPROPID2 enumeration, we can filter, add or remove project + * properties. + * + * For example, to add a page to the configuration-dependent property pages, we + * need to filter configuration-dependent property pages and then add a new page + * to the existing list. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Runtime.InteropServices; +using Microsoft.VisualStudio; +using Microsoft.VisualStudio.Shell.Flavor; +using Microsoft.VisualStudio.Shell.Interop; + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + + public class CustomPropertyPageProjectFlavor : + FlavoredProjectBase, + IVsProjectFlavorCfgProvider { + // Internal so that our config can have easy access to it. + // With this package, we can get access to VS services. + internal MXAGameStudioPackage Package { get; set; } + + // The IVsProjectFlavorCfgProvider of the inner project. + // Because we are flavoring the base project directly, it is always null. + protected IVsProjectFlavorCfgProvider innerVsProjectFlavorCfgProvider = null; + + public CustomPropertyPageProjectFlavor( ) { + } + + #region Overriden Methods + + /// + /// This is were all QI for interface on the inner object should happen. + /// Then set the inner project wait for InitializeForOuter to be called to do + /// the real initialization + /// + /// + protected override void SetInnerProject(IntPtr innerIUnknown) { + object objectForIUnknown = null; + objectForIUnknown = Marshal.GetObjectForIUnknown(innerIUnknown); + if (base.serviceProvider == null) { + base.serviceProvider = this.Package; + } + base.SetInnerProject(innerIUnknown); + this.innerVsProjectFlavorCfgProvider = + objectForIUnknown as IVsProjectFlavorCfgProvider; + } + + /// + /// Release the innerVsProjectFlavorCfgProvider when closed. + /// + protected override void Close( ) { + base.Close( ); + if (innerVsProjectFlavorCfgProvider != null) { + if (Marshal.IsComObject(innerVsProjectFlavorCfgProvider)) { + Marshal.ReleaseComObject(innerVsProjectFlavorCfgProvider); + } + innerVsProjectFlavorCfgProvider = null; + } + } + + /// + /// By overriding GetProperty method and using propId parameter containing one of + /// the values of the __VSHPROPID2 enumeration, we can filter, add or remove project + /// properties. + /// + /// For example, to add a page to the configuration-dependent property pages, we + /// need to filter configuration-dependent property pages and then add a new page + /// to the existing list. + /// + protected override int GetProperty(uint itemId, int propId, out object property) { + if (propId == (int)__VSHPROPID2.VSHPROPID_CfgPropertyPagesCLSIDList) { + // Get a semicolon-delimited list of clsids of the configuration-dependent + // property pages. + ErrorHandler.ThrowOnFailure(base.GetProperty(itemId, propId, out property)); + + // Add the CustomPropertyPage property page. + property += ';' + typeof(CustomPropertyPage).GUID.ToString("B"); + + return VSConstants.S_OK; + } + + if (propId == (int)__VSHPROPID2.VSHPROPID_PropertyPagesCLSIDList) { + + // Get the list of priority page guids from the base project system. + ErrorHandler.ThrowOnFailure(base.GetProperty(itemId, propId, out property)); + string pageList = (string)property; + + // Remove the Services page from the project designer. + string servicesPageGuidString = "{43E38D2E-43B8-4204-8225-9357316137A4}"; + + RemoveFromCLSIDList(ref pageList, servicesPageGuidString); + property = pageList; + return VSConstants.S_OK; + } + + return base.GetProperty(itemId, propId, out property); + } + + private void RemoveFromCLSIDList(ref string pageList, string pageGuidString) { + // Remove the specified page guid from the string of guids. + int index = + pageList.IndexOf(pageGuidString, StringComparison.OrdinalIgnoreCase); + + if (index != -1) { + // Guids are separated by ';', so we need to ensure we remove the ';' + // when removing the last guid in the list. + int index2 = index + pageGuidString.Length + 1; + if (index2 >= pageList.Length) { + pageList = pageList.Substring(0, index).TrimEnd(';'); + } else { + pageList = pageList.Substring(0, index) + pageList.Substring(index2); + } + } else { + throw new ArgumentException( + string.Format("Cannot find the Page {0} in the Page List {1}", + pageGuidString, pageList)); + } + } + + #endregion + + #region IVsProjectFlavorCfgProvider Members + + /// + /// Allows the base project to ask the project subtype to create an + /// IVsProjectFlavorCfg object corresponding to each one of its + /// (project subtype's) configuration objects. + /// + /// + /// The IVsCfg object of the base project. + /// + /// + /// The IVsProjectFlavorCfg object of the project subtype. + /// + /// + public int CreateProjectFlavorCfg(IVsCfg pBaseProjectCfg, + out IVsProjectFlavorCfg ppFlavorCfg) { + IVsProjectFlavorCfg cfg = null; + + if (innerVsProjectFlavorCfgProvider != null) { + innerVsProjectFlavorCfgProvider. + CreateProjectFlavorCfg(pBaseProjectCfg, out cfg); + } + + CustomPropertyPageProjectFlavorCfg configuration = + new CustomPropertyPageProjectFlavorCfg( ); + + configuration.Initialize(this, pBaseProjectCfg, cfg); + ppFlavorCfg = (IVsProjectFlavorCfg)configuration; + + return VSConstants.S_OK; + } + + #endregion + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavorCfg.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavorCfg.cs new file mode 100644 index 0000000..76d655d --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageProjectFlavorCfg.cs @@ -0,0 +1,340 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPageProjectFlavorCfg.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The project subtype configuration object implements IVsProjectFlavorCfg to + * give the project subtype access to various configuration interfaces. + * + * The base project asks the project subtype to create an IVsProjectFlavorCfg + * object corresponding to each of its (project subtype's) configuration objects. + * The IVsProjectFlavorCfg objects can then, for example, implement IPersistXMLFragment + * to manage persistence into the project file. The base project system calls + * IPersistXMLFragment methods InitNew, Load and Save as appropriate. + * + * The IVsProjectFlavorCfg object can hold and add a referenced pointer to the + * IVsCfg object of the base project. + * + * The IPersistXMLFragment is used to persist non-build related data in free-form XML. + * The methods provided by IPersistXMLFragment are called by Visual Studio whenever + * Visual Studio needs to persist non-build related data in the project file. + * http://msdn.microsoft.com/en-us/library/bb166204.aspx + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Collections.Generic; +using System.Runtime.InteropServices; +using System.Xml; +using Microsoft.VisualStudio; +using Microsoft.VisualStudio.Shell.Interop; + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + [ComVisible(false)] + internal class CustomPropertyPageProjectFlavorCfg : + IVsProjectFlavorCfg, + IPersistXMLFragment { + + // This allow the property page to map a IVsCfg object (the baseConfiguration) + // to an actual instance of CustomPropertyPageProjectFlavorCfg. + static Dictionary mapIVsCfgToCustomPropertyPageProjectFlavorCfg = + new Dictionary( ); + + internal static CustomPropertyPageProjectFlavorCfg GetCustomPropertyPageProjectFlavorCfgFromIVsCfg(IVsCfg configuration) { + if (mapIVsCfgToCustomPropertyPageProjectFlavorCfg.ContainsKey(configuration)) { + return (CustomPropertyPageProjectFlavorCfg)mapIVsCfgToCustomPropertyPageProjectFlavorCfg[configuration]; + } else { + throw new ArgumentOutOfRangeException( + "Cannot find configuration in mapIVsCfgToSpecializedCfg."); + } + } + + // Specify whether this is changed. + private bool isDirty = false; + + // Store all the Properties of this configuration. + private Dictionary propertiesList = + new Dictionary( ); + + // Store the CustomPropertyPageProjectFlavor object when this instance is + // initialized. + // This field is not used to customize the PropertyPage, but it is useful to + // customize the debug behavior. + private IVsHierarchy project; + + // The IVsCfg object of the base project. + private IVsCfg baseConfiguration; + + // The IVsProjectFlavorCfg object of the inner project subtype. + private IVsProjectFlavorCfg innerConfiguration; + + /// + /// Get or set a Property. + /// + /// + /// + public string this[string propertyName] { + get { + if (propertiesList.ContainsKey(propertyName)) { + return propertiesList[propertyName]; + } + return String.Empty; + } + set { + // Don't do anything if there isn't any real change + if (this[propertyName] == value) { + return; + } + + isDirty = true; + if (propertiesList.ContainsKey(propertyName)) { + propertiesList.Remove(propertyName); + } + propertiesList.Add(propertyName, value); + } + } + + /// + /// Initialize the CustomPropertyPageProjectFlavorCfg instance. + /// + public void Initialize(CustomPropertyPageProjectFlavor project, + IVsCfg baseConfiguration, IVsProjectFlavorCfg innerConfiguration) { + this.project = project; + this.baseConfiguration = baseConfiguration; + this.innerConfiguration = innerConfiguration; + mapIVsCfgToCustomPropertyPageProjectFlavorCfg.Add(baseConfiguration, this); + } + + #region IVsProjectFlavorCfg Members + + /// + /// Provides access to a configuration interfaces such as IVsBuildableProjectCfg2 + /// or IVsDebuggableProjectCfg. + /// + /// IID of the interface that is being asked + /// Object that implement the interface + /// HRESULT + public int get_CfgType(ref Guid iidCfg, out IntPtr ppCfg) { + ppCfg = IntPtr.Zero; + if (this.innerConfiguration != null) { + return this.innerConfiguration.get_CfgType(ref iidCfg, out ppCfg); + } + return VSConstants.S_OK; + } + + /// + /// Closes the IVsProjectFlavorCfg object. + /// + /// + public int Close( ) { + + mapIVsCfgToCustomPropertyPageProjectFlavorCfg.Remove(this.baseConfiguration); + int hr = this.innerConfiguration.Close( ); + + if (this.project != null) { + this.project = null; + } + + if (this.baseConfiguration != null) { + if (Marshal.IsComObject(this.baseConfiguration)) { + Marshal.ReleaseComObject(this.baseConfiguration); + } + this.baseConfiguration = null; + } + + if (this.innerConfiguration != null) { + if (Marshal.IsComObject(this.innerConfiguration)) { + Marshal.ReleaseComObject(this.innerConfiguration); + } + this.innerConfiguration = null; + } + return hr; + } + + #endregion + + #region IPersistXMLFragment Members + + /// + /// Implement the InitNew method to initialize the project extension properties + /// and other build-independent data. This method is called if there is no XML + /// configuration data present in the project file. + /// + /// + /// GUID of the project subtype. + /// + /// + /// + public int InitNew(ref Guid guidFlavor, uint storage) { + //Return,if it is our guid. + if (IsMyFlavorGuid(ref guidFlavor)) { + return VSConstants.S_OK; + } + + //Forward the call to inner flavor(s). + if (this.innerConfiguration != null + && this.innerConfiguration is IPersistXMLFragment) { + return ((IPersistXMLFragment)this.innerConfiguration) + .InitNew(ref guidFlavor, storage); + } + + return VSConstants.S_OK; + } + + /// + /// Implement the IsFragmentDirty method to determine whether an XML fragment has + /// changed since it was last saved to its current file. + /// + /// + /// Storage type of the file in which the XML is persisted. Values are taken + /// from _PersistStorageType enumeration. + /// + /// + /// + public int IsFragmentDirty(uint storage, out int pfDirty) { + pfDirty = 0; + switch (storage) { + // Specifies storage file type to project file. + case (uint)_PersistStorageType.PST_PROJECT_FILE: + if (isDirty) { + pfDirty |= 1; + } + break; + + // Specifies storage file type to user file. + case (uint)_PersistStorageType.PST_USER_FILE: + // Do not store anything in the user file. + break; + } + + // Forward the call to inner flavor(s) + if (pfDirty == 0 && this.innerConfiguration != null + && this.innerConfiguration is IPersistXMLFragment) { + return ((IPersistXMLFragment)this.innerConfiguration) + .IsFragmentDirty(storage, out pfDirty); + } + return VSConstants.S_OK; + + } + + /// + /// Implement the Load method to load the XML data from the project file. + /// + /// + /// GUID of the project subtype. + /// + /// + /// Storage type of the file in which the XML is persisted. Values are taken + /// from _PersistStorageType enumeration. + /// + /// + /// String containing the XML fragment. + /// + public int Load(ref Guid guidFlavor, uint storage, string pszXMLFragment) { + if (IsMyFlavorGuid(ref guidFlavor)) { + switch (storage) { + case (uint)_PersistStorageType.PST_PROJECT_FILE: + // Load our data from the XML fragment. + XmlDocument doc = new XmlDocument( ); + XmlNode node = doc.CreateElement(this.GetType( ).Name); + node.InnerXml = pszXMLFragment; + if (node == null || node.FirstChild == null) + break; + + // Load all the properties + foreach (XmlNode child in node.FirstChild.ChildNodes) { + propertiesList.Add(child.Name, child.InnerText); + } + break; + case (uint)_PersistStorageType.PST_USER_FILE: + // Do not store anything in the user file. + break; + } + } + + // Forward the call to inner flavor(s) + if (this.innerConfiguration != null + && this.innerConfiguration is IPersistXMLFragment) { + return ((IPersistXMLFragment)this.innerConfiguration) + .Load(ref guidFlavor, storage, pszXMLFragment); + } + + return VSConstants.S_OK; + + } + + + /// + /// Implement the Save method to save the XML data in the project file. + /// + /// + /// GUID of the project subtype. + /// + /// + /// Storage type of the file in which the XML is persisted. Values are taken + /// from _PersistStorageType enumeration. + /// + /// + /// String containing the XML fragment. + /// + /// + /// Indicates whether to clear the dirty flag after the save is complete. + /// If true, the flag should be cleared. If false, the flag should be left + /// unchanged. + /// + /// + public int Save(ref Guid guidFlavor, uint storage, out string pbstrXMLFragment, int fClearDirty) { + pbstrXMLFragment = null; + + if (IsMyFlavorGuid(ref guidFlavor)) { + switch (storage) { + case (uint)_PersistStorageType.PST_PROJECT_FILE: + // Create XML for our data (a string and a bool). + XmlDocument doc = new XmlDocument( ); + XmlNode root = doc.CreateElement(this.GetType( ).Name); + + foreach (KeyValuePair property in propertiesList) { + XmlNode node = doc.CreateElement(property.Key); + node.AppendChild(doc.CreateTextNode(property.Value)); + root.AppendChild(node); + } + + doc.AppendChild(root); + // Get XML fragment representing our data + pbstrXMLFragment = doc.InnerXml; + + if (fClearDirty != 0) + isDirty = false; + break; + case (uint)_PersistStorageType.PST_USER_FILE: + // Do not store anything in the user file. + break; + } + } + + // Forward the call to inner flavor(s) + if (this.innerConfiguration != null + && this.innerConfiguration is IPersistXMLFragment) { + return ((IPersistXMLFragment)this.innerConfiguration) + .Save(ref guidFlavor, storage, out pbstrXMLFragment, fClearDirty); + } + + return VSConstants.S_OK; + } + + #endregion + + private bool IsMyFlavorGuid(ref Guid guidFlavor) { + return guidFlavor.Equals( + CustomPropertyPageProjectFactory.CustomPropertyPageProjectFactoryGuid); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPagePropertyStore.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPagePropertyStore.cs new file mode 100644 index 0000000..29e60ad --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPagePropertyStore.cs @@ -0,0 +1,120 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPagePropertyStore.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The CustomPropertyPagePropertyStore Class implements the IPropertyStore + * Interface. It is used to store the Properties of a PropertyPage object. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Collections.Generic; +using InsmaSoftware.MXA_Game_Studio.PropertyPageBase; +using Microsoft.VisualStudio.Shell.Interop; + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + public class CustomPropertyPagePropertyStore : IDisposable, IPropertyStore { + private bool disposed = false; + + private List configs = + new List( ); + + public event StoreChangedDelegate StoreChanged; + + #region IPropertyStore Members + /// + /// Use the data passed in to initialize the Properties. + /// + /// + /// This is normally only one our configuration object, which means that + /// there will be only one elements in configs. + /// If it is null, we should release it. + /// + public void Initialize(object[] dataObjects) { + // If we are editing multiple configuration at once, we may get multiple objects. + foreach (object dataObject in dataObjects) { + if (dataObject is IVsCfg) { + // This should be our configuration object, so retrive the specific + // class so we can access its properties. + CustomPropertyPageProjectFlavorCfg config = CustomPropertyPageProjectFlavorCfg + .GetCustomPropertyPageProjectFlavorCfgFromIVsCfg((IVsCfg)dataObject); + + if (!configs.Contains(config)) { + configs.Add(config); + } + } + } + } + + /// + /// Set the value of the specified property in storage. + /// + /// Name of the property to set. + /// Value to set the property to. + public void Persist(string propertyName, string propertyValue) { + // If the value is null, make it empty. + if (propertyValue == null) { + propertyValue = String.Empty; + } + + foreach (CustomPropertyPageProjectFlavorCfg config in configs) { + // Set the property + config[propertyName] = propertyValue; + } + if (StoreChanged != null) { + StoreChanged( ); + } + } + + /// + /// Retreive the value of the specified property from storage + /// + /// Name of the property to retrieve + /// + public string PropertyValue(string propertyName) { + string value = null; + if (configs.Count > 0) + value = configs[0][propertyName]; + foreach (CustomPropertyPageProjectFlavorCfg config in configs) { + if (config[propertyName] != value) { + // multiple config with different value for the property + value = String.Empty; + break; + } + } + + return value; + } + + #endregion + + #region IDisposable Members + + public void Dispose( ) { + Dispose(true); + GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + // Protect from being called multiple times. + if (disposed) { + return; + } + + if (disposing) { + configs.Clear( ); + } + disposed = true; + } + #endregion + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.cs new file mode 100644 index 0000000..d75cf1b --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.cs @@ -0,0 +1,80 @@ +/****************************** Module Header ******************************\ + * Module Name: CustomPropertyPageView.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The CustomPropertyPageView Class inherits the PageView Class and overrides + * the PropertyControlTable Property, to which this class adds two Property + * Name / Control KeyValuePairs. For more detailed description, see the + * PageView Class. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Runtime.InteropServices; +using InsmaSoftware.MXA_Game_Studio.PropertyPageBase; + + +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor { + [Guid("2B384DB3-C478-4ff0-B6AF-785A161799CC")] + partial class CustomPropertyPageView : PageView { + public const string StringPropertyTag = "StringProperty"; + public const string BooleanPropertyTag = "BooleanProperty"; + + #region Constructors + /// + /// This is the runtime constructor. + /// + /// Site for the page. + public CustomPropertyPageView(IPageViewSite site) + : base(site) { + InitializeComponent( ); + } + /// + /// This constructor is only to enable winform designers + /// + public CustomPropertyPageView( ) { + InitializeComponent( ); + } + #endregion + + private PropertyControlTable propertyControlTable; + + /// + /// This property is used to map the control on a PageView object to a property + /// in PropertyStore object. + /// + /// This property will be called in the base class's constructor, which means that + /// the InitializeComponent has not been called and the Controls have not been + /// initialized. + /// + protected override PropertyControlTable PropertyControlTable { + get { + if (propertyControlTable == null) { + // This is the list of properties that will be persisted and their + // assciation to the controls. + propertyControlTable = new PropertyControlTable( ); + + // This means that this CustomPropertyPageView object has not been + // initialized. + if (string.IsNullOrEmpty(base.Name)) { + this.InitializeComponent( ); + } + + // Add two Property Name / Control KeyValuePairs. + propertyControlTable.Add(StringPropertyTag, tbStringProperty); + propertyControlTable.Add(BooleanPropertyTag, chkBooleanProperty); + } + return propertyControlTable; + } + } + } +} \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.designer.cs b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.designer.cs new file mode 100644 index 0000000..9d941d7 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.designer.cs @@ -0,0 +1,84 @@ +namespace InsmaSoftware.MXA_Game_Studio.ProjectFlavor +{ + partial class CustomPropertyPageView + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.lbStringProperty = new System.Windows.Forms.Label(); + this.tbStringProperty = new System.Windows.Forms.TextBox(); + this.chkBooleanProperty = new System.Windows.Forms.CheckBox(); + this.SuspendLayout(); + // + // lbStringProperty + // + this.lbStringProperty.AutoSize = true; + this.lbStringProperty.Location = new System.Drawing.Point(21, 25); + this.lbStringProperty.Name = "lbStringProperty"; + this.lbStringProperty.Size = new System.Drawing.Size(76, 13); + this.lbStringProperty.TabIndex = 0; + this.lbStringProperty.Text = "String Property"; + // + // tbStringProperty + // + this.tbStringProperty.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.tbStringProperty.Location = new System.Drawing.Point(115, 23); + this.tbStringProperty.Name = "tbStringProperty"; + this.tbStringProperty.Size = new System.Drawing.Size(326, 20); + this.tbStringProperty.TabIndex = 1; + // + // chkBooleanProperty + // + this.chkBooleanProperty.AutoSize = true; + this.chkBooleanProperty.Checked = true; + this.chkBooleanProperty.CheckState = System.Windows.Forms.CheckState.Checked; + this.chkBooleanProperty.Location = new System.Drawing.Point(21, 63); + this.chkBooleanProperty.Name = "chkBooleanProperty"; + this.chkBooleanProperty.Size = new System.Drawing.Size(107, 17); + this.chkBooleanProperty.TabIndex = 2; + this.chkBooleanProperty.Text = "Boolean Property"; + // + // CustomPropertyPageView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.Controls.Add(this.chkBooleanProperty); + this.Controls.Add(this.tbStringProperty); + this.Controls.Add(this.lbStringProperty); + this.Name = "CustomPropertyPageView"; + this.Size = new System.Drawing.Size(445, 232); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label lbStringProperty; + private System.Windows.Forms.TextBox tbStringProperty; + private System.Windows.Forms.CheckBox chkBooleanProperty; + } +} \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.resx b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/ProjectFlavor/CustomPropertyPageView.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/MXA Game Studio/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..fc54a20 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System; +using System.Reflection; +using System.Resources; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("MXA Game Studio")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Insma Software")] +[assembly: AssemblyProduct("MXA Game Studio")] +[assembly: AssemblyCopyright("")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] +[assembly: ComVisible(false)] +[assembly: CLSCompliant(false)] +[assembly: NeutralResourcesLanguage("en-US")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: + +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] + +[assembly: InternalsVisibleTo("MXA Game Studio_IntegrationTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001000be9ff9fc0f73bf92491567c0a94fe8d1e3a58cc807600e25fd8e7b7878cdfd60f47ddd6ea682613269843d9782ac8b806c42e32798e19951f8352e197be03c999ec99e92f0e5e3012185eb938f7444d560fad1e66ac30c6befd0188244664fc1676ba9b1053040b23f2e0c4204c74c368e6cc8f3e70f68ff25f1ec4541733bf")] +[assembly: InternalsVisibleTo("MXA Game Studio_UnitTests, PublicKey=00240000048000009400000006020000002400005253413100040000010001000be9ff9fc0f73bf92491567c0a94fe8d1e3a58cc807600e25fd8e7b7878cdfd60f47ddd6ea682613269843d9782ac8b806c42e32798e19951f8352e197be03c999ec99e92f0e5e3012185eb938f7444d560fad1e66ac30c6befd0188244664fc1676ba9b1053040b23f2e0c4204c74c368e6cc8f3e70f68ff25f1ec4541733bf")] diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/Constants.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/Constants.cs new file mode 100644 index 0000000..fc0a566 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/Constants.cs @@ -0,0 +1,42 @@ +/****************************** Module Header ******************************\ + * Module Name: IPageView.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * This class defines the constants used in this project. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public static class Constants { + #region Following constants are used in IPropertyPage::Show Method. + + public const int SW_SHOW = 5; + public const int SW_SHOWNORMAL = 1; + public const int SW_HIDE = 0; + + #endregion + + #region Following constants are used in IPropertyPageSite::OnStatusChange Method. + + /// + /// The values in the pages have changed, so the state of the + /// Apply button should be updated. + /// + public const int PROPPAGESTATUS_DIRTY = 0x1; + + /// + /// Now is an appropriate time to apply changes. + /// + public const int PROPPAGESTATUS_VALIDATE = 0x2; + + #endregion + } +} \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageView.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageView.cs new file mode 100644 index 0000000..1c8e0f7 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageView.cs @@ -0,0 +1,40 @@ +/****************************** Module Header ******************************\ + * Module Name: IPageView.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The IPageView Interface is implemented by the PageView Class. + * + * It provides the main UI features of a PageView object. Through this interface, + * the PropertyPage object can show / hide / move a PageView object. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Drawing; +using System.Windows.Forms; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public interface IPageView : IDisposable { + void HideView( ); + + void Initialize(Control parentControl, Rectangle rectangle); + + void MoveView(Rectangle rectangle); + + int ProcessAccelerator(ref Message message); + + void RefreshPropertyValues( ); + + void ShowView( ); + + Size ViewSize { get; } + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageViewSite.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageViewSite.cs new file mode 100644 index 0000000..473d826 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPageViewSite.cs @@ -0,0 +1,31 @@ +/****************************** Module Header ******************************\ + * Module Name: IPageViewSite.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The IPageViewSite Interface is implemented by the PropertyPage Class, and + * used by the PageView Class (or classes that inherit it). + * + * Through this interface, the PageView Class can get the property values + * stored in a PropertyPage object, and then use the values to initialize the + * controls on the PageView UI. If the controls are edited by the user, the + * PageView Class can notify the PropertyPage instance. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public interface IPageViewSite { + void PropertyChanged(string propertyName, string propertyValue); + + string GetValueForProperty(string propertyName); + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyPageUI.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyPageUI.cs new file mode 100644 index 0000000..d6be876 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyPageUI.cs @@ -0,0 +1,31 @@ +/****************************** Module Header ******************************\ + * Module Name: IPropertyPageUI.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The IPropertyPageUI Interface is implemented by the PageView Class. It + * provides the methods to get / set the value of the Controls on a PageView object. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System.Windows.Forms; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public delegate void UserEditCompleteHandler(Control control, string value); + + public interface IPropertyPageUI { + event UserEditCompleteHandler UserEditComplete; + + string GetControlValue(Control control); + void SetControlValue(Control control, string value); + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyStore.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyStore.cs new file mode 100644 index 0000000..fb77597 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/IPropertyStore.cs @@ -0,0 +1,35 @@ +/****************************** Module Header ******************************\ + * Module Name: IPropertyStore.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The IPropertyStore Interface is implemented by the CustomPropertyPagePropertyStore + * Class. + * + * It is used to store the Properties of a PropertyPage object. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public delegate void StoreChangedDelegate( ); + + public interface IPropertyStore { + event StoreChangedDelegate StoreChanged; + + void Dispose( ); + + void Initialize(object[] dataObject); + + void Persist(string propertyName, string propertyValue); + + string PropertyValue(string propertyName); + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PageView.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PageView.cs new file mode 100644 index 0000000..210daeb --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PageView.cs @@ -0,0 +1,217 @@ +/****************************** Module Header ******************************\ + * Module Name: PageView.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The PageView Class inherits from the UserControl and implements the IPageView + * and IPropertyPageUI interfaces. It is used to display the properties in a + * PropertyStore object that belongs to a PropertyPage object. + * + * Through the IPageView interface, the PageView object can be shown, hidden + * or moved. + * + * The PropertyControlTable property is used to map the control on a PageView object + * to a property in PropertyStore object. And through the IPropertyPageUI interface, + * the values of its controls could be accessed. + * + * NOTE: 1. This UserControl cannot be used directly, you have to design your own + * page view that inherits from it. + * + * 2. You can only access the values of its TextBox and CheckBox controls. + * If you want other controls, such as ComboBox, you have to override + * the methods of the IPropertyPageUI interface. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.ComponentModel; +using System.Drawing; +using System.Windows.Forms; +using Microsoft.VisualStudio; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public class PageView : UserControl, IPageView, IPropertyPageUI { + private PropertyControlMap propertyControlMap; + + /// + /// This property is used to map the control on a PageView object to a property + /// in PropertyStore object. + /// This property must be overriden. + /// + protected virtual PropertyControlTable PropertyControlTable { + get { + throw new NotImplementedException( ); + } + } + + /// + /// Occur if the value of a control changed. + /// + public event UserEditCompleteHandler UserEditComplete; + + + [EditorBrowsable(EditorBrowsableState.Never)] + public PageView( ) { + } + + public PageView(IPageViewSite pageViewSite) { + this.propertyControlMap = new PropertyControlMap( + pageViewSite, this, this.PropertyControlTable); + } + + #region IPageView members + + /// + /// Get the size of this UserControl. + /// + public Size ViewSize { + get { + return base.Size; + } + } + + /// + /// Make the PageView hide. + /// + public void HideView( ) { + base.Hide( ); + } + + /// + /// Initialize this PageView object. + /// + /// + /// The parent control of this PageView object. + /// + /// + /// The position of this PageView object. + /// + public virtual void Initialize(Control parentControl, Rectangle rectangle) { + base.SetBounds(rectangle.X, rectangle.Y, rectangle.Width, rectangle.Height); + base.Parent = parentControl; + + // Initialize the value of the Controls on this PageView object. + this.propertyControlMap.InitializeControls( ); + + // Register the event when the value of a Control changed. + foreach (Control control in this.PropertyControlTable.GetControls( )) { + TextBox tb = control as TextBox; + if (tb != null) { + tb.TextChanged += new EventHandler(this.TextBox_TextChanged); + } else { + CheckBox chk = control as CheckBox; + if (chk != null) { + chk.CheckedChanged += + new EventHandler(this.CheckBox_CheckedChanged); + } + } + } + this.OnInitialize( ); + } + + /// + /// Move to new position. + /// + public void MoveView(Rectangle rectangle) { + base.Location = new Point(rectangle.X, rectangle.Y); + base.Size = new Size(rectangle.Width, rectangle.Height); + } + + /// + /// Pass a keystroke to the property page for processing. + /// + public int ProcessAccelerator(ref Message keyboardMessage) { + if (Control.FromHandle(keyboardMessage.HWnd).PreProcessMessage(ref keyboardMessage)) { + return VSConstants.S_OK; + } + return VSConstants.S_FALSE; + } + + /// + /// Refresh the UI. + /// + public void RefreshPropertyValues( ) { + this.propertyControlMap.InitializeControls( ); + } + + /// + /// Show this PageView object. + /// + public void ShowView( ) { + base.Show( ); + } + + #endregion + + #region IPropertyPageUI + + /// + /// Get the value of a Control on this PageView object. + /// + public virtual string GetControlValue(Control control) { + CheckBox chk = control as CheckBox; + if (chk != null) { + return chk.Checked.ToString( ); + } + + TextBox tb = control as TextBox; + if (tb == null) { + throw new ArgumentOutOfRangeException( ); + } + return tb.Text; + } + + /// + /// Set the value of a Control on this PageView object. + /// + public virtual void SetControlValue(Control control, string value) { + CheckBox chk = control as CheckBox; + if (chk != null) { + bool flag; + if (!bool.TryParse(value, out flag)) { + flag = false; + } + chk.Checked = flag; + } else { + TextBox tb = control as TextBox; + if (tb != null) { + tb.Text = value; + } + } + } + + + #endregion + + /// + /// Raise the UserEditComplete event. + /// + private void CheckBox_CheckedChanged(object sender, EventArgs e) { + CheckBox chk = sender as CheckBox; + if (this.UserEditComplete != null) { + this.UserEditComplete(chk, chk.Checked.ToString( )); + } + } + + /// + /// Raise the UserEditComplete event. + /// + private void TextBox_TextChanged(object sender, EventArgs e) { + TextBox tb = sender as TextBox; + if (this.UserEditComplete != null) { + this.UserEditComplete(tb, tb.Text); + } + } + + protected virtual void OnInitialize( ) { + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlMap.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlMap.cs new file mode 100644 index 0000000..cfb02d8 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlMap.cs @@ -0,0 +1,80 @@ +/****************************** Module Header ******************************\ + * Module Name: PropertyControlMap.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The PropertyControlMap class is used to initialize the Controls on a PageView + * Object. + * + * The IPageViewSite Interface is implemented by the PropertyPage class, and + * the IPropertyPageUI Interface is implemented by the PageView Class. With the + * PropertyControlTable object, the PropertyControlMap object could get a Property + * value from a PropertyPage object, and use it to initialize the related Control + * on the PageView object. + * + * It provides the main UI features of a PageView object. Through this interface, + * the PropertyPage object can show / hide / move a PageView object. + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + + +using System.Windows.Forms; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public class PropertyControlMap { + + // The IPageViewSite Interface is implemented by the PropertyPage class. + private IPageViewSite pageViewSite; + + // The IPropertyPageUI Interface is implemented by the PageView Class. + private IPropertyPageUI propertyPageUI; + + // The PropertyControlTable class stores the Control / Property Name KeyValuePairs. + // A KeyValuePair contains a Control of a PageView object, and a Property Name of + // PropertyPage object. + private PropertyControlTable propertyControlTable; + + + public PropertyControlMap(IPageViewSite pageViewSite, + IPropertyPageUI propertyPageUI, PropertyControlTable propertyControlTable) { + this.propertyControlTable = propertyControlTable; + this.pageViewSite = pageViewSite; + this.propertyPageUI = propertyPageUI; + } + + /// + /// Initialize the Controls on a PageView Object using the Properties of + /// a PropertyPage object. + /// + public void InitializeControls( ) { + this.propertyPageUI.UserEditComplete -= + new UserEditCompleteHandler(this.propertyPageUI_UserEditComplete); + foreach (string str in this.propertyControlTable.GetPropertyNames( )) { + string valueForProperty = this.pageViewSite.GetValueForProperty(str); + Control controlFromPropertyName = + this.propertyControlTable.GetControlFromPropertyName(str); + + this.propertyPageUI.SetControlValue( + controlFromPropertyName, valueForProperty); + } + this.propertyPageUI.UserEditComplete += + new UserEditCompleteHandler(this.propertyPageUI_UserEditComplete); + } + + /// + /// Notify the PropertyPage object that a Control value is changed. + /// + private void propertyPageUI_UserEditComplete(Control control, string value) { + string propertyNameFromControl = this.propertyControlTable.GetPropertyNameFromControl(control); + this.pageViewSite.PropertyChanged(propertyNameFromControl, value); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlTable.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlTable.cs new file mode 100644 index 0000000..02d068b --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyControlTable.cs @@ -0,0 +1,88 @@ +/****************************** Module Header ******************************\ + * Module Name: PropertyControlTable.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * The PropertyControlTable class stores the Control / Property Name KeyValuePairs. + * A KeyValuePair contains a Control of a PageView object, and a Property Name of + * PropertyPage object. + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + + +using System.Collections.Generic; +using System.Windows.Forms; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + public class PropertyControlTable { + + // With these two dictionaries, it is more quick to find a Control or Property Name. + private Dictionary controlNameIndex = new Dictionary( ); + private Dictionary propertyNameIndex = new Dictionary( ); + + /// + /// Add a Key Value Pair to the dictionaries. + /// + public void Add(string propertyName, Control control) { + this.controlNameIndex.Add(control, propertyName); + this.propertyNameIndex.Add(propertyName, control); + } + + /// + /// Get the Control which is mapped to a Property. + /// + public Control GetControlFromPropertyName(string propertyName) { + Control control; + if (this.propertyNameIndex.TryGetValue(propertyName, out control)) { + return control; + } + return null; + } + + /// + /// Get all Controls. + /// + public List GetControls( ) { + Control[] controlArray = new Control[this.controlNameIndex.Count]; + this.controlNameIndex.Keys.CopyTo(controlArray, 0); + return new List(controlArray); + } + + /// + /// Get the Property Name which is mapped to a Control. + /// + public string GetPropertyNameFromControl(Control control) { + string str; + if (this.controlNameIndex.TryGetValue(control, out str)) { + return str; + } + return null; + } + + /// + /// Get all Property Names. + /// + public List GetPropertyNames( ) { + string[] strArray = new string[this.propertyNameIndex.Count]; + this.propertyNameIndex.Keys.CopyTo(strArray, 0); + return new List(strArray); + } + + /// + /// Remove a Key Value Pair from the dictionaries. + /// + public void Remove(string propertyName, Control control) { + this.controlNameIndex.Remove(control); + this.propertyNameIndex.Remove(propertyName); + } + + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyPage.cs b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyPage.cs new file mode 100644 index 0000000..1ee544c --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/PropertyPageBase/PropertyPage.cs @@ -0,0 +1,376 @@ +/****************************** Module Header ******************************\ + * Module Name: PropertyPage.cs + * Project: CSVSXProjectSubType + * Copyright (c) Microsoft Corporation. + * + * A PropertyPage object contains a PropertyStore object which stores the Properties, + * and a PageView object which is a UserControl used to display the Properties. + * + * The IPropertyPage and IPropertyPage2 Interfaces provide the main features of + * a property page object that manages a particular page within a property sheet. + * + * A property page implements at least IPropertyPage and can optionally implement + * IPropertyPage2 if selection of a specific property is supported. See + * http://msdn.microsoft.com/en-us/library/microsoft.visualstudio.ole.interop.ipropertypage2.aspx + * http://msdn.microsoft.com/en-us/library/ms683996(VS.85).aspx + * + * + * + * This source is subject to the Microsoft Public License. + * See http://www.microsoft.com/opensource/licenses.mspx#Ms-PL. + * All other rights reserved. + * + * THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, + * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. +\***************************************************************************/ + +using System; +using System.Collections.Generic; +using System.Drawing; +using System.Runtime.InteropServices; +using System.Windows.Forms; +using Microsoft.VisualStudio; +using Microsoft.VisualStudio.OLE.Interop; + +namespace InsmaSoftware.MXA_Game_Studio.PropertyPageBase { + abstract public class PropertyPage : IPropertyPage2, IPropertyPage, IPageViewSite { + + private IPropertyPageSite propertyPageSite; + + /// + /// Use a site object with this interface to set up communications between the + /// property frame and the property page object. + /// http://msdn.microsoft.com/en-us/library/ms690583(VS.85).aspx + /// + public IPropertyPageSite PropertyPageSite { + get { + return propertyPageSite; + } + set { + propertyPageSite = value; + } + } + + private IPropertyStore propertyStore; + + /// + /// A PropertyStore object is used to store the Properties of a + /// PropertyPage object. + /// + public IPropertyStore PropertyStore { + get { + return propertyStore; + } + set { + propertyStore = value; + } + } + + protected IPageView myPageView; + + /// + /// A PageView is a UserControl that is used to display the Properties of a + /// PropertyPage object. + /// + public IPageView MyPageView { + get { + if (myPageView == null) { + IPageView concretePageView = GetNewPageView( ); + this.MyPageView = concretePageView; + } + return myPageView; + } + set { + myPageView = value; + } + } + + // The changed Property Name / Value KeyValuePair. + private KeyValuePair? propertyToBePersisted; + + /// + /// The Property Page Title that is displayed in Visual Studio. + /// + abstract public string Title { get; } + + /// + /// The HelpKeyword if F1 is pressed. By default, it will return String.Empty. + /// + protected abstract string HelpKeyword { get; } + + abstract protected IPageView GetNewPageView( ); + + abstract protected IPropertyStore GetNewPropertyStore( ); + + protected PropertyPage( ) { } + + #region IPropertyPage2 Members + + /// + /// Initialize a property page and provides the page with a pointer to the + /// IPropertyPageSite interface through which the property page communicates + /// with the property frame. + /// + public void SetPageSite(IPropertyPageSite pPageSite) { + PropertyPageSite = pPageSite; + } + + /// + /// Create the dialog box window for the property page. + /// The dialog box is created without a frame, caption, or system menu/controls. + /// + /// + /// The window handle of the parent of the dialog box that is being created. + /// + /// + /// The RECT structure containing the positioning information for the dialog box. + /// This method must create its dialog box with the placement and dimensions + /// described by this structure. + /// + /// + /// Indicates whether the dialog box frame is modal (TRUE) or modeless (FALSE). + /// + public void Activate(IntPtr hWndParent, RECT[] pRect, int bModal) { + if ((pRect == null) || (pRect.Length == 0)) { + throw new ArgumentNullException("pRect"); + } + Control parentControl = Control.FromHandle(hWndParent); + RECT rect = pRect[0]; + this.MyPageView.Initialize(parentControl, + Rectangle.FromLTRB(rect.left, rect.top, rect.right, rect.bottom)); + } + + /// + /// Destroy the window created in IPropertyPage::Activate. + /// + public void Deactivate( ) { + if (this.myPageView != null) { + this.myPageView.Dispose( ); + this.myPageView = null; + } + } + + /// + /// Retrieve information about the property page. + /// + /// + public void GetPageInfo(PROPPAGEINFO[] pPageInfo) { + PROPPAGEINFO proppageinfo; + if ((pPageInfo == null) || (pPageInfo.Length == 0)) { + throw new ArgumentNullException("pPageInfo"); + } + proppageinfo.cb = (uint)Marshal.SizeOf(typeof(PROPPAGEINFO)); + proppageinfo.dwHelpContext = 0; + proppageinfo.pszDocString = null; + proppageinfo.pszHelpFile = null; + proppageinfo.pszTitle = this.Title; + proppageinfo.SIZE.cx = this.MyPageView.ViewSize.Width; + proppageinfo.SIZE.cy = this.MyPageView.ViewSize.Height; + pPageInfo[0] = proppageinfo; + } + + /// + /// Provide the property page with an array of pointers to objects associated + /// with this property page. + /// When the property page receives a call to IPropertyPage::Apply, it must send + /// value changes to these objects through whatever interfaces are appropriate. + /// The property page must query for those interfaces. This method can fail if + /// the objects do not support the interfaces expected by the property page. + /// + /// + /// The number of pointers in the array pointed to by ppUnk. + /// If this parameter is 0, the property page must release any pointers previously + /// passed to this method. + /// + /// + public void SetObjects(uint cObjects, object[] ppunk) { + + // If cObjects ==0 or ppunk == null, release the PropertyStore. + if ((ppunk == null) || (cObjects == 0)) { + if (this.PropertyStore != null) { + this.PropertyStore.Dispose( ); + this.PropertyStore = null; + } + } else { + + // Initialize the PropertyStore using the provided objects. + bool flag = false; + if (this.PropertyStore != null) { + flag = true; + } + this.PropertyStore = this.GetNewPropertyStore( ); + this.PropertyStore.Initialize(ppunk); + + // If PropertyStore is not null, which means that the PageView UI has been + // initialized, then it needs to be refreshed. + if (flag) { + this.MyPageView.RefreshPropertyValues( ); + } + } + } + + /// + /// Make the property page dialog box visible or invisible. + /// If the page is made visible, the page should set the focus + /// to itself, specifically to the first property on the page. + /// + /// + /// A command describing whether to become visible (SW_SHOW or SW_SHOWNORMAL) or + /// hidden (SW_HIDE). No other values are valid for this parameter. + /// + public void Show(uint nCmdShow) { + switch (nCmdShow) { + case PropertyPageBase.Constants.SW_HIDE: + this.MyPageView.HideView( ); + return; + + case PropertyPageBase.Constants.SW_SHOW: + case PropertyPageBase.Constants.SW_SHOWNORMAL: + this.MyPageView.ShowView( ); + return; + } + } + + /// + /// Positions and resizes the property page dialog box within the frame. + /// + /// + public void Move(RECT[] pRect) { + this.MyPageView.MoveView(Rectangle.FromLTRB( + pRect[0].left, pRect[0].top, pRect[0].right, pRect[0].bottom)); + } + + /// + /// Indicate whether the property page has changed since it was activated + /// or since the most recent call to Apply. + /// + /// + /// This method returns S_OK to indicate that the property page has changed. + /// Otherwise, it returns S_FALSE. + /// + public int IsPageDirty( ) { + if (!this.propertyToBePersisted.HasValue) { + return VSConstants.S_FALSE; + } + return VSConstants.S_OK; + } + + /// + /// Apply the current values to the underlying objects associated with the + /// property page as previously passed to IPropertyPage::SetObjects. + /// + public void Apply( ) { + + // Save the changed value to PropertyStore. + if (this.propertyToBePersisted.HasValue) { + this.PropertyStore.Persist( + this.propertyToBePersisted.Value.Key, this.propertyToBePersisted.Value.Value); + + this.propertyToBePersisted = null; + } + } + + /// + /// Invoke the property page help in response to an end-user request. + /// + /// + public void Help(string pszHelpDir) { + System.IServiceProvider iPropertyPageSite = + this.PropertyPageSite as System.IServiceProvider; + if (iPropertyPageSite != null) { + Microsoft.VisualStudio.VSHelp.Help service = iPropertyPageSite.GetService( + typeof(Microsoft.VisualStudio.VSHelp.Help)) as Microsoft.VisualStudio.VSHelp.Help; + + if (service != null) { + service.DisplayTopicFromF1Keyword(this.HelpKeyword); + } + } + } + + /// + /// Pass a keystroke to the property page for processing. + /// + /// + /// A pointer to the MSG structure describing the keystroke to be processed. + /// + /// + public int TranslateAccelerator(MSG[] pMsg) { + + // Pass the message to the PageView object. + Message message = Message.Create(pMsg[0].hwnd, (int)pMsg[0].message, pMsg[0].wParam, pMsg[0].lParam); + int hr = this.MyPageView.ProcessAccelerator(ref message); + pMsg[0].lParam = message.LParam; + pMsg[0].wParam = message.WParam; + return hr; + + } + + /// + /// Specifies which field is to receive the focus when the property page is activated. + /// + /// + /// The property that is to receive the focus. + /// + public void EditProperty(int DISPID) { + + } + + #endregion + + #region IPropertyPage Members + + /// + /// Applies the current values to the underlying objects associated with the + /// property page as previously passed to IPropertyPage::SetObjects. + /// + int IPropertyPage.Apply( ) { + this.Apply( ); + return VSConstants.S_OK; + } + + #endregion + + #region IPageViewSite Members + + /// + /// Tis method is called if the value of a Control changed on a PageView object. + /// + /// + /// The Property Name mapped to the Control. + /// + /// + /// The new value. + /// + public void PropertyChanged(string propertyName, string propertyValue) { + if (this.PropertyStore != null) { + this.propertyToBePersisted = + new KeyValuePair(propertyName, propertyValue); + + if (this.PropertyPageSite != null) { + + // Informs the frame that the property page managed by this site has + // changed its state, that is, one or more property values have been + // changed in the page. + this.PropertyPageSite.OnStatusChange( + PropertyPageBase.Constants.PROPPAGESTATUS_DIRTY + | PropertyPageBase.Constants.PROPPAGESTATUS_VALIDATE); + } + } + } + + /// + /// Get the value of a Property which is stored in the PropertyStore, + /// + /// + /// + public string GetValueForProperty(string propertyName) { + if (this.PropertyStore != null) { + return this.PropertyStore.PropertyValue(propertyName); + } + return null; + } + + #endregion + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/Resources.Designer.cs b/MXA-Game-Studio/src/MXA Game Studio/Resources.Designer.cs new file mode 100644 index 0000000..2aa8143 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/Resources.Designer.cs @@ -0,0 +1,63 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.0 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace InsmaSoftware.MXA_Game_Studio { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("InsmaSoftware.MXA_Game_Studio.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + } +} diff --git a/MXA-Game-Studio/src/MXA Game Studio/Resources.resx b/MXA-Game-Studio/src/MXA Game Studio/Resources.resx new file mode 100644 index 0000000..891c592 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/Resources.resx @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/Resources/Package.ico b/MXA-Game-Studio/src/MXA Game Studio/Resources/Package.ico new file mode 100644 index 0000000..449296f Binary files /dev/null and b/MXA-Game-Studio/src/MXA Game Studio/Resources/Package.ico differ diff --git a/MXA-Game-Studio/src/MXA Game Studio/VSPackage.resx b/MXA-Game-Studio/src/MXA Game Studio/VSPackage.resx new file mode 100644 index 0000000..ac9ec91 --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/VSPackage.resx @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + MXA Game Studio + + + Information about my package + + + Resources\Package.ico;System.Drawing.Icon, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/MXA Game Studio/source.extension.vsixmanifest b/MXA-Game-Studio/src/MXA Game Studio/source.extension.vsixmanifest new file mode 100644 index 0000000..839808d --- /dev/null +++ b/MXA-Game-Studio/src/MXA Game Studio/source.extension.vsixmanifest @@ -0,0 +1,51 @@ + + + + + MXA Game Studio + Information about my package + http://insma.github.io + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.csproj new file mode 100644 index 0000000..8dd1413 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {1DE9F16A-FC1A-4F2C-BBF2-99144D0D69C8} + Library + Properties + Content_Pipeline_Extension_Library_v5._0_cs + Content Pipeline Extension Library v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.vstemplate new file mode 100644 index 0000000..0d6035e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Content Pipeline Extension Library v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Content Pipeline Extension Library (5.0) + A project for creating an MXA Framework 5.0 Content Pipeline extension library + Content Pipeline Extension Library v5.0-cs.ico + CSharp + 2.0 + 1000 + f2c45d8d-897a-4179-b64d-32fff9a0a515 + true + Content Pipeline Extension Library + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..d6c8b5e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Content Pipeline Extension Library v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Content Pipeline Extension Library v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("895cca09-b56a-4cca-8a54-6d2502f8af3c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vbproj new file mode 100644 index 0000000..3283600 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {96AC5F27-F361-42E3-AADC-8A1A4BBA2575} + Library + Content_Pipeline_Extension_Library_v5._0_vb + Content Pipeline Extension Library v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vstemplate new file mode 100644 index 0000000..c1e983e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Content Pipeline Extension Library v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Content Pipeline Extension Library (5.0) + A project for creating an MXA Framework 5.0 Content Pipeline extension library + Content Pipeline Extension Library v5.0-vb.ico + VisualBasic + be151204-d412-43b8-b05d-f590e36ccb06 + 1000 + 1 + true + Content Pipeline Extension Library + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..04db7ba --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Content Pipeline Extension Library v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.csproj new file mode 100644 index 0000000..80958b8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {31937D9F-C6E5-43EE-951A-D34E629F7169} + Library + Properties + Empty_Content_Pipeline_v5._0_cs + Empty Content Pipeline v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.vstemplate new file mode 100644 index 0000000..ccb1c2c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Empty Content Pipeline v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Empty Content Pipeline (5.0) + A project for creating an MXA Framework 5.0 content project + Empty Content Pipeline v5.0-cs.ico + CSharp + 2.0 + 1000 + 1068028a-ee31-4faf-abbc-05356cc0d2d9 + true + Empty Content Pipeline + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8ee1375 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Empty Content Pipeline v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Empty Content Pipeline v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("0dec2645-c077-42de-b77d-3698f73492df")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vbproj new file mode 100644 index 0000000..5d93f88 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {F9F3026A-8B54-4F6C-B091-BEA290C4AE57} + Library + Empty_Content_Pipeline_v5._0_vb + Empty Content Pipeline v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vstemplate new file mode 100644 index 0000000..c11ea10 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Empty Content Pipeline v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Empty Content Pipeline (5.0) + A project for creating an MXA Framework 5.0 content project + Empty Content Pipeline v5.0-vb.ico + VisualBasic + ef523817-1391-453f-8fd9-b0a5f3f0096a + 1000 + 1 + true + Empty Content Pipeline + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..3a03f89 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Empty Content Pipeline v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..fa08256 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Windows Game Library v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Windows Game Library v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("8df5f438-fa43-490e-aab9-52c0c9aa501c")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.csproj new file mode 100644 index 0000000..c804f8f --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {FF3BFDBF-80F8-43FD-A23E-CB2CFC7610E2} + Library + Properties + Windows_Game_Library_v5._0_cs + Windows Game Library v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.vstemplate new file mode 100644 index 0000000..7dc0dfc --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-cs/Windows Game Library v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Windows Game Library (5.0) + A project for creating an MXA Framework 5.0 Windows game library + Windows Game Library v5.0-cs.ico + CSharp + 2.0 + 1000 + 7c0d688f-e054-4b0f-ba08-d1c038bf8bc0 + true + Windows Game Library + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..a807217 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vbproj new file mode 100644 index 0000000..7d927ee --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {E2A07A1B-109B-4483-8480-DD305961F63B} + Library + Windows_Game_Library_v5._0_vb + Windows Game Library v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vstemplate new file mode 100644 index 0000000..3131176 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game Library v5.0-vb/Windows Game Library v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Windows Game Library (5.0) + A project for creating an MXA Framework 5.0 Windows game library + Windows Game Library v5.0-vb.ico + VisualBasic + cd839cc4-70d9-4096-888b-1919eb8b01a8 + 1000 + 1 + true + Windows Game Library + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..09d1b0d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Windows Game v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Windows Game v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("047ada8d-09b6-407f-bc50-91c11679e8d6")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.csproj new file mode 100644 index 0000000..30d2438 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {B28C395C-7BC1-4E9E-B2B5-EEB78558F8A5} + Library + Properties + Windows_Game_v5._0_cs + Windows Game v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.vstemplate new file mode 100644 index 0000000..b66c86f --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-cs/Windows Game v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Windows Game (5.0) + A project for creating an MXA Framework 5.0 Windows game + Windows Game v5.0-cs.ico + CSharp + 2.0 + 1000 + dd66f2b4-1a92-48ed-88c1-667206ee391b + true + Windows Game + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..5125612 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vbproj new file mode 100644 index 0000000..b0699ba --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {6A3DDFE3-287A-49BF-9837-47FF771DB49A} + Library + Windows_Game_v5._0_vb + Windows Game v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vstemplate new file mode 100644 index 0000000..bd159dd --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Game v5.0-vb/Windows Game v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Windows Game (5.0) + A project for creating an MXA Framework 5.0 Windows game + Windows Game v5.0-vb.ico + VisualBasic + 9b367597-4e9a-48fe-bf00-b6bb1f7c0e6d + 1000 + 1 + true + Windows Game + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..8e91006 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Windows Phone Game Library v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Windows Phone Game Library v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("7e064717-1fc2-44dd-b48f-ab505a12cbd6")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.csproj new file mode 100644 index 0000000..62f86fa --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {3F42E0C0-A58B-43ED-859C-621661E9F05B} + Library + Properties + Windows_Phone_Game_Library_v5._0_cs + Windows Phone Game Library v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.vstemplate new file mode 100644 index 0000000..505ffcc --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-cs/Windows Phone Game Library v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Windows Phone Game Library (5.0) + A project for creating an MXA Framework 5.0 Windows Phone game library + Windows Phone Game Library v5.0-cs.ico + CSharp + 2.0 + 1000 + 60ce9607-d98d-4ae4-8c69-7e14808b9bf2 + true + Windows Phone Game Library + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..abede2d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vbproj new file mode 100644 index 0000000..d7880f1 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {CD4CC40D-5729-4AE8-AA31-32F734AF57B3} + Library + Windows_Phone_Game_Library_v5._0_vb + Windows Phone Game Library v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vstemplate new file mode 100644 index 0000000..8d416c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game Library v5.0-vb/Windows Phone Game Library v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Windows Phone Game Library (5.0) + A project for creating an MXA Framework 5.0 Windows Phone game library + Windows Phone Game Library v5.0-vb.ico + VisualBasic + 3fa2cd32-9cff-4104-bdc9-e7972808bbd1 + 1000 + 1 + true + Windows Phone Game Library + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..20858bb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Windows Phone Game v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Windows Phone Game v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("56efb767-64f3-4aa3-a46a-4375e2bb817b")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.csproj new file mode 100644 index 0000000..2fa0819 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {B5AF6782-F3AC-4128-AF79-8048936F3B6D} + Library + Properties + Windows_Phone_Game_v5._0_cs + Windows Phone Game v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.vstemplate new file mode 100644 index 0000000..b5250f2 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-cs/Windows Phone Game v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Windows Phone Game (5.0) + A project for creating an MXA Framework 5.0 Windows Phone game + Windows Phone Game v5.0-cs.ico + CSharp + 2.0 + 1000 + 7ae191ac-a35d-4a82-be4d-39cc3c492b63 + true + Windows Phone Game + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..f936160 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vbproj new file mode 100644 index 0000000..3b1ddcc --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {4BBDBE46-2AAA-474C-BCF3-6202601D0DED} + Library + Windows_Phone_Game_v5._0_vb + Windows Phone Game v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vstemplate new file mode 100644 index 0000000..d76b139 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Windows Phone Game v5.0-vb/Windows Phone Game v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Windows Phone Game (5.0) + A project for creating an MXA Framework 5.0 Windows Phone game + Windows Phone Game v5.0-vb.ico + VisualBasic + bbd4ebec-2504-4c92-8396-a92f3b36f10c + 1000 + 1 + true + Windows Phone Game + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..dcf8d4f --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Xbox Game Library v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Xbox Game Library v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("4ef2e301-ac08-4766-8aaa-056ca4681d78")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.csproj new file mode 100644 index 0000000..2f1e7e9 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {A16C8CE8-FA7F-4309-87C6-5033FAC9D1E5} + Library + Properties + Xbox_Game_Library_v5._0_cs + Xbox Game Library v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.vstemplate new file mode 100644 index 0000000..425a5e1 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-cs/Xbox Game Library v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Xbox Game Library (5.0) + A project for creating an MXA Framework 5.0 Xbox game library + Xbox Game Library v5.0-cs.ico + CSharp + 2.0 + 1000 + 19388762-8126-47c1-8e2a-dd477c20ecb9 + true + Xbox Game Library + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..de8abe0 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vbproj new file mode 100644 index 0000000..b515292 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {8B0E22AD-4F77-4037-9BC6-0B0609C601DA} + Library + Xbox_Game_Library_v5._0_vb + Xbox Game Library v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vstemplate new file mode 100644 index 0000000..63ecfd5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game Library v5.0-vb/Xbox Game Library v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Xbox Game Library (5.0) + A project for creating an MXA Framework 5.0 Xbox game library + Xbox Game Library v5.0-vb.ico + VisualBasic + dcfc3c66-37ff-44db-8896-38387fcd3121 + 1000 + 1 + true + Xbox Game Library + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/AssemblyInfo.cs new file mode 100644 index 0000000..a0edcb6 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("$projectname$")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("$registeredorganization$")] +[assembly: AssemblyProduct("$projectname$")] +[assembly: AssemblyCopyright("Copyright © $registeredorganization$ $year$")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("$guid1$")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Class1.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Class1.cs new file mode 100644 index 0000000..482744a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Class1.cs @@ -0,0 +1,11 @@ +using System; +using System.Collections.Generic; +$if$ ($targetframeworkversion$ >= 3.5)using System.Linq; +$endif$using System.Text; + +namespace $safeprojectname$ +{ + public class Class1 + { + } +} diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/ProjectTemplate.csproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/ProjectTemplate.csproj new file mode 100644 index 0000000..e9379d7 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/ProjectTemplate.csproj @@ -0,0 +1,60 @@ + + + + Debug + AnyCPU + 8.0.30703 + 2.0 + $guid1$ + Library + Properties + $safeprojectname$ + $safeprojectname$ + v$targetframeworkversion$ + 512 + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + + $endif$ + $if$ ($targetframeworkversion$ >= 4.0) + + $endif$ + + + + + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Properties/AssemblyInfo.cs b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..c0af11c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Xbox Game v5.0-cs")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Xbox Game v5.0-cs")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f86e1085-ed0e-4850-b81b-070fe88ac127")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.csproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.csproj new file mode 100644 index 0000000..9daaaa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.csproj @@ -0,0 +1,84 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + {D5554B57-D892-48C2-9952-71D83896EE57} + Library + Properties + Xbox_Game_v5._0_cs + Xbox Game v5.0-cs + v4.5 + 512 + false + false + false + false + false + false + false + false + false + false + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + False + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.ico b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.vstemplate new file mode 100644 index 0000000..2e3e2d1 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-cs/Xbox Game v5.0-cs.vstemplate @@ -0,0 +1,21 @@ + + + + Xbox Game (5.0) + A project for creating an MXA Framework 5.0 Xbox game + Xbox Game v5.0-cs.ico + CSharp + 2.0 + 1000 + 487401c4-c774-484b-9c93-df51ef3f2ac2 + true + Xbox Game + true + + + + AssemblyInfo.cs + Class1.cs + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/AssemblyInfo.vb new file mode 100644 index 0000000..29ad3c5 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Class1.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Class1.vb new file mode 100644 index 0000000..3c2724c --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Class1.vb @@ -0,0 +1,3 @@ +Public Class $itemname$ + +End Class diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/My Project/AssemblyInfo.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/My Project/AssemblyInfo.vb new file mode 100644 index 0000000..b0979b4 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/My Project/AssemblyInfo.vb @@ -0,0 +1,35 @@ +Imports System +Imports System.Reflection +Imports System.Runtime.InteropServices + +' General Information about an assembly is controlled through the following +' set of attributes. Change these attribute values to modify the information +' associated with an assembly. + +' Review the values of the assembly attributes + + + + + + + + + + +'The following GUID is for the ID of the typelib if this project is exposed to COM + + +' Version information for an assembly consists of the following four values: +' +' Major Version +' Minor Version +' Build Number +' Revision +' +' You can specify all the values or you can default the Build and Revision Numbers +' by using the '*' as shown below: +' + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.Designer.vb new file mode 100644 index 0000000..efb226e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.Designer.vb @@ -0,0 +1,13 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.myapp b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.myapp new file mode 100644 index 0000000..758895d --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/MyApplication.myapp @@ -0,0 +1,10 @@ + + + false + false + 0 + true + 0 + 1 + true + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/ProjectTemplate.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/ProjectTemplate.vbproj new file mode 100644 index 0000000..155140e --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/ProjectTemplate.vbproj @@ -0,0 +1,113 @@ + + + + Debug + AnyCPU + + + + + {$guid2$} + Library + $safeprojectname$ + $safeprojectname$ + 512 + Windows + v$targetframeworkversion$ + + + + true + full + true + true + bin\Debug\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + pdbonly + false + true + true + bin\Release\ + $safeprojectname$.xml + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022 + + + + + + +$if$ ($targetframeworkversion$ >= 3.5) + + + +$endif$ + + + + + + + + + + $if$ ($targetframeworkversion$ >= 3.5) + + + $endif$ + + + + + + + True + Application.myapp + + + True + True + Resources.resx + + + True + Settings.settings + True + + + + + + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + My.Resources + Designer + + + + + + MyApplicationCodeGenerator + Application.Designer.vb + + + SettingsSingleFileGenerator + My + Settings.Designer.vb + + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.Designer.vb new file mode 100644 index 0000000..262cbf3 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.Designer.vb @@ -0,0 +1,62 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My.Resources + + 'This class was auto-generated by the StronglyTypedResourceBuilder + 'class via a tool like ResGen or Visual Studio. + 'To add or remove a member, edit your .ResX file then rerun ResGen + 'with the /str option, or rebuild your VS project. + ''' + ''' A strongly-typed resource class, for looking up localized strings, etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Returns the cached ResourceManager instance used by this class. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("$safeprojectname$.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Overrides the current thread's CurrentUICulture property for all + ''' resource lookups using this strongly typed resource class. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set(ByVal value As Global.System.Globalization.CultureInfo) + resourceCulture = value + End Set + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.resx b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.resx new file mode 100644 index 0000000..af7dbeb --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Resources.resx @@ -0,0 +1,117 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.Designer.vb b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.Designer.vb new file mode 100644 index 0000000..b356aa8 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' This code was generated by a tool. +' Runtime Version:$clrversion$ +' +' Changes to this file may cause incorrect behavior and will be lost if +' the code is regenerated. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + + +Namespace My + + _ + Partial Friend NotInheritable Class MySettings + Inherits Global.System.Configuration.ApplicationSettingsBase + + Private Shared defaultInstance As MySettings = CType(Global.System.Configuration.ApplicationSettingsBase.Synchronized(New MySettings), MySettings) + +#Region "My.Settings Auto-Save Functionality" +#If _MyType = "WindowsForms" Then + Private Shared addedHandler As Boolean + + Private Shared addedHandlerLockObject As New Object + + _ + Private Shared Sub AutoSaveSettings(ByVal sender As Global.System.Object, ByVal e As Global.System.EventArgs) + If My.Application.SaveMySettingsOnExit Then + My.Settings.Save() + End If + End Sub +#End If +#End Region + + Public Shared ReadOnly Property [Default]() As MySettings + Get + +#If _MyType = "WindowsForms" Then + If Not addedHandler Then + SyncLock addedHandlerLockObject + If Not addedHandler Then + AddHandler My.Application.Shutdown, AddressOf AutoSaveSettings + addedHandler = True + End If + End SyncLock + End If +#End If + Return defaultInstance + End Get + End Property + End Class +End Namespace + +Namespace My + + _ + Friend Module MySettingsProperty + + _ + Friend ReadOnly Property Settings() As Global.$safeprojectname$.My.MySettings + Get + Return Global.$safeprojectname$.My.MySettings.Default + End Get + End Property + End Module +End Namespace diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.settings b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.settings new file mode 100644 index 0000000..85b890b --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Settings.settings @@ -0,0 +1,7 @@ + + + + + + + diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.ico b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.ico new file mode 100644 index 0000000..7d638b1 Binary files /dev/null and b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.ico differ diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vbproj b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vbproj new file mode 100644 index 0000000..b146ae9 --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vbproj @@ -0,0 +1,101 @@ + + + + 12.0 + 11.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + 12.0 + + + + + Debug + AnyCPU + {82b43b9b-a64c-4715-b499-d71e9ca2bd60};{F184B08F-C81C-45f6-A57F-5ABD9991F28F} + {A7678248-6998-47A5-8607-BC59CD37FCD2} + Library + Xbox_Game_v5._0_vb + Xbox Game v5.0-vb + 512 + v4.5 + On + Binary + Off + On + false + false + false + false + false + false + false + false + false + false + + + true + full + true + true + bin\Debug\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + pdbonly + false + true + true + bin\Release\ + 42016,41999,42017,42018,42019,42032,42036,42020,42021,42022,42353,42354,42355 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + MXA Game Studio 5.0 + + + + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vstemplate b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vstemplate new file mode 100644 index 0000000..2a41f2a --- /dev/null +++ b/MXA-Game-Studio/src/ProjectTemplates/Xbox Game v5.0-vb/Xbox Game v5.0-vb.vstemplate @@ -0,0 +1,27 @@ + + + Xbox Game (5.0) + A project for creating an MXA Framework 5.0 Xbox game + Xbox Game v5.0-vb.ico + VisualBasic + a9d56ffb-0044-4ebe-b757-2435c4b5091f + 1000 + 1 + true + Xbox Game + true + 2.0 + + + + Class1.vb + AssemblyInfo.vb + MyApplication.myapp + MyApplication.Designer.vb + Resources.resx + Resources.Designer.vb + Settings.settings + Settings.Designer.vb + + + \ No newline at end of file diff --git a/MXA-Game-Studio/src/UnitTests.testsettings b/MXA-Game-Studio/src/UnitTests.testsettings new file mode 100644 index 0000000..f9cefbd --- /dev/null +++ b/MXA-Game-Studio/src/UnitTests.testsettings @@ -0,0 +1,9 @@ + + + + This test run configuration is used for running the unit tests + diff --git a/README.txt b/README.txt new file mode 100644 index 0000000..e69de29