- added Developer-Attribute for tagging classes responsibility
- added a bunch of Completion- and Developer-Tags
This commit is contained in:
parent
1a429e25d5
commit
1f45cd9038
@ -414,6 +414,7 @@
|
||||
<Compile Include="NonXNA\AddInLoadingException.cs" />
|
||||
<Compile Include="NonXNA\AddInTypeCollection.cs" />
|
||||
<Compile Include="NonXNA\AddInType.cs" />
|
||||
<Compile Include="NonXNA\Development\DeveloperAttribute.cs" />
|
||||
<Compile Include="NonXNA\Development\TestStateAttribute.cs" />
|
||||
<Compile Include="NonXNA\Development\PercentageCompleteAttribute.cs" />
|
||||
<Compile Include="NonXNA\EffectSourceLanguage.cs" />
|
||||
|
@ -13,6 +13,7 @@ namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class DrawableGameComponent : GameComponent, IDrawable
|
||||
{
|
||||
#region Private Members
|
||||
|
@ -18,6 +18,7 @@ namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(30)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class Game : IDisposable
|
||||
{
|
||||
private IGraphicsDeviceManager graphicsDeviceManager;
|
||||
|
@ -13,6 +13,7 @@ namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class GameComponent : IGameComponent, IUpdateable, IDisposable
|
||||
{
|
||||
private bool enabled = true;
|
||||
|
@ -13,6 +13,7 @@ namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public sealed class GameComponentCollection : Collection<IGameComponent>
|
||||
{
|
||||
#region Events
|
||||
|
@ -13,6 +13,7 @@ namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class GameComponentCollectionEventArgs : EventArgs
|
||||
{
|
||||
public GameComponentCollectionEventArgs(IGameComponent gameComponent)
|
||||
|
@ -1,6 +1,7 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -10,7 +11,9 @@ using System.Collections.Generic;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class GameServiceContainer : IServiceProvider
|
||||
{
|
||||
private Dictionary<Type, Object> services;
|
||||
|
@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class GameTime
|
||||
{
|
||||
#region Public
|
||||
|
@ -19,6 +19,7 @@ namespace ANX.Framework.Graphics
|
||||
|
||||
[PercentageComplete(10)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class ConstantBuffer : GraphicsResource, IGraphicsResource
|
||||
{
|
||||
#region Private
|
||||
|
@ -1,5 +1,6 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -9,6 +10,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IEffectFog
|
||||
{
|
||||
Vector3 FogColor { get; set; }
|
||||
|
@ -1,5 +1,6 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -9,6 +10,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IEffectLights
|
||||
{
|
||||
void EnableDefaultLighting();
|
||||
|
@ -1,5 +1,6 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -9,6 +10,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IEffectMatrices
|
||||
{
|
||||
Matrix Projection { get; set; }
|
||||
|
@ -4,6 +4,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using ANX.Framework.Graphics;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -13,6 +14,9 @@ using ANX.Framework.Graphics;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IGraphicsDeviceService
|
||||
{
|
||||
// Events
|
||||
|
@ -1,5 +1,6 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -9,6 +10,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
internal interface IGraphicsResource
|
||||
{
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion // Using Statements
|
||||
|
||||
@ -9,6 +10,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IVertexType
|
||||
{
|
||||
VertexDeclaration VertexDeclaration { get; }
|
||||
|
@ -12,6 +12,7 @@ namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class IndexBuffer : GraphicsResource, IGraphicsResource
|
||||
{
|
||||
#region Private
|
||||
|
@ -2,9 +2,12 @@
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
// For details see: http://anxframework.codeplex.com/license
|
||||
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework.Graphics.PackedVector
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IPackedVector
|
||||
{
|
||||
void PackFromVector4(Vector4 vector);
|
||||
@ -12,7 +15,9 @@ namespace ANX.Framework.Graphics.PackedVector
|
||||
Vector4 ToVector4();
|
||||
}
|
||||
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IPackedVector<TPacked> : IPackedVector
|
||||
{
|
||||
TPacked PackedValue
|
||||
|
@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class PresentationParameters
|
||||
{
|
||||
#region Public
|
||||
|
@ -12,6 +12,7 @@ namespace ANX.Framework.Graphics
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class VertexBuffer : GraphicsResource, IGraphicsResource
|
||||
{
|
||||
#region Private
|
||||
|
@ -8,6 +8,8 @@ using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("Glatzemann")]
|
||||
public class GraphicsDeviceInformation
|
||||
{
|
||||
#region Public
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -6,7 +7,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IDrawable
|
||||
{
|
||||
event EventHandler<EventArgs> DrawOrderChanged;
|
||||
|
@ -2,9 +2,12 @@
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
// For details see: http://anxframework.codeplex.com/license
|
||||
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IGameComponent
|
||||
{
|
||||
void Initialize();
|
||||
|
@ -2,9 +2,12 @@
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
// For details see: http://anxframework.codeplex.com/license
|
||||
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IGraphicsDeviceManager
|
||||
{
|
||||
bool BeginDraw();
|
||||
|
@ -1,4 +1,8 @@
|
||||
#region Using Statements
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
#endregion
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -6,7 +10,10 @@ using System;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
public interface IUpdateable
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Tested)]
|
||||
[Developer("Glatzemann")]
|
||||
public interface IUpdateable
|
||||
{
|
||||
bool Enabled
|
||||
{
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -6,7 +7,9 @@ using System.Collections.Generic;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("???")]
|
||||
public class LaunchParameters : Dictionary<string, string>
|
||||
{
|
||||
}
|
||||
|
30
ANX.Framework/NonXNA/Development/DeveloperAttribute.cs
Normal file
30
ANX.Framework/NonXNA/Development/DeveloperAttribute.cs
Normal file
@ -0,0 +1,30 @@
|
||||
using System;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
// For details see: http://anxframework.codeplex.com/license
|
||||
|
||||
namespace ANX.Framework.NonXNA.Development
|
||||
{
|
||||
public class DeveloperAttribute : Attribute
|
||||
{
|
||||
#region Public
|
||||
public string Developer
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
/// <summary>
|
||||
/// Create a new developer attribute.
|
||||
/// </summary>
|
||||
/// <param name="developer">Developer who is responsible for this class</param>
|
||||
public DeveloperAttribute(string developer)
|
||||
{
|
||||
Developer = developer;
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -7,8 +8,10 @@ using System.Globalization;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
public struct Point : IEquatable<Point>
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("???")]
|
||||
public struct Point : IEquatable<Point>
|
||||
{
|
||||
#region Constants
|
||||
public static Point Zero
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using ANX.Framework.NonXNA.Development;
|
||||
|
||||
// This file is part of the ANX.Framework created by the
|
||||
// "ANX.Framework developer group" and released under the Ms-PL license.
|
||||
@ -6,7 +7,9 @@ using System;
|
||||
|
||||
namespace ANX.Framework
|
||||
{
|
||||
[ANX.Framework.NonXNA.Development.PercentageComplete(100)]
|
||||
[PercentageComplete(100)]
|
||||
[TestState(TestStateAttribute.TestState.Untested)]
|
||||
[Developer("???")]
|
||||
public class PreparingDeviceSettingsEventArgs : EventArgs
|
||||
{
|
||||
public GraphicsDeviceInformation GraphicsDeviceInformation
|
||||
@ -15,8 +18,7 @@ namespace ANX.Framework
|
||||
private set;
|
||||
}
|
||||
|
||||
public PreparingDeviceSettingsEventArgs(
|
||||
GraphicsDeviceInformation graphicsDeviceInformation)
|
||||
public PreparingDeviceSettingsEventArgs(GraphicsDeviceInformation graphicsDeviceInformation)
|
||||
{
|
||||
GraphicsDeviceInformation = graphicsDeviceInformation;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<Config>
|
||||
<ANXAssemblies>
|
||||
<Assembly>..\..\bin\Debug\ANX.Framework.dll</Assembly>
|
||||
<Assembly>..\bin\Debug\ANX.Framework.dll</Assembly>
|
||||
</ANXAssemblies>
|
||||
<XNAAssemblies>
|
||||
<Assembly>C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.dll</Assembly>
|
||||
|
Loading…
x
Reference in New Issue
Block a user