agate-svn-commit Mailing List for AgateLib (Page 19)
Status: Alpha
Brought to you by:
kanato
You can subscribe to this list here.
2009 |
Jan
|
Feb
|
Mar
|
Apr
(86) |
May
(77) |
Jun
|
Jul
(1) |
Aug
(31) |
Sep
(12) |
Oct
(31) |
Nov
(53) |
Dec
(39) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2010 |
Jan
(53) |
Feb
(14) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
(7) |
Dec
(13) |
2011 |
Jan
(17) |
Feb
(5) |
Mar
(1) |
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(21) |
Dec
|
2012 |
Jan
(6) |
Feb
(14) |
Mar
(5) |
Apr
(4) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
(1) |
Feb
(8) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(5) |
Nov
(9) |
Dec
(5) |
2014 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
|
Jun
(5) |
Jul
(33) |
Aug
(69) |
Sep
(35) |
Oct
(4) |
Nov
(1) |
Dec
|
From: <ka...@us...> - 2009-11-05 23:05:36
|
Revision: 1087 http://agate.svn.sourceforge.net/agate/?rev=1087&view=rev Author: kanato Date: 2009-11-05 23:05:27 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Initial commit of shaders. Modified Paths: -------------- branches/shaders/AgateLib/AgateLib.csproj branches/shaders/AgateLib/Core.cs branches/shaders/AgateLib/DisplayLib/Display.cs branches/shaders/AgateLib/DisplayLib/DisplayCapsInfo.cs branches/shaders/AgateLib/DisplayLib/DisplayWindow.cs branches/shaders/AgateLib/Drivers/Registrar.cs branches/shaders/AgateLib/ImplementationBase/DisplayImpl.cs branches/shaders/AgateLib/Meshes/Loaders/OBJFileRepresentation.cs branches/shaders/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs branches/shaders/AgateLib/Meshes/Loaders/Obj/Parser.cs branches/shaders/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs branches/shaders/AgateLib-Windows.sln branches/shaders/Drivers/AgateDrawing/AgateDrawing.csproj branches/shaders/Drivers/AgateDrawing/Drawing_Display.cs branches/shaders/Drivers/AgateDrawing/Drawing_DisplayWindow.cs branches/shaders/Drivers/AgateDrawing/Drawing_FontSurface.cs branches/shaders/Drivers/AgateDrawing/Drawing_IRenderTarget.cs branches/shaders/Drivers/AgateDrawing/Drawing_Reporter.cs branches/shaders/Drivers/AgateDrawing/Drawing_Surface.cs branches/shaders/Drivers/AgateFMOD/AgateFMOD.csproj branches/shaders/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj branches/shaders/Drivers/AgateOTK/AgateOTK.csproj branches/shaders/Drivers/AgateOTK/GL_Display.cs branches/shaders/Drivers/AgateSDL/AgateSDL.csproj branches/shaders/Drivers/AgateSDX/SDX_Display.cs branches/shaders/Tests/DisplayTests/Ortho.cs branches/shaders/Tests/Shaders/LightingTest/LightingTest.cs branches/shaders/Tests/Tests.csproj branches/shaders/Tests/frmLauncher.Designer.cs branches/shaders/Tests/frmLauncher.cs branches/shaders/Tools/FontCreator/CreateFont.Designer.cs branches/shaders/Tools/FontCreator/FontCreator.csproj branches/shaders/Tools/NotebookLib/NotebookLib/NotebookLib.csproj branches/shaders/Tools/PackedSpriteCreator/PackedSpriteCreator.csproj branches/shaders/Tools/ResourceEditor/ResourceEditor.csproj Added Paths: ----------- branches/shaders/AgateLib/DisplayLib/Shaders/AgateShader.cs branches/shaders/AgateLib/DisplayLib/Shaders/Basic2DShader.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateInternalShader.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderCompileError.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderImpl.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/BuiltInShader.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Effect.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderCompiler.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderLanguage.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderProgram.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Technique.cs branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/UniformState.cs branches/shaders/Drivers/AgateDrawing/DrawingBasic2DShader.cs branches/shaders/Tests/DisplayTests/ClipRect.cs Removed Paths: ------------- branches/shaders/AgateLib/DisplayLib/Shaders/Effect.cs branches/shaders/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs branches/shaders/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs branches/shaders/AgateLib/DisplayLib/Shaders/ShaderProgram.cs branches/shaders/AgateLib/DisplayLib/Shaders/Technique.cs branches/shaders/AgateLib/DisplayLib/Shaders/UniformState.cs Modified: branches/shaders/AgateLib/AgateLib.csproj =================================================================== --- branches/shaders/AgateLib/AgateLib.csproj 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/AgateLib.csproj 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,12 +1,13 @@ -<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> <PropertyGroup> <ProjectType>Local</ProjectType> - <ProductVersion>9.0.21022</ProductVersion> + <ProductVersion>9.0.30729</ProductVersion> <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</ProjectGuid> + <ProjectGuid>{9490B719-829E-43A7-A5FE-8001F8A81759}</ProjectGuid> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> - <ApplicationIcon></ApplicationIcon> + <ApplicationIcon> + </ApplicationIcon> <AssemblyKeyContainerName> </AssemblyKeyContainerName> <AssemblyName>AgateLib</AssemblyName> @@ -16,9 +17,11 @@ <DelaySign>false</DelaySign> <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> <OutputType>Library</OutputType> - <AppDesignerFolder></AppDesignerFolder> + <AppDesignerFolder> + </AppDesignerFolder> <RootNamespace>AgateLib</RootNamespace> - <StartupObject></StartupObject> + <StartupObject> + </StartupObject> <FileUpgradeFlags> </FileUpgradeFlags> </PropertyGroup> @@ -29,7 +32,8 @@ <ConfigurationOverrideFile> </ConfigurationOverrideFile> <DefineConstants>DEBUG;TRACE;</DefineConstants> - <DocumentationFile></DocumentationFile> + <DocumentationFile> + </DocumentationFile> <DebugSymbols>True</DebugSymbols> <FileAlignment>4096</FileAlignment> <Optimize>False</Optimize> @@ -38,7 +42,8 @@ <RemoveIntegerChecks>False</RemoveIntegerChecks> <TreatWarningsAsErrors>False</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> - <NoWarn></NoWarn> + <NoWarn> + </NoWarn> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <AllowUnsafeBlocks>True</AllowUnsafeBlocks> @@ -56,17 +61,19 @@ <RemoveIntegerChecks>False</RemoveIntegerChecks> <TreatWarningsAsErrors>False</TreatWarningsAsErrors> <WarningLevel>4</WarningLevel> - <NoWarn></NoWarn> + <NoWarn> + </NoWarn> </PropertyGroup> <ItemGroup> <Reference Include="System"> - <Name>System</Name> + <Name>System</Name> </Reference> <Reference Include="System.Core"> - <Name>System.Core</Name> + <Name>System.Core</Name> </Reference> + <Reference Include="System.Data" /> <Reference Include="System.Xml"> - <Name>System.Xml</Name> + <Name>System.Xml</Name> </Reference> </ItemGroup> <ItemGroup> @@ -90,9 +97,16 @@ <Compile Include="Core.cs"> <SubType>Code</SubType> </Compile> + <Compile Include="DisplayLib\Shaders\Basic2DShader.cs" /> + <Compile Include="DisplayLib\Shaders\AgateShader.cs" /> + <Compile Include="DisplayLib\Shaders\Implementation\AgateInternalShader.cs" /> + <Compile Include="DisplayLib\Shaders\Implementation\AgateShaderImpl.cs" /> + <Compile Include="DisplayLib\Shaders\Implementation\BuiltInShader.cs" /> <Compile Include="IFileProvider.cs"> <SubType>Code</SubType> </Compile> + <Compile Include="Platform.cs" /> + <Compile Include="PlatformType.cs" /> <Compile Include="Timing.cs"> <SubType>Code</SubType> </Compile> @@ -195,25 +209,25 @@ <Compile Include="DisplayLib\Cache\SurfaceStateCache.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\AgateShaderCompileError.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\AgateShaderCompileError.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\Effect.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\Effect.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\ShaderCompiler.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\ShaderCompiler.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\ShaderLanguage.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\ShaderLanguage.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\ShaderProgram.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\ShaderProgram.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\Technique.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\Technique.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="DisplayLib\Shaders\UniformState.cs"> + <Compile Include="DisplayLib\Shaders\Implementation\UniformState.cs"> <SubType>Code</SubType> </Compile> <Compile Include="Drivers\AgateDriverInfo.cs"> @@ -415,9 +429,6 @@ <Compile Include="Particles\Particles\SurfaceParticle.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="PlatformSpecific\IPlatformServices.cs"> - <SubType>Code</SubType> - </Compile> <Compile Include="Properties\AssemblyInfo.cs"> <SubType>Code</SubType> </Compile> @@ -496,9 +507,6 @@ <Compile Include="Utility\FileSystemProvider.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="Utility\Platform.cs"> - <SubType>Code</SubType> - </Compile> <Compile Include="Utility\Ref.cs"> <SubType>Code</SubType> </Compile> @@ -524,4 +532,4 @@ <PostBuildEvent> </PostBuildEvent> </PropertyGroup> -</Project> +</Project> \ No newline at end of file Modified: branches/shaders/AgateLib/Core.cs =================================================================== --- branches/shaders/AgateLib/Core.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/Core.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -24,7 +24,6 @@ using AgateLib.AudioLib; using AgateLib.DisplayLib; -using AgateLib.PlatformSpecific; namespace AgateLib { @@ -90,6 +89,7 @@ private static bool mAutoPause = false; private static bool mIsActive = true; private static bool mInititalized = false; + private static Platform mPlatform; #region --- Error Reporting --- @@ -296,7 +296,6 @@ static Core() { - } /// <summary> /// Initializes Core class. @@ -307,6 +306,7 @@ if (mInititalized) return; + mPlatform = new Platform(); Drivers.Registrar.Initialize(); Debug.Listeners.Add(new TextWriterTraceListener(Console.Out)); @@ -314,7 +314,6 @@ mInititalized = true; } - /// <summary> /// Gets or sets a bool value which indicates whether or not your /// app is the focused window. This will be automatically set if @@ -412,5 +411,7 @@ { return mTime.ElapsedMilliseconds; } + + } } \ No newline at end of file Modified: branches/shaders/AgateLib/DisplayLib/Display.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Display.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Display.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -94,6 +94,8 @@ impl.Initialize(); mSurfacePacker = new SurfacePacker(); + + Shaders.AgateBuiltInShaders.InitializeShaders(); } public static RenderStateAdapter RenderState @@ -117,6 +119,8 @@ impl.Dispose(); impl = null; } + + Shaders.AgateBuiltInShaders.DisposeShaders(); } internal static void ProcessEvents() @@ -137,12 +141,19 @@ } } + [Obsolete] public static Shaders.Effect Effect { - get { return impl.Effect; } - set { impl.Effect = value; } + get { throw new Exception(); } + set { throw new Exception(); } } + public static Shaders.AgateShader Shader + { + get { return impl.Shader; } + internal set { impl.Shader = value; } + } + /// <summary> /// Delegate type for functions which are called when Display.Dispose is called /// at the end of execution of the program. @@ -448,14 +459,11 @@ /// <param name="top"></param> /// <param name="right"></param> /// <param name="bottom"></param> + [Obsolete] public static void SetOrthoProjection(int left, int top, int right, int bottom) { SetOrthoProjection(Rectangle.FromLTRB(left, top, right, bottom)); } - public static Matrix4x4 GetOrthoProjection() - { - return Matrix4x4.Ortho(RectangleF.FromLTRB(0, 0, RenderTarget.Width, RenderTarget.Height), -1, 1); - } /// <summary> /// Sets the orthogonal projection for rendering. This allows redefinition of the @@ -472,6 +480,7 @@ /// the entire window.</para> /// </remarks> /// <param name="region"></param> + [Obsolete("Use a shader instead.")] public static void SetOrthoProjection(Rectangle region) { impl.SetOrthoProjection(region); @@ -683,11 +692,6 @@ impl.SavePixelBuffer(pixelBuffer, filename, format); } - internal static AgateLib.PlatformSpecific.IPlatformServices GetPlatformServices() - { - return impl.GetPlatformServices(); - } - internal static void HideCursor() { impl.HideCursor(); @@ -697,6 +701,7 @@ { impl.ShowCursor(); } + } } Modified: branches/shaders/AgateLib/DisplayLib/DisplayCapsInfo.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/DisplayCapsInfo.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/DisplayCapsInfo.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -94,9 +94,9 @@ /// <summary> /// Indicates whether or not vertex/pixel shaders are supported. /// </summary> - public bool SupportsShaders + public bool SupportsCustomShaders { - get { return Display.Impl.Supports(DisplayBoolCaps.Shaders); } + get { return Display.Impl.Supports(DisplayBoolCaps.CustomShaders); } } /// <summary> /// Indicates which shader language is supported. @@ -166,7 +166,7 @@ /// <summary> /// Indicates whether or not vertex/pixel shaders are supported. /// </summary> - Shaders, + CustomShaders, /// <summary> /// Indicates whether the driver can create a bitmap font from an operating /// system font. Modified: branches/shaders/AgateLib/DisplayLib/DisplayWindow.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/DisplayWindow.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/DisplayWindow.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -304,6 +304,11 @@ impl.SetFullScreen(width, height, bpp); } + public Matrix4x4 OrthoProjection + { + get { return Matrix4x4.Ortho(new RectangleF(0, 0, Width, Height), -1, 1); } + } + #region --- IRenderTarget Members --- IRenderTargetImpl IRenderTarget.Impl Added: branches/shaders/AgateLib/DisplayLib/Shaders/AgateShader.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/AgateShader.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/AgateShader.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,132 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.DisplayLib.Shaders.Implementation; +using AgateLib.Geometry; + +namespace AgateLib.DisplayLib.Shaders +{ + public class AgateShader + { + AgateShaderImpl impl; + + protected internal void SetImpl(AgateShaderImpl impl) + { + if (this.impl != null) + throw new InvalidOperationException("Cannot set impl on an object which already has one."); + + this.impl = impl; + } + + public int Passes + { + get { return impl.Passes; } + } + + public void Begin() + { + impl.Begin(); + } + public void BeginPass(int passIndex) + { + impl.BeginPass(passIndex); + } + public void EndPass() + { + impl.EndPass(); + } + public void End() + { + impl.End(); + } + + public bool IsValid + { + get { return impl != null; } + } + + public bool IsActive + { + get { return Display.Shader == this; } + } + + public void Activate() + { + Display.Shader = this; + } + public void SetTexture(EffectTexture tex, string variableName) + { + impl.SetTexture(tex, variableName); + } + public void SetVariable(string name, params float[] v) + { + impl.SetVariable(name, v); + } + public void SetVariable(string name, params int[] v) + { + impl.SetVariable(name, v); + } + public void SetVariable(string name, Matrix4x4 matrix) + { + impl.SetVariable(name, matrix); + } + + public void SetVariable(string name, Vector2 v) + { + SetVariable(name, v.X, v.Y); + } + public void SetVariable(string name, Vector3 v) + { + SetVariable(name, v.X, v.Y, v.Z); + } + public void SetVariable(string name, Vector4 v) + { + SetVariable(name, v.X, v.Y, v.Z, v.W); + } + public void SetVariable(string name, Color color) + { + impl.SetVariable(name, color); + } + + } + + public static class AgateBuiltInShaders + { + internal static void InitializeShaders() + { + if (Basic2DShader != null) + throw new InvalidOperationException(); + + Basic2DShader = new Basic2DShader(); + + + Basic2DShader.Activate(); + } + internal static void DisposeShaders() + { + Basic2DShader = null; + } + + public static Basic2DShader Basic2DShader { get; private set; } + + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Basic2DShader.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Basic2DShader.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Basic2DShader.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,39 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.DisplayLib.Shaders.Implementation; + +namespace AgateLib.DisplayLib.Shaders +{ + public class Basic2DShader : AgateInternalShader + { + public Basic2DShader() + { + + } + + protected override BuiltInShader BuiltInShaderType + { + get { return BuiltInShader.Basic2DShader; } + } + } +} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/Effect.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Effect.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Effect.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,57 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using AgateLib.Geometry; -using AgateLib.Geometry.VertexTypes; - -namespace AgateLib.DisplayLib.Shaders -{ - public abstract class Effect - { - public abstract string Technique { get; set; } - - public abstract int Passes { get; } - - public abstract void Begin(); - public abstract void BeginPass(int passIndex); - public abstract void EndPass(); - public abstract void End(); - - public abstract void SetTexture(EffectTexture tex, string variableName); - public abstract void SetVariable(string name, params float[] v); - public abstract void SetVariable(string name, params int[] v); - public abstract void SetVariable(string name, Matrix4x4 matrix); - - public void SetVariable(string name, Vector2 v) - { - SetVariable(name, v.X, v.Y); - } - public void SetVariable(string name, Vector3 v) - { - SetVariable(name, v.X, v.Y, v.Z); - } - public void SetVariable(string name, Vector4 v) - { - SetVariable(name, v.X, v.Y, v.Z, v.W); - } - public void SetVariable(string name, Color color) - { - SetVariable(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); - } - - //public VertexLayout VertexDefinition { get; set; } - - public abstract void Render<T>(RenderHandler<T> handler, T obj); - } - - public enum EffectTexture - { - Texture0, - Texture1, - Texture2, - Texture3, - } - - public delegate void RenderHandler<T>(T obj); -} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateInternalShader.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateInternalShader.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateInternalShader.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,36 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders.Implementation +{ + public abstract class AgateInternalShader : AgateShader + { + protected AgateInternalShader() + { + SetImpl(Display.Impl.CreateBuiltInShader(BuiltInShaderType)); + } + + protected abstract BuiltInShader BuiltInShaderType { get; } + + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderCompileError.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderCompileError.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderCompileError.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,37 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders +{ + [global::System.Serializable] + public class AgateShaderCompilerException : Exception + { + public AgateShaderCompilerException() { } + public AgateShaderCompilerException(string message) : base(message) { } + public AgateShaderCompilerException(string message, Exception inner) : base(message, inner) { } + protected AgateShaderCompilerException( + System.Runtime.Serialization.SerializationInfo info, + System.Runtime.Serialization.StreamingContext context) + : base(info, context) { } + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderImpl.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderImpl.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/AgateShaderImpl.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,42 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.Geometry; + +namespace AgateLib.DisplayLib.Shaders.Implementation +{ + public abstract class AgateShaderImpl + { + public abstract void SetTexture(EffectTexture tex, string variableName); + public abstract void SetVariable(string name, params float[] v); + public abstract void SetVariable(string name, params int[] v); + public abstract void SetVariable(string name, Matrix4x4 matrix); + public abstract void SetVariable(string name, Color color); + + public abstract int Passes { get; } + + public abstract void Begin(); + public abstract void BeginPass(int passIndex); + public abstract void EndPass(); + public abstract void End(); + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/BuiltInShader.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/BuiltInShader.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/BuiltInShader.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,30 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders.Implementation +{ + public enum BuiltInShader + { + Basic2DShader, + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Effect.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Effect.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Effect.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,75 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.Geometry; +using AgateLib.Geometry.VertexTypes; + +namespace AgateLib.DisplayLib.Shaders +{ + public abstract class Effect + { + public abstract string Technique { get; set; } + + public abstract int Passes { get; } + + public abstract void Begin(); + public abstract void BeginPass(int passIndex); + public abstract void EndPass(); + public abstract void End(); + + public abstract void SetTexture(EffectTexture tex, string variableName); + public abstract void SetVariable(string name, params float[] v); + public abstract void SetVariable(string name, params int[] v); + public abstract void SetVariable(string name, Matrix4x4 matrix); + + public void SetVariable(string name, Vector2 v) + { + SetVariable(name, v.X, v.Y); + } + public void SetVariable(string name, Vector3 v) + { + SetVariable(name, v.X, v.Y, v.Z); + } + public void SetVariable(string name, Vector4 v) + { + SetVariable(name, v.X, v.Y, v.Z, v.W); + } + public void SetVariable(string name, Color color) + { + SetVariable(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + //public VertexLayout VertexDefinition { get; set; } + + public abstract void Render<T>(RenderHandler<T> handler, T obj); + } + + public enum EffectTexture + { + Texture0, + Texture1, + Texture2, + Texture3, + } + + public delegate void RenderHandler<T>(T obj); +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderCompiler.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderCompiler.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderCompiler.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,53 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.ImplementationBase; + +namespace AgateLib.DisplayLib.Shaders +{ + public static class ShaderCompiler + { + static ShaderCompilerImpl impl; + + internal static void Initialize(AgateLib.ImplementationBase.ShaderCompilerImpl shaderCompilerImpl) + { + impl = shaderCompilerImpl; + + Display.DisposeDisplay += new Display.DisposeDisplayHandler(Display_DisposeDisplay); + } + + static void Display_DisposeDisplay() + { + impl = null; + } + + internal static void Disable() + { + impl = null; + } + + public static Effect CompileEffect(ShaderLanguage language, string effectSource) + { + return impl.CompileEffect(language, effectSource); + } + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderLanguage.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderLanguage.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderLanguage.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,35 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders +{ + public enum ShaderLanguage + { + None, + + Glsl, + Hlsl, + // Cg, + + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderProgram.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderProgram.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/ShaderProgram.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,62 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.Geometry; +using AgateLib.Geometry.VertexTypes; + +namespace AgateLib.DisplayLib.Shaders +{ + /* + public abstract class ShaderProgram + { + public abstract PixelShader PixelShader { get; } + public abstract VertexShader VertexShader { get; } + + public abstract void SetUniform(string name, params float[] v); + public abstract void SetUniform(string name, params int[] v); + public abstract void SetUniform(string name, Matrix4 matrix); + + public void SetUniform(string name, Vector2 v) + { + SetUniform(name, v.X, v.Y); + } + public void SetUniform(string name, Vector3 v) + { + SetUniform(name, v.X, v.Y, v.Z); + } + public void SetUniform(string name, Vector4 v) + { + SetUniform(name, v.X, v.Y, v.Z, v.W); + } + public void SetUniform(string name, Color color) + { + SetUniform(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); + } + + public VertexLayout VertexDefinition { get; set; } + + public abstract void Render(RenderHandler handler, object obj); + } + + public delegate void RenderHandler(object obj); + * */ +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Technique.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Technique.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/Technique.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,29 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders +{ + public class Technique + { + } +} Added: branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/UniformState.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/UniformState.cs (rev 0) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Implementation/UniformState.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,29 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace AgateLib.DisplayLib.Shaders +{ + public class UniformState + { + } +} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,35 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using AgateLib.ImplementationBase; - -namespace AgateLib.DisplayLib.Shaders -{ - public static class ShaderCompiler - { - static ShaderCompilerImpl impl; - - internal static void Initialize(AgateLib.ImplementationBase.ShaderCompilerImpl shaderCompilerImpl) - { - impl = shaderCompilerImpl; - - Display.DisposeDisplay += new Display.DisposeDisplayHandler(Display_DisposeDisplay); - } - - static void Display_DisposeDisplay() - { - impl = null; - } - - internal static void Disable() - { - impl = null; - } - - public static Effect CompileEffect(ShaderLanguage language, string effectSource) - { - return impl.CompileEffect(language, effectSource); - } - } -} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,17 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace AgateLib.DisplayLib.Shaders -{ - public enum ShaderLanguage - { - None, - - Glsl, - Hlsl, - // Cg, - - } -} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/ShaderProgram.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/ShaderProgram.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/ShaderProgram.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using AgateLib.Geometry; -using AgateLib.Geometry.VertexTypes; - -namespace AgateLib.DisplayLib.Shaders -{ - /* - public abstract class ShaderProgram - { - public abstract PixelShader PixelShader { get; } - public abstract VertexShader VertexShader { get; } - - public abstract void SetUniform(string name, params float[] v); - public abstract void SetUniform(string name, params int[] v); - public abstract void SetUniform(string name, Matrix4 matrix); - - public void SetUniform(string name, Vector2 v) - { - SetUniform(name, v.X, v.Y); - } - public void SetUniform(string name, Vector3 v) - { - SetUniform(name, v.X, v.Y, v.Z); - } - public void SetUniform(string name, Vector4 v) - { - SetUniform(name, v.X, v.Y, v.Z, v.W); - } - public void SetUniform(string name, Color color) - { - SetUniform(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); - } - - public VertexLayout VertexDefinition { get; set; } - - public abstract void Render(RenderHandler handler, object obj); - } - - public delegate void RenderHandler(object obj); - * */ -} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/Technique.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/Technique.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/Technique.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace AgateLib.DisplayLib.Shaders -{ - public class Technique - { - } -} Deleted: branches/shaders/AgateLib/DisplayLib/Shaders/UniformState.cs =================================================================== --- branches/shaders/AgateLib/DisplayLib/Shaders/UniformState.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/DisplayLib/Shaders/UniformState.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace AgateLib.DisplayLib.Shaders -{ - public class UniformState - { - } -} Modified: branches/shaders/AgateLib/Drivers/Registrar.cs =================================================================== --- branches/shaders/AgateLib/Drivers/Registrar.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/Drivers/Registrar.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -24,7 +24,6 @@ using System.Text; using AgateLib.ImplementationBase; -using AgateLib.PlatformSpecific; using AgateLib.Utility; namespace AgateLib.Drivers Modified: branches/shaders/AgateLib/ImplementationBase/DisplayImpl.cs =================================================================== --- branches/shaders/AgateLib/ImplementationBase/DisplayImpl.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/ImplementationBase/DisplayImpl.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -23,6 +23,7 @@ using AgateLib.BitmapFont; using AgateLib.DisplayLib; using AgateLib.DisplayLib.Shaders; +using AgateLib.DisplayLib.Shaders.Implementation; using AgateLib.Geometry; using AgateLib.Utility; @@ -592,13 +593,6 @@ } /// <summary> - /// Override to return an object implementing IPlatformServices. This object will provide - /// basic services that are not available in the .NET platform (high precision timing, etc.) - /// </summary> - /// <returns></returns> - protected internal abstract AgateLib.PlatformSpecific.IPlatformServices GetPlatformServices(); - - /// <summary> /// Makes the OS mouse pointer visible. /// </summary> protected internal abstract void ShowCursor(); @@ -650,11 +644,15 @@ get { throw new NotSupportedException("The current driver does not support shaders."); } set { throw new NotSupportedException("The current driver does not support shaders."); } } + public virtual AgateShader Shader + { + get { throw new NotSupportedException("The current driver does not support shaders."); } + set { throw new NotSupportedException("The current driver does not support shaders."); } + } - protected void InitializeShaders() { - if (Display.Caps.SupportsShaders) + if (Display.Caps.SupportsCustomShaders) { ShaderCompiler.Initialize(CreateShaderCompiler()); } @@ -666,5 +664,18 @@ protected internal abstract bool GetRenderState(RenderStateBool renderStateBool); protected internal abstract void SetRenderState(RenderStateBool renderStateBool, bool value); + + /// <summary> + /// Creates one of the build in shaders in AgateLib. Implementers should + /// return null for any built in shader that is not supported. + /// Basic2DShader must have an implementation, but any other shader can be unsupported. + /// </summary> + /// <param name="BuiltInShaderType"></param> + /// <returns></returns> + protected internal virtual AgateShaderImpl CreateBuiltInShader(AgateLib.DisplayLib.Shaders.Implementation.BuiltInShader BuiltInShaderType) + { + // TODO: make this abstract. + return null; + } } } Modified: branches/shaders/AgateLib/Meshes/Loaders/OBJFileRepresentation.cs =================================================================== (Binary files differ) Modified: branches/shaders/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs =================================================================== (Binary files differ) Modified: branches/shaders/AgateLib/Meshes/Loaders/Obj/Parser.cs =================================================================== (Binary files differ) Modified: branches/shaders/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs =================================================================== --- branches/shaders/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,4 +1,16 @@ -namespace AgateLib.Meshes.Loaders.Obj +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +namespace AgateLib.Meshes.Loaders.Obj { internal enum TokenTypes { Modified: branches/shaders/AgateLib-Windows.sln =================================================================== --- branches/shaders/AgateLib-Windows.sln 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/AgateLib-Windows.sln 2009-11-05 23:05:27 UTC (rev 1087) @@ -1,20 +1,20 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{164A785D-924E-40FB-A517-D7E677F3B53A}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{00C7FA95-98F4-43D9-9B63-34122B1DB003}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDX", "Drivers\AgateSDX\AgateSDX.csproj", "{6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{DC687DB2-90A8-484D-AB99-B3D29FDD8D44}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{9490B719-829E-43A7-A5FE-8001F8A81759}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{424C08A9-6CC6-4FFF-B782-CBD58BC42FCA}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{9E095F03-BA3F-4EAD-A905-2A2647CE4405}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{6AFA2E43-361A-4AA6-83D9-6DE946C1F0B6}" ProjectSection(SolutionItems) = preProject @@ -29,38 +29,38 @@ Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU - {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU - {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU - {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU - {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU - {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU - {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU + {BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}.Release|Any CPU.Build.0 = Release|Any CPU + {164A785D-924E-40FB-A517-D7E677F3B53A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {164A785D-924E-40FB-A517-D7E677F3B53A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {164A785D-924E-40FB-A517-D7E677F3B53A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {164A785D-924E-40FB-A517-D7E677F3B53A}.Release|Any CPU.Build.0 = Release|Any CPU + {00C7FA95-98F4-43D9-9B63-34122B1DB003}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {00C7FA95-98F4-43D9-9B63-34122B1DB003}.Debug|Any CPU.Build.0 = Debug|Any CPU + {00C7FA95-98F4-43D9-9B63-34122B1DB003}.Release|Any CPU.ActiveCfg = Release|Any CPU + {00C7FA95-98F4-43D9-9B63-34122B1DB003}.Release|Any CPU.Build.0 = Release|Any CPU {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.Build.0 = Debug|Any CPU {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.ActiveCfg = Release|Any CPU {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.Build.0 = Release|Any CPU - {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.Build.0 = Release|Any CPU - {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU - {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU - {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU - {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.Build.0 = Release|Any CPU - {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU + {DC687DB2-90A8-484D-AB99-B3D29FDD8D44}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DC687DB2-90A8-484D-AB99-B3D29FDD8D44}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DC687DB2-90A8-484D-AB99-B3D29FDD8D44}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DC687DB2-90A8-484D-AB99-B3D29FDD8D44}.Release|Any CPU.Build.0 = Release|Any CPU + {9490B719-829E-43A7-A5FE-8001F8A81759}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9490B719-829E-43A7-A5FE-8001F8A81759}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9490B719-829E-43A7-A5FE-8001F8A81759}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9490B719-829E-43A7-A5FE-8001F8A81759}.Release|Any CPU.Build.0 = Release|Any CPU + {424C08A9-6CC6-4FFF-B782-CBD58BC42FCA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {424C08A9-6CC6-4FFF-B782-CBD58BC42FCA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {424C08A9-6CC6-4FFF-B782-CBD58BC42FCA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {424C08A9-6CC6-4FFF-B782-CBD58BC42FCA}.Release|Any CPU.Build.0 = Release|Any CPU + {9E095F03-BA3F-4EAD-A905-2A2647CE4405}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9E095F03-BA3F-4EAD-A905-2A2647CE4405}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9E095F03-BA3F-4EAD-A905-2A2647CE4405}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9E095F03-BA3F-4EAD-A905-2A2647CE4405}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE Modified: branches/shaders/Drivers/AgateDrawing/AgateDrawing.csproj =================================================================== --- branches/shaders/Drivers/AgateDrawing/AgateDrawing.csproj 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/Drivers/AgateDrawing/AgateDrawing.csproj 2009-11-05 23:05:27 UTC (rev 1087) @@ -3,7 +3,7 @@ <ProjectType>Local</ProjectType> <ProductVersion>9.0.30729</ProductVersion> <SchemaVersion>2.0</SchemaVersion> - <ProjectGuid>{AAC01466-7370-4464-B1AD-1593A3A3BEC1}</ProjectGuid> + <ProjectGuid>{164A785D-924E-40FB-A517-D7E677F3B53A}</ProjectGuid> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ApplicationIcon> @@ -86,6 +86,7 @@ </Reference> </ItemGroup> <ItemGroup> + <Compile Include="DrawingBasic2DShader.cs" /> <Compile Include="Drawing_Display.cs"> <SubType>Code</SubType> </Compile> @@ -110,11 +111,11 @@ </ItemGroup> <ItemGroup> <ProjectReference Include="..\..\AgateLib\AgateLib.csproj"> - <Project>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</Project> + <Project>{9490B719-829E-43A7-A5FE-8001F8A81759}</Project> <Name>AgateLib</Name> </ProjectReference> <ProjectReference Include="..\AgateLib.WinForms\AgateLib.WinForms.csproj"> - <Project>{2E6579F9-1F70-4DF9-98A9-22687425A830}</Project> + <Project>{BEF6D67B-4C84-4D3E-8047-6DB2C8754D77}</Project> <Name>AgateLib.WinForms</Name> </ProjectReference> </ItemGroup> Added: branches/shaders/Drivers/AgateDrawing/DrawingBasic2DShader.cs =================================================================== --- branches/shaders/Drivers/AgateDrawing/DrawingBasic2DShader.cs (rev 0) +++ branches/shaders/Drivers/AgateDrawing/DrawingBasic2DShader.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -0,0 +1,61 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using AgateLib.DisplayLib.Shaders.Implementation; + +namespace AgateDrawing +{ + class DrawingBasic2DShader : AgateShaderImpl + { + public override void SetTexture(AgateLib.DisplayLib.Shaders.EffectTexture tex, string variableName) + { + throw new NotImplementedException(); + } + + public override void SetVariable(string name, params float[] v) + { + throw new NotImplementedException(); + } + + public override void SetVariable(string name, params int[] v) + { + throw new NotImplementedException(); + } + + public override void SetVariable(string name, AgateLib.Geometry.Matrix4x4 matrix) + { + throw new NotImplementedException(); + } + + public override void SetVariable(string name, AgateLib.Geometry.Color color) + { + throw new NotImplementedException(); + } + + public override int Passes + { + get { return 1; } + } + + public override void Begin() + { + throw new NotImplementedException(); + } + + public override void BeginPass(int passIndex) + { + throw new NotImplementedException(); + } + + public override void EndPass() + { + throw new NotImplementedException(); + } + + public override void End() + { + throw new NotImplementedException(); + } + } +} Modified: branches/shaders/Drivers/AgateDrawing/Drawing_Display.cs =================================================================== --- branches/shaders/Drivers/AgateDrawing/Drawing_Display.cs 2009-11-05 22:19:20 UTC (rev 1086) +++ branches/shaders/Drivers/AgateDrawing/Drawing_Display.cs 2009-11-05 23:05:27 UTC (rev 1087) @@ -24,16 +24,21 @@ using System.Drawing.Imaging; using System.Runtime.InteropServices; +using AgateLib; using AgateLib.BitmapFont; +using AgateLib.DisplayLib; +using AgateLib.DisplayLib.Shaders; +using AgateLib.DisplayLib.Shaders.Implementation; using AgateLib.Drivers; using AgateLib.ImplementationBase; -using AgateLib.PlatformSpecific; +using AgateLib.WinForms; +using Geometry = AgateLib.Geometry; +using FontStyle = AgateLib.DisplayLib.FontStyle; +using PixelFormat = AgateLib.DisplayLib.PixelFormat; -namespace AgateLib.DisplayLib.SystemDrawing +namespace AgateDrawing { - using WinForms; - - public class Drawing_Display : DisplayImp... [truncated message content] |
From: <ka...@us...> - 2009-11-05 22:19:26
|
Revision: 1086 http://agate.svn.sourceforge.net/agate/?rev=1086&view=rev Author: kanato Date: 2009-11-05 22:19:20 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Create branch for shaders. Added Paths: ----------- branches/shaders/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-11-05 22:17:49
|
Revision: 1085 http://agate.svn.sourceforge.net/agate/?rev=1085&view=rev Author: kanato Date: 2009-11-05 22:17:39 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Merge build branch and dump Prebuild based build system. Modified Paths: -------------- trunk/Drivers/AgateSDX/AgateSDX.csproj trunk/Examples/BallBuster.Net/CImage.cs Added Paths: ----------- trunk/AgateLib/AgateLib.csproj trunk/AgateLib-Windows.sln trunk/AgateLib.sln trunk/AgateTools.sln trunk/Drivers/AgateDrawing/AgateDrawing.csproj trunk/Drivers/AgateFMOD/AgateFMOD.csproj trunk/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj trunk/Drivers/AgateOTK/AgateOTK.csproj trunk/Drivers/AgateSDL/AgateSDL.csproj trunk/Examples.sln trunk/Tests/Tests.csproj trunk/Tools/FontCreator/FontCreator.csproj trunk/Tools/NotebookLib/NotebookLib/NotebookLib.csproj trunk/Tools/PackedSpriteCreator/PackedSpriteCreator.csproj trunk/Tools/ResourceEditor/ResourceEditor.csproj Removed Paths: ------------- trunk/Build/ trunk/BuildInstructions.txt trunk/Examples/Examples.sln Property Changed: ---------------- trunk/ trunk/AgateLib/ trunk/AgateLib/AgateFileProvider.cs trunk/AgateLib/AgateSetup.cs trunk/AgateLib/AudioLib/ trunk/AgateLib/AudioLib/Audio.cs trunk/AgateLib/BitmapFont/FontMetrics.cs trunk/AgateLib/BitmapFont/GlyphMetrics.cs trunk/AgateLib/Core.cs trunk/AgateLib/DisplayLib/ trunk/AgateLib/DisplayLib/Display.cs trunk/AgateLib/DisplayLib/StringTransformer.cs trunk/AgateLib/Drivers/AgateDriverReporter.cs trunk/AgateLib/Drivers/IDesktopDriver.cs trunk/AgateLib/ImplementationBase/ trunk/AgateLib/ImplementationBase/AudioImpl.cs trunk/AgateLib/InputLib/ trunk/AgateLib/Meshes/Loaders/OBJFileRepresentation.cs trunk/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs trunk/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs trunk/AgateLib/Resources/AgateResourceCollection.cs trunk/AgateLib/Resources/AgateResourceLoader.cs trunk/AgateLib/Resources/BitmapFontResource.cs trunk/AgateLib/Sprites/Sprite.cs trunk/AgateLib/Sprites/SpriteFrame.cs trunk/AgateLib/Timing.cs trunk/AgateLib/Utility/Platform.cs trunk/Drivers/ trunk/Drivers/AgateDrawing/ trunk/Drivers/AgateDrawing/Drawing_Reporter.cs trunk/Drivers/AgateFMOD/ trunk/Drivers/AgateLib.WinForms/ trunk/Drivers/AgateOTK/ trunk/Drivers/AgateSDL/ trunk/Drivers/AgateSDL/Audio/SDL_Audio.cs trunk/Drivers/AgateSDL/Audio/SDL_Music.cs trunk/Drivers/AgateSDL/Audio/SDL_SoundBuffer.cs trunk/Drivers/AgateSDL/Audio/SDL_SoundBufferSession.cs trunk/Drivers/AgateSDL/Input/SDL_Input.cs trunk/Drivers/AgateSDL/Reporter.cs trunk/Examples/BallBuster.Net/OpenTK.dll.config trunk/Tests/ trunk/Tests/CoreTests/ trunk/Tests/DisplayTests/SurfaceTester/SurfaceTester.cs trunk/Tests/DisplayTests/TestPacker/TestPacker.cs trunk/Tests/DisplayTests/TestPacker/frmTestPacker.Designer.cs trunk/Tests/DisplayTests/TestPacker/frmTestPacker.cs trunk/Tests/DisplayTests/TestPacker/frmTestPacker.resx trunk/Tests/DisplayTests/TileTester/TileTester.cs trunk/Tests/DisplayTests/TileTester/frmTileTester.Designer.cs trunk/Tests/DisplayTests/TileTester/frmTileTester.cs trunk/Tests/DisplayTests/TileTester/frmTileTester.resx trunk/Tests/InputTests/Input/ trunk/Tests/InputTests/Input/InputTester.cs trunk/Tests/InputTests/Input/frmInputTester.Designer.cs trunk/Tests/InputTests/Input/frmInputTester.cs trunk/Tests/InputTests/InputState/ trunk/Tests/InputTests/InputState/InputStateTester.cs trunk/Tools/FontCreator/ trunk/Tools/FontCreator/CreateFont.Designer.cs trunk/Tools/FontCreator/CreateFont.cs trunk/Tools/FontCreator/CreateFont.resx trunk/Tools/FontCreator/EditGlyphs.Designer.cs trunk/Tools/FontCreator/EditGlyphs.cs trunk/Tools/FontCreator/EditGlyphs.resx trunk/Tools/FontCreator/SaveFont.Designer.cs trunk/Tools/FontCreator/SaveFont.cs trunk/Tools/FontCreator/SaveFont.resx trunk/Tools/FontCreator/frmFontCreator.Designer.cs trunk/Tools/FontCreator/frmFontCreator.cs trunk/Tools/FontCreator/frmFontCreator.resx trunk/Tools/NotebookLib/NotebookLib/ trunk/Tools/PackedSpriteCreator/ trunk/Tools/PackedSpriteCreator/SpriteEditor.Designer.cs trunk/Tools/PackedSpriteCreator/SpriteEditor.cs trunk/Tools/PackedSpriteCreator/SpriteEditor.resx trunk/Tools/PackedSpriteCreator/SpritePacker.cs trunk/Tools/ResourceEditor/ Property changes on: trunk ___________________________________________________________________ Modified: svn:ignore - bin Binaries obj *.csproj *.build *.sln + bin Binaries obj *.csproj *.build Modified: svn:mergeinfo - /branches/agate-3d:629-702,840-864 /branches/agate3d-3.2:923-1034 /branches/build:424-517 /branches/font:778-916 /branches/merge-tests:806-810 /branches/registrar:595-599 /branches/sprites:463-513 + /branches/agate-3d:629-702,840-864 /branches/agate3d-3.2:923-1034 /branches/build:424-517,1081-1084 /branches/font:778-916 /branches/merge-tests:806-810 /branches/registrar:595-599 /branches/sprites:463-513 Property changes on: trunk/AgateLib ___________________________________________________________________ Modified: svn:ignore - obj *.suo Thumbs.db [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto *.csproj + obj *.suo Thumbs.db [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto Modified: svn:mergeinfo - /branches/agate-3d/AgateLib:629-702,840-864 /branches/agate3d-3.2/AgateLib:923-1034 /branches/build/AgateLib:447-448,501-517 /branches/font/AgateLib:778-916 /branches/merge-tests/AgateLib:806-810 /branches/registrar/AgateLib:595-599 /branches/sprites/AgateLib:463-513 + /branches/agate-3d/AgateLib:629-702,840-864 /branches/agate3d-3.2/AgateLib:923-1034 /branches/build/AgateLib:447-448,501-517,1081-1084 /branches/font/AgateLib:778-916 /branches/merge-tests/AgateLib:806-810 /branches/registrar/AgateLib:595-599 /branches/sprites/AgateLib:463-513 Property changes on: trunk/AgateLib/AgateFileProvider.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate3d-3.2/AgateLib/AgateFileProvider.cs:923-1034 /branches/build/AgateLib/Utility/AgateFileProvider.cs:447-517 /branches/font/AgateLib/AgateFileProvider.cs:778-916 /branches/merge-tests/AgateLib/AgateFileProvider.cs:806-810 /branches/registrar/AgateLib/Utility/AgateFileProvider.cs:595-599 /branches/sprites/AgateLib/Utility/AgateFileProvider.cs:463-513 + /branches/agate3d-3.2/AgateLib/AgateFileProvider.cs:923-1034 /branches/build/AgateLib/AgateFileProvider.cs:1081-1084 /branches/build/AgateLib/Utility/AgateFileProvider.cs:447-517 /branches/font/AgateLib/AgateFileProvider.cs:778-916 /branches/merge-tests/AgateLib/AgateFileProvider.cs:806-810 /branches/registrar/AgateLib/Utility/AgateFileProvider.cs:595-599 /branches/sprites/AgateLib/Utility/AgateFileProvider.cs:463-513 Copied: trunk/AgateLib/AgateLib.csproj (from rev 1084, branches/build/AgateLib/AgateLib.csproj) =================================================================== --- trunk/AgateLib/AgateLib.csproj (rev 0) +++ trunk/AgateLib/AgateLib.csproj 2009-11-05 22:17:39 UTC (rev 1085) @@ -0,0 +1,527 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.21022</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon></ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateLib</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder></AppDesignerFolder> + <RootNamespace>AgateLib</RootNamespace> + <StartupObject></StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile></DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\Binaries\Debug\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn></NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile>AgateLib.xml</DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\Binaries\Release\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn></NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + </ItemGroup> + <ItemGroup> + </ItemGroup> + <ItemGroup> + <Compile Include="AgateException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateGame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateSetup.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AppInitParameters.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Core.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="IFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Timing.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\Audio.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\Music.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\SoundBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\SoundBufferSession.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\BitmapFontImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\BitmapFontOptions.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\FontMetrics.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\GlyphMetrics.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\CreateWindowParams.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Display.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\DisplayCapsInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\DisplayWindow.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\FontState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\FontSurface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\IndexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\IRenderTarget.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\ISurface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Light.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\LightManager.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Origin.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\OriginAlignment.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PixelBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PixelFormat.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PrimitiveType.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\RenderStateAdapter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\ScreenMode.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\StringTransformer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Surface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\SurfaceState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\TextLayout.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\VertexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Cache\FontStateCache.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Cache\SurfaceStateCache.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\AgateShaderCompileError.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\Effect.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderCompiler.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderLanguage.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderProgram.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\Technique.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\UniformState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateDriverInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateDriverReporter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateSandBoxLoader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\DriverImplBase.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\IDesktopDriver.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\IUserSetSystems.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\NullInputImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\NullSoundImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\Registrar.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\TypeID.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Color.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Gradient.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Matrix4x4.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Point.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\PointF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Rectangle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\RectangleF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Size.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\SizeF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\TypeConverters.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector2.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector3.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector4.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Builders\Cube.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Builders\Terrain.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionColor.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureColor.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNormal.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNormalTangent.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNTB.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\VertexLayout.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\AudioImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\DisplayImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\DisplayWindowImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\FontSurfaceImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\IndexBufferImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\InputImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\JoystickImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\RenderTargetImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\ShaderCompilerImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\SurfaceImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\VertexBufferImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\InputEventArgs.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Joystick.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\JoystickInput.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Keyboard.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\KeyCode.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\KeyModifiers.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Mouse.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InternalResources\Data.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InternalResources\DataResources.Designer.cs"> + <DependentUpon>DataResources.resx</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\OBJFileRepresentation.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\OBJFileRepresentation.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\Parser.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\TokenTypes.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\ParticleEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\PixelEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\SpriteEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\SurfaceEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\FadeOutManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\GravityManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\GravityPointManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\PixelParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\SpriteParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\SurfaceParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="PlatformSpecific\IPlatformServices.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceCollection.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceLoader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\BitmapFontResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\DisplayWindowResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\SpriteResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\StringTable.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\SurfaceResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\XmlHelper.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Formatters\Xml\XmlFormatter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\ITypeBinder.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\IXleSerializable.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\TypeBinder.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializationException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializationInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\FrameList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\IFrameList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\ISprite.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\ISpriteFrame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\Sprite.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\SpriteFrame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\FileProviderList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\FileSystemProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\Platform.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\Ref.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\SurfacePacker.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\TgzFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\ZipFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <EmbeddedResource Include="InternalResources\DataResources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>DataResources.Designer.cs</LastGenOutput> + </EmbeddedResource> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> Property changes on: trunk/AgateLib/AgateSetup.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/AgateSetup.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/AgateSetup.cs:923-1034 /branches/build/AgateLib/AgateSetup.cs:501-517 /branches/font/AgateLib/AgateSetup.cs:778-916 /branches/merge-tests/AgateLib/AgateSetup.cs:806-810 /branches/registrar/AgateLib/AgateSetup.cs:595-599 /branches/sprites/AgateLib/AgateSetup.cs:463-513 + /branches/agate-3d/AgateLib/AgateSetup.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/AgateSetup.cs:923-1034 /branches/build/AgateLib/AgateSetup.cs:501-517,1081-1084 /branches/font/AgateLib/AgateSetup.cs:778-916 /branches/merge-tests/AgateLib/AgateSetup.cs:806-810 /branches/registrar/AgateLib/AgateSetup.cs:595-599 /branches/sprites/AgateLib/AgateSetup.cs:463-513 Property changes on: trunk/AgateLib/AudioLib ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/AudioLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/AudioLib:923-1034 /branches/font/AgateLib/AudioLib:778-916 /branches/merge-tests/AgateLib/AudioLib:806-810 /branches/registrar/AgateLib/AudioLib:595-599 /branches/sprites/AgateLib/AudioLib:463-513 + /branches/agate-3d/AgateLib/AudioLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/AudioLib:923-1034 /branches/build/AgateLib/AudioLib:1081-1084 /branches/font/AgateLib/AudioLib:778-916 /branches/merge-tests/AgateLib/AudioLib:806-810 /branches/registrar/AgateLib/AudioLib:595-599 /branches/sprites/AgateLib/AudioLib:463-513 Property changes on: trunk/AgateLib/AudioLib/Audio.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/AudioLib/Audio.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/AudioLib/Audio.cs:923-1034 /branches/build/AgateLib/AudioLib/Audio.cs:501-517 /branches/font/AgateLib/AudioLib/Audio.cs:778-916 /branches/merge-tests/AgateLib/AudioLib/Audio.cs:806-810 /branches/registrar/AgateLib/AudioLib/Audio.cs:595-599 /branches/sprites/AgateLib/AudioLib/Audio.cs:463-513 + /branches/agate-3d/AgateLib/AudioLib/Audio.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/AudioLib/Audio.cs:923-1034 /branches/build/AgateLib/AudioLib/Audio.cs:501-517,1081-1084 /branches/font/AgateLib/AudioLib/Audio.cs:778-916 /branches/merge-tests/AgateLib/AudioLib/Audio.cs:806-810 /branches/registrar/AgateLib/AudioLib/Audio.cs:595-599 /branches/sprites/AgateLib/AudioLib/Audio.cs:463-513 Property changes on: trunk/AgateLib/BitmapFont/FontMetrics.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/BitmapFont/FontMetrics.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/BitmapFont/FontMetrics.cs:923-1034 /branches/font/AgateLib/BitmapFont/FontMetrics.cs:778-916 /branches/merge-tests/AgateLib/BitmapFont/FontMetrics.cs:806-810 + /branches/agate-3d/AgateLib/BitmapFont/FontMetrics.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/BitmapFont/FontMetrics.cs:923-1034 /branches/build/AgateLib/BitmapFont/FontMetrics.cs:1081-1084 /branches/font/AgateLib/BitmapFont/FontMetrics.cs:778-916 /branches/merge-tests/AgateLib/BitmapFont/FontMetrics.cs:806-810 Property changes on: trunk/AgateLib/BitmapFont/GlyphMetrics.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/BitmapFont/GlyphMetrics.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/BitmapFont/GlyphMetrics.cs:923-1034 /branches/build/AgateLib/Resources/GlyphMetrics.cs:447-517 /branches/font/AgateLib/BitmapFont/GlyphMetrics.cs:778-916 /branches/merge-tests/AgateLib/BitmapFont/GlyphMetrics.cs:806-810 /branches/registrar/AgateLib/Resources/GlyphMetrics.cs:595-599 /branches/sprites/AgateLib/Resources/GlyphMetrics.cs:463-513 + /branches/agate-3d/AgateLib/BitmapFont/GlyphMetrics.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/BitmapFont/GlyphMetrics.cs:923-1034 /branches/build/AgateLib/BitmapFont/GlyphMetrics.cs:1081-1084 /branches/build/AgateLib/Resources/GlyphMetrics.cs:447-517 /branches/font/AgateLib/BitmapFont/GlyphMetrics.cs:778-916 /branches/merge-tests/AgateLib/BitmapFont/GlyphMetrics.cs:806-810 /branches/registrar/AgateLib/Resources/GlyphMetrics.cs:595-599 /branches/sprites/AgateLib/Resources/GlyphMetrics.cs:463-513 Property changes on: trunk/AgateLib/Core.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Core.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Core.cs:923-1034 /branches/build/AgateLib/Core.cs:501-517 /branches/font/AgateLib/Core.cs:778-916 /branches/merge-tests/AgateLib/Core.cs:806-810 /branches/registrar/AgateLib/Core.cs:595-599 /branches/sprites/AgateLib/Core.cs:463-513 + /branches/agate-3d/AgateLib/Core.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Core.cs:923-1034 /branches/build/AgateLib/Core.cs:501-517,1081-1084 /branches/font/AgateLib/Core.cs:778-916 /branches/merge-tests/AgateLib/Core.cs:806-810 /branches/registrar/AgateLib/Core.cs:595-599 /branches/sprites/AgateLib/Core.cs:463-513 Property changes on: trunk/AgateLib/DisplayLib ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/DisplayLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib:923-1034 /branches/font/AgateLib/DisplayLib:778-916 /branches/merge-tests/AgateLib/DisplayLib:806-810 /branches/registrar/AgateLib/DisplayLib:595-599 /branches/sprites/AgateLib/DisplayLib:463-513 + /branches/agate-3d/AgateLib/DisplayLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib:923-1034 /branches/build/AgateLib/DisplayLib:1081-1084 /branches/font/AgateLib/DisplayLib:778-916 /branches/merge-tests/AgateLib/DisplayLib:806-810 /branches/registrar/AgateLib/DisplayLib:595-599 /branches/sprites/AgateLib/DisplayLib:463-513 Property changes on: trunk/AgateLib/DisplayLib/Display.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/DisplayLib/Display.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib/Display.cs:923-1034 /branches/build/AgateLib/DisplayLib/Display.cs:501-517 /branches/font/AgateLib/DisplayLib/Display.cs:778-916 /branches/merge-tests/AgateLib/DisplayLib/Display.cs:806-810 /branches/registrar/AgateLib/DisplayLib/Display.cs:595-599 /branches/sprites/AgateLib/DisplayLib/Display.cs:463-513 + /branches/agate-3d/AgateLib/DisplayLib/Display.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib/Display.cs:923-1034 /branches/build/AgateLib/DisplayLib/Display.cs:501-517,1081-1084 /branches/font/AgateLib/DisplayLib/Display.cs:778-916 /branches/merge-tests/AgateLib/DisplayLib/Display.cs:806-810 /branches/registrar/AgateLib/DisplayLib/Display.cs:595-599 /branches/sprites/AgateLib/DisplayLib/Display.cs:463-513 Property changes on: trunk/AgateLib/DisplayLib/StringTransformer.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/DisplayLib/StringTransformer.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib/StringTransformer.cs:923-1034 /branches/build/AgateLib/DisplayLib/StringTransformer.cs:501-517 /branches/font/AgateLib/DisplayLib/StringTransformer.cs:778-916 /branches/merge-tests/AgateLib/DisplayLib/StringTransformer.cs:806-810 /branches/registrar/AgateLib/DisplayLib/StringTransformer.cs:595-599 /branches/sprites/AgateLib/DisplayLib/StringTransformer.cs:463-513 + /branches/agate-3d/AgateLib/DisplayLib/StringTransformer.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/DisplayLib/StringTransformer.cs:923-1034 /branches/build/AgateLib/DisplayLib/StringTransformer.cs:501-517,1081-1084 /branches/font/AgateLib/DisplayLib/StringTransformer.cs:778-916 /branches/merge-tests/AgateLib/DisplayLib/StringTransformer.cs:806-810 /branches/registrar/AgateLib/DisplayLib/StringTransformer.cs:595-599 /branches/sprites/AgateLib/DisplayLib/StringTransformer.cs:463-513 Property changes on: trunk/AgateLib/Drivers/AgateDriverReporter.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Drivers/AgateDriverReporter.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Drivers/AgateDriverReporter.cs:923-1034 /branches/font/AgateLib/Drivers/AgateDriverReporter.cs:778-916 /branches/merge-tests/AgateLib/Drivers/AgateDriverReporter.cs:806-810 + /branches/agate-3d/AgateLib/Drivers/AgateDriverReporter.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Drivers/AgateDriverReporter.cs:923-1034 /branches/build/AgateLib/Drivers/AgateDriverReporter.cs:1081-1084 /branches/font/AgateLib/Drivers/AgateDriverReporter.cs:778-916 /branches/merge-tests/AgateLib/Drivers/AgateDriverReporter.cs:806-810 Property changes on: trunk/AgateLib/Drivers/IDesktopDriver.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Drivers/IDesktopDriver.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Drivers/IDesktopDriver.cs:923-1034 /branches/font/AgateLib/Drivers/IDesktopDriver.cs:778-916 /branches/merge-tests/AgateLib/Drivers/IDesktopDriver.cs:806-810 + /branches/agate-3d/AgateLib/Drivers/IDesktopDriver.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Drivers/IDesktopDriver.cs:923-1034 /branches/build/AgateLib/Drivers/IDesktopDriver.cs:1081-1084 /branches/font/AgateLib/Drivers/IDesktopDriver.cs:778-916 /branches/merge-tests/AgateLib/Drivers/IDesktopDriver.cs:806-810 Property changes on: trunk/AgateLib/ImplementationBase ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/ImplementationBase:629-702,840-864 /branches/agate3d-3.2/AgateLib/ImplementationBase:923-1034 /branches/font/AgateLib/ImplementationBase:778-916 /branches/merge-tests/AgateLib/ImplementationBase:806-810 /branches/registrar/AgateLib/ImplementationBase:595-599 /branches/sprites/AgateLib/ImplementationBase:463-513 + /branches/agate-3d/AgateLib/ImplementationBase:629-702,840-864 /branches/agate3d-3.2/AgateLib/ImplementationBase:923-1034 /branches/build/AgateLib/ImplementationBase:1081-1084 /branches/font/AgateLib/ImplementationBase:778-916 /branches/merge-tests/AgateLib/ImplementationBase:806-810 /branches/registrar/AgateLib/ImplementationBase:595-599 /branches/sprites/AgateLib/ImplementationBase:463-513 Property changes on: trunk/AgateLib/ImplementationBase/AudioImpl.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/ImplementationBase/AudioImpl.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/ImplementationBase/AudioImpl.cs:923-1034 /branches/build/AgateLib/ImplementationBase/AudioImpl.cs:501-517 /branches/font/AgateLib/ImplementationBase/AudioImpl.cs:778-916 /branches/merge-tests/AgateLib/ImplementationBase/AudioImpl.cs:806-810 /branches/registrar/AgateLib/ImplementationBase/AudioImpl.cs:595-599 /branches/sprites/AgateLib/ImplementationBase/AudioImpl.cs:463-513 + /branches/agate-3d/AgateLib/ImplementationBase/AudioImpl.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/ImplementationBase/AudioImpl.cs:923-1034 /branches/build/AgateLib/ImplementationBase/AudioImpl.cs:501-517,1081-1084 /branches/font/AgateLib/ImplementationBase/AudioImpl.cs:778-916 /branches/merge-tests/AgateLib/ImplementationBase/AudioImpl.cs:806-810 /branches/registrar/AgateLib/ImplementationBase/AudioImpl.cs:595-599 /branches/sprites/AgateLib/ImplementationBase/AudioImpl.cs:463-513 Property changes on: trunk/AgateLib/InputLib ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/InputLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/InputLib:923-1034 /branches/font/AgateLib/InputLib:778-916 /branches/merge-tests/AgateLib/InputLib:806-810 /branches/registrar/AgateLib/InputLib:595-599 /branches/sprites/AgateLib/InputLib:463-513 + /branches/agate-3d/AgateLib/InputLib:629-702,840-864 /branches/agate3d-3.2/AgateLib/InputLib:923-1034 /branches/build/AgateLib/InputLib:1081-1084 /branches/font/AgateLib/InputLib:778-916 /branches/merge-tests/AgateLib/InputLib:806-810 /branches/registrar/AgateLib/InputLib:595-599 /branches/sprites/AgateLib/InputLib:463-513 Property changes on: trunk/AgateLib/Meshes/Loaders/OBJFileRepresentation.cs ___________________________________________________________________ Modified: svn:mergeinfo - + /branches/build/AgateLib/Meshes/Loaders/OBJFileRepresentation.cs:1081-1084 Property changes on: trunk/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs:840-864 + /branches/agate-3d/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs:840-864 /branches/build/AgateLib/Meshes/Loaders/Obj/OBJFileRepresentation.cs:1081-1084 Property changes on: trunk/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs:840-864 + /branches/agate-3d/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs:840-864 /branches/build/AgateLib/Meshes/Loaders/Obj/TokenTypes.cs:1081-1084 Property changes on: trunk/AgateLib/Resources/AgateResourceCollection.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Resources/AgateResourceCollection.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/AgateResourceCollection.cs:923-1034 /branches/build/AgateLib/Resources/AgateResourceManager.cs:447-448,501-517 /branches/font/AgateLib/Resources/AgateResourceCollection.cs:778-916 /branches/merge-tests/AgateLib/Resources/AgateResourceCollection.cs:806-810 /branches/registrar/AgateLib/Resources/AgateResourceCollection.cs:595-599 /branches/sprites/AgateLib/Resources/AgateResourceManager.cs:463-513 + /branches/agate-3d/AgateLib/Resources/AgateResourceCollection.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/AgateResourceCollection.cs:923-1034 /branches/build/AgateLib/Resources/AgateResourceCollection.cs:1081-1084 /branches/build/AgateLib/Resources/AgateResourceManager.cs:447-448,501-517 /branches/font/AgateLib/Resources/AgateResourceCollection.cs:778-916 /branches/merge-tests/AgateLib/Resources/AgateResourceCollection.cs:806-810 /branches/registrar/AgateLib/Resources/AgateResourceCollection.cs:595-599 /branches/sprites/AgateLib/Resources/AgateResourceManager.cs:463-513 Property changes on: trunk/AgateLib/Resources/AgateResourceLoader.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Resources/AgateResourceLoader.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/AgateResourceLoader.cs:923-1034 /branches/font/AgateLib/Resources/AgateResourceLoader.cs:778-916 /branches/merge-tests/AgateLib/Resources/AgateResourceLoader.cs:806-810 /branches/registrar/AgateLib/Resources/AgateResourceLoader.cs:595-599 + /branches/agate-3d/AgateLib/Resources/AgateResourceLoader.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/AgateResourceLoader.cs:923-1034 /branches/build/AgateLib/Resources/AgateResourceLoader.cs:1081-1084 /branches/font/AgateLib/Resources/AgateResourceLoader.cs:778-916 /branches/merge-tests/AgateLib/Resources/AgateResourceLoader.cs:806-810 /branches/registrar/AgateLib/Resources/AgateResourceLoader.cs:595-599 Property changes on: trunk/AgateLib/Resources/BitmapFontResource.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Resources/BitmapFontResource.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/BitmapFontResource.cs:923-1034 /branches/font/AgateLib/Resources/BitmapFontResource.cs:778-916 /branches/merge-tests/AgateLib/Resources/BitmapFontResource.cs:806-810 + /branches/agate-3d/AgateLib/Resources/BitmapFontResource.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Resources/BitmapFontResource.cs:923-1034 /branches/build/AgateLib/Resources/BitmapFontResource.cs:1081-1084 /branches/font/AgateLib/Resources/BitmapFontResource.cs:778-916 /branches/merge-tests/AgateLib/Resources/BitmapFontResource.cs:806-810 Property changes on: trunk/AgateLib/Sprites/Sprite.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate3d-3.2/AgateLib/Sprites/Sprite.cs:923-1034 /branches/build/AgateLib/Sprites/NewSprite.cs:447-517 /branches/font/AgateLib/Sprites/Sprite.cs:778-916 /branches/merge-tests/AgateLib/Sprites/Sprite.cs:806-810 /branches/registrar/AgateLib/Sprites/NewSprite.cs:595-599 /branches/sprites/AgateLib/Sprites/NewSprite.cs:463-513 + /branches/agate3d-3.2/AgateLib/Sprites/Sprite.cs:923-1034 /branches/build/AgateLib/Sprites/NewSprite.cs:447-517 /branches/build/AgateLib/Sprites/Sprite.cs:1081-1084 /branches/font/AgateLib/Sprites/Sprite.cs:778-916 /branches/merge-tests/AgateLib/Sprites/Sprite.cs:806-810 /branches/registrar/AgateLib/Sprites/NewSprite.cs:595-599 /branches/sprites/AgateLib/Sprites/NewSprite.cs:463-513 Property changes on: trunk/AgateLib/Sprites/SpriteFrame.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate3d-3.2/AgateLib/Sprites/SpriteFrame.cs:923-1034 /branches/build/AgateLib/Sprites/NewSpriteFrame.cs:447-517 /branches/font/AgateLib/Sprites/SpriteFrame.cs:778-916 /branches/merge-tests/AgateLib/Sprites/SpriteFrame.cs:806-810 /branches/registrar/AgateLib/Sprites/NewSpriteFrame.cs:595-599 /branches/sprites/AgateLib/Sprites/NewSpriteFrame.cs:463-513 + /branches/agate3d-3.2/AgateLib/Sprites/SpriteFrame.cs:923-1034 /branches/build/AgateLib/Sprites/NewSpriteFrame.cs:447-517 /branches/build/AgateLib/Sprites/SpriteFrame.cs:1081-1084 /branches/font/AgateLib/Sprites/SpriteFrame.cs:778-916 /branches/merge-tests/AgateLib/Sprites/SpriteFrame.cs:806-810 /branches/registrar/AgateLib/Sprites/NewSpriteFrame.cs:595-599 /branches/sprites/AgateLib/Sprites/NewSpriteFrame.cs:463-513 Property changes on: trunk/AgateLib/Timing.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Timing.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Timing.cs:923-1034 /branches/build/AgateLib/Timing.cs:501-517 /branches/font/AgateLib/Timing.cs:778-916 /branches/merge-tests/AgateLib/Timing.cs:806-810 /branches/registrar/AgateLib/Timing.cs:595-599 /branches/sprites/AgateLib/Timing.cs:463-513 + /branches/agate-3d/AgateLib/Timing.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Timing.cs:923-1034 /branches/build/AgateLib/Timing.cs:501-517,1081-1084 /branches/font/AgateLib/Timing.cs:778-916 /branches/merge-tests/AgateLib/Timing.cs:806-810 /branches/registrar/AgateLib/Timing.cs:595-599 /branches/sprites/AgateLib/Timing.cs:463-513 Property changes on: trunk/AgateLib/Utility/Platform.cs ___________________________________________________________________ Modified: svn:mergeinfo - /branches/agate-3d/AgateLib/Utility/Platform.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Utility/Platform.cs:923-1034 /branches/build/AgateLib/Utility/Platform.cs:501-517 /branches/font/AgateLib/Utility/Platform.cs:778-916 /branches/merge-tests/AgateLib/Utility/Platform.cs:806-810 /branches/registrar/AgateLib/Utility/Platform.cs:595-599 /branches/sprites/AgateLib/Utility/Platform.cs:463-513 + /branches/agate-3d/AgateLib/Utility/Platform.cs:629-702,840-864 /branches/agate3d-3.2/AgateLib/Utility/Platform.cs:923-1034 /branches/build/AgateLib/Utility/Platform.cs:501-517,1081-1084 /branches/font/AgateLib/Utility/Platform.cs:778-916 /branches/merge-tests/AgateLib/Utility/Platform.cs:806-810 /branches/registrar/AgateLib/Utility/Platform.cs:595-599 /branches/sprites/AgateLib/Utility/Platform.cs:463-513 Copied: trunk/AgateLib-Windows.sln (from rev 1084, branches/build/AgateLib-Windows.sln) =================================================================== --- trunk/AgateLib-Windows.sln (rev 0) +++ trunk/AgateLib-Windows.sln 2009-11-05 22:17:39 UTC (rev 1085) @@ -0,0 +1,68 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDX", "Drivers\AgateSDX\AgateSDX.csproj", "{6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{6AFA2E43-361A-4AA6-83D9-6DE946C1F0B6}" + ProjectSection(SolutionItems) = preProject + ChangeLog.txt = ChangeLog.txt + ReleaseNotes.txt = ReleaseNotes.txt + TODO.txt = TODO.txt + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.Build.0 = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.Build.0 = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Copied: trunk/AgateLib.sln (from rev 1084, branches/build/AgateLib.sln) =================================================================== --- trunk/AgateLib.sln (rev 0) +++ trunk/AgateLib.sln 2009-11-05 22:17:39 UTC (rev 1085) @@ -0,0 +1,62 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{0CE8B58F-922D-40A6-92E6-2F6913A97049}" + ProjectSection(SolutionItems) = preProject + ChangeLog.txt = ChangeLog.txt + ReleaseNotes.txt = ReleaseNotes.txt + TODO.txt = TODO.txt + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.Build.0 = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Copied: trunk/AgateTools.sln (from rev 1084, branches/build/AgateTools.sln) =================================================================== --- trunk/AgateTools.sln (rev 0) +++ trunk/AgateTools.sln 2009-11-05 22:17:39 UTC (rev 1085) @@ -0,0 +1,62 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResourceEditor", "Tools\ResourceEditor\ResourceEditor.csproj", "{5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PackedSpriteCreator", "Tools\PackedSpriteCreator\PackedSpriteCreator.csproj", "{674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FontCreator", "Tools\FontCreator\FontCreator.csproj", "{49F8D445-EF44-46AA-93C0-E9C563B2074C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotebookLib", "Tools\NotebookLib\NotebookLib\NotebookLib.csproj", "{826129F3-81A8-4D87-99E0-60DA009C9E3C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{4B147B99-8BC3-4B78-938A-1035B16A8D1B}" + ProjectSection(SolutionItems) = preProject + ChangeLog.txt = ChangeLog.txt + ReleaseNotes.txt = ReleaseNotes.txt + TODO.txt = TODO.txt + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Release|Any CPU.Build.0 = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Deleted: trunk/BuildInstructions.txt =================================================================== --- trunk/BuildInstructions.txt 2009-11-05 22:02:11 UTC (rev 1084) +++ trunk/BuildInstructions.txt 2009-11-05 22:17:39 UTC (rev 1085) @@ -1,36 +0,0 @@ -AgateLib Build instructions -=========================== - -In the Build folder is a collection of scripts built around the .NET Prebuild project -located at http://dnpb.sf.net/ which are used to generate project and solution files -for various IDE's. The following scripts are supported: - * VS2008.bat : Create project files for Visual Studio 2008. - * monodevelop.sh : Create project files for MonoDevevelop. - You may need to use "chmod +x monodevelop.sh" in order to run the monodevelop - script file. - -Once one of the above scripts is run, project and solutions will be c... [truncated message content] |
From: <ka...@us...> - 2009-11-05 22:02:18
|
Revision: 1084 http://agate.svn.sourceforge.net/agate/?rev=1084&view=rev Author: kanato Date: 2009-11-05 22:02:11 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Remove delete items from solution items. Modified Paths: -------------- branches/build/AgateLib-Windows.sln branches/build/AgateLib.sln branches/build/AgateTools.sln Removed Paths: ------------- branches/build/BuildInstructions.txt Modified: branches/build/AgateLib-Windows.sln =================================================================== --- branches/build/AgateLib-Windows.sln 2009-11-05 21:28:52 UTC (rev 1083) +++ branches/build/AgateLib-Windows.sln 2009-11-05 22:02:11 UTC (rev 1084) @@ -18,24 +18,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{6AFA2E43-361A-4AA6-83D9-6DE946C1F0B6}" ProjectSection(SolutionItems) = preProject - Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml - Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml - AgateLib-Windows.xml = AgateLib-Windows.xml - Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml - Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml - AgateLib.xml = AgateLib.xml - Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml - Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml - Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml - AgateTools.xml = AgateTools.xml ChangeLog.txt = ChangeLog.txt - Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml - Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml - Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml ReleaseNotes.txt = ReleaseNotes.txt - Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml - SolutionItems.xml = SolutionItems.xml - Projects\Tests.proj.xml = Projects\Tests.proj.xml TODO.txt = TODO.txt EndProjectSection EndProject Modified: branches/build/AgateLib.sln =================================================================== --- branches/build/AgateLib.sln 2009-11-05 21:28:52 UTC (rev 1083) +++ branches/build/AgateLib.sln 2009-11-05 22:02:11 UTC (rev 1084) @@ -16,24 +16,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{0CE8B58F-922D-40A6-92E6-2F6913A97049}" ProjectSection(SolutionItems) = preProject - Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml - Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml - AgateLib-Windows.xml = AgateLib-Windows.xml - Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml - Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml - AgateLib.xml = AgateLib.xml - Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml - Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml - Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml - AgateTools.xml = AgateTools.xml ChangeLog.txt = ChangeLog.txt - Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml - Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml - Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml ReleaseNotes.txt = ReleaseNotes.txt - Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml - SolutionItems.xml = SolutionItems.xml - Projects\Tests.proj.xml = Projects\Tests.proj.xml TODO.txt = TODO.txt EndProjectSection EndProject Modified: branches/build/AgateTools.sln =================================================================== --- branches/build/AgateTools.sln 2009-11-05 21:28:52 UTC (rev 1083) +++ branches/build/AgateTools.sln 2009-11-05 22:02:11 UTC (rev 1084) @@ -16,24 +16,8 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{4B147B99-8BC3-4B78-938A-1035B16A8D1B}" ProjectSection(SolutionItems) = preProject - Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml - Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml - AgateLib-Windows.xml = AgateLib-Windows.xml - Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml - Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml - AgateLib.xml = AgateLib.xml - Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml - Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml - Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml - AgateTools.xml = AgateTools.xml ChangeLog.txt = ChangeLog.txt - Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml - Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml - Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml ReleaseNotes.txt = ReleaseNotes.txt - Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml - SolutionItems.xml = SolutionItems.xml - Projects\Tests.proj.xml = Projects\Tests.proj.xml TODO.txt = TODO.txt EndProjectSection EndProject Deleted: branches/build/BuildInstructions.txt =================================================================== --- branches/build/BuildInstructions.txt 2009-11-05 21:28:52 UTC (rev 1083) +++ branches/build/BuildInstructions.txt 2009-11-05 22:02:11 UTC (rev 1084) @@ -1,36 +0,0 @@ -AgateLib Build instructions -=========================== - -In the Build folder is a collection of scripts built around the .NET Prebuild project -located at http://dnpb.sf.net/ which are used to generate project and solution files -for various IDE's. The following scripts are supported: - * VS2008.bat : Create project files for Visual Studio 2008. - * monodevelop.sh : Create project files for MonoDevevelop. - You may need to use "chmod +x monodevelop.sh" in order to run the monodevelop - script file. - -Once one of the above scripts is run, project and solutions will be created. -The solution files will all be placed in the Builddirectory. Project files for -each AgateLib driver, tool and test are created in their respective source -directorys. It is recommended that you try to build the AgateLib solution -before trying the others. - -Solution file descriptions --------------------------- - -Solution files end in either .sln (Visual Studio) or .mds (MonoDevelop). -The following solutions are generated. - -AgateLib : This solution contains the project for creating the AgateLib.dll file, as - well as supported driver libraries that can be built on any platform. These - include AgateOTK.dll, AgateFMOD.dll, AgateLib.WinForms.dll, and AgateDrawing.dll. - -AgateLib-Windows : This solution is identical to the AgateLib solution, except it will also - contain projects which can only be built on Windows such as AgateMDX.dll. - -AgateTools : This solution will contain all the development tools that are packaged with - AgateLib. - -*Tests: Solutions who's names end with "Tests" contain small applications designed to test - certain areas of AgateLib. These projects also can be useful as example code. - \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-11-05 21:29:01
|
Revision: 1083 http://agate.svn.sourceforge.net/agate/?rev=1083&view=rev Author: kanato Date: 2009-11-05 21:28:52 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Fix examples solution and update platform independent solution. Remove build folder. Modified Paths: -------------- branches/build/AgateLib.sln branches/build/Examples/BallBuster.Net/CImage.cs branches/build/Examples.sln Removed Paths: ------------- branches/build/Build/ Property Changed: ---------------- branches/build/Tests/ Modified: branches/build/AgateLib.sln =================================================================== --- branches/build/AgateLib.sln 2009-11-05 20:48:42 UTC (rev 1082) +++ branches/build/AgateLib.sln 2009-11-05 21:28:52 UTC (rev 1083) @@ -1,40 +1,40 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{CB9D05EB-E4AA-4084-B80B-5CF937B728BB}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{3C82FAD2-002A-4FCE-9996-77723D72E4C1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{9598004B-60D8-4E80-97F1-82DFBF133E06}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{0CE8B58F-922D-40A6-92E6-2F6913A97049}" ProjectSection(SolutionItems) = preProject - TODO.txt = TODO.txt - ChangeLog.txt = ChangeLog.txt - ReleaseNotes.txt = ReleaseNotes.txt - AgateLib-Windows.xml = AgateLib-Windows.xml - AgateLib.xml = AgateLib.xml - AgateTools.xml = AgateTools.xml - SolutionItems.xml = SolutionItems.xml Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml + AgateLib-Windows.xml = AgateLib-Windows.xml Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml + AgateLib.xml = AgateLib.xml Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml - Projects\Tests.proj.xml = Projects\Tests.proj.xml + AgateTools.xml = AgateTools.xml + ChangeLog.txt = ChangeLog.txt Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml + ReleaseNotes.txt = ReleaseNotes.txt Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml + SolutionItems.xml = SolutionItems.xml + Projects\Tests.proj.xml = Projects\Tests.proj.xml + TODO.txt = TODO.txt EndProjectSection EndProject Global @@ -43,33 +43,36 @@ Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Release|Any CPU.Build.0 = Release|Any CPU - {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Release|Any CPU.Build.0 = Release|Any CPU - {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Release|Any CPU.Build.0 = Release|Any CPU - {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Release|Any CPU.Build.0 = Release|Any CPU - {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Release|Any CPU.Build.0 = Release|Any CPU - {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Release|Any CPU.Build.0 = Release|Any CPU - {9598004B-60D8-4E80-97F1-82DFBF133E06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {9598004B-60D8-4E80-97F1-82DFBF133E06}.Debug|Any CPU.Build.0 = Debug|Any CPU - {9598004B-60D8-4E80-97F1-82DFBF133E06}.Release|Any CPU.ActiveCfg = Release|Any CPU - {9598004B-60D8-4E80-97F1-82DFBF133E06}.Release|Any CPU.Build.0 = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.Build.0 = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection EndGlobal Modified: branches/build/Examples/BallBuster.Net/CImage.cs =================================================================== --- branches/build/Examples/BallBuster.Net/CImage.cs 2009-11-05 20:48:42 UTC (rev 1082) +++ branches/build/Examples/BallBuster.Net/CImage.cs 2009-11-05 21:28:52 UTC (rev 1083) @@ -139,7 +139,7 @@ //this.fontStyler = new CL_TextStyler("Font2", &resources); - Display.PackAllSurfaces(); + //Display.PackAllSurfaces(); } public void unload() Modified: branches/build/Examples.sln =================================================================== --- branches/build/Examples.sln 2009-11-05 20:48:42 UTC (rev 1082) +++ branches/build/Examples.sln 2009-11-05 21:28:52 UTC (rev 1083) @@ -1,21 +1,21 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "..\Drivers\AgateDrawing\AgateDrawing.csproj", "{E9A68475-55E0-4B16-9E68-DE31596C8B81}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "..\Drivers\AgateOTK\AgateOTK.csproj", "{5FB3675B-5389-4A1E-89A6-059665C2555B}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pong", "Pong\Pong.csproj", "{436641C4-846C-42D0-8E8F-95F70E211D22}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pong", "Examples\Pong\Pong.csproj", "{436641C4-846C-42D0-8E8F-95F70E211D22}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BallBuster.Net", "BallBuster.Net\BallBuster.Net.csproj", "{DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BallBuster.Net", "Examples\BallBuster.Net\BallBuster.Net.csproj", "{DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "..\AgateLib\AgateLib.csproj", "{5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "..\Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{CD71274E-9AF0-42FC-ADC8-FE35D3274C61}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "..\Drivers\AgateSDL\AgateSDL.csproj", "{4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShootTheTraps", "ShootTheTraps\ShootTheTraps.csproj", "{50743D1B-A19E-42F1-842F-65FAD6D168C3}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShootTheTraps", "Examples\ShootTheTraps\ShootTheTraps.csproj", "{50743D1B-A19E-42F1-842F-65FAD6D168C3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -23,14 +23,14 @@ Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Release|Any CPU.Build.0 = Release|Any CPU - {5FB3675B-5389-4A1E-89A6-059665C2555B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5FB3675B-5389-4A1E-89A6-059665C2555B}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5FB3675B-5389-4A1E-89A6-059665C2555B}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5FB3675B-5389-4A1E-89A6-059665C2555B}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Debug|Any CPU.Build.0 = Debug|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -39,18 +39,18 @@ {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Debug|Any CPU.Build.0 = Debug|Any CPU {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Release|Any CPU.ActiveCfg = Release|Any CPU {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Release|Any CPU.Build.0 = Release|Any CPU - {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Debug|Any CPU.Build.0 = Debug|Any CPU - {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Release|Any CPU.ActiveCfg = Release|Any CPU - {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Release|Any CPU.Build.0 = Release|Any CPU - {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Release|Any CPU.Build.0 = Release|Any CPU - {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Debug|Any CPU.Build.0 = Debug|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Release|Any CPU.ActiveCfg = Release|Any CPU Property changes on: branches/build/Tests ___________________________________________________________________ Modified: svn:ignore - *.suo + *.suo obj This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-11-05 20:49:06
|
Revision: 1082 http://agate.svn.sourceforge.net/agate/?rev=1082&view=rev Author: kanato Date: 2009-11-05 20:48:42 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Modified Paths: -------------- branches/build/Drivers/AgateSDX/AgateSDX.csproj Added Paths: ----------- branches/build/AgateLib/AgateLib.csproj branches/build/AgateLib-Windows.sln branches/build/AgateLib.sln branches/build/AgateTools.sln branches/build/Drivers/AgateDrawing/AgateDrawing.csproj branches/build/Drivers/AgateFMOD/AgateFMOD.csproj branches/build/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj branches/build/Drivers/AgateOTK/AgateOTK.csproj branches/build/Drivers/AgateSDL/AgateSDL.csproj branches/build/Examples.sln branches/build/Tests/Tests.csproj branches/build/Tools/FontCreator/FontCreator.csproj branches/build/Tools/NotebookLib/NotebookLib/NotebookLib.csproj branches/build/Tools/PackedSpriteCreator/PackedSpriteCreator.csproj branches/build/Tools/ResourceEditor/ResourceEditor.csproj Removed Paths: ------------- branches/build/Examples/Examples.sln Property Changed: ---------------- branches/build/ branches/build/AgateLib/ branches/build/Drivers/AgateDrawing/ branches/build/Drivers/AgateFMOD/ branches/build/Drivers/AgateLib.WinForms/ branches/build/Drivers/AgateOTK/ branches/build/Drivers/AgateSDL/ branches/build/Tools/FontCreator/ branches/build/Tools/NotebookLib/NotebookLib/ branches/build/Tools/PackedSpriteCreator/ branches/build/Tools/ResourceEditor/ Property changes on: branches/build ___________________________________________________________________ Modified: svn:ignore - bin Binaries obj *.csproj *.build *.sln + bin Binaries obj *.csproj *.build Property changes on: branches/build/AgateLib ___________________________________________________________________ Modified: svn:ignore - obj *.suo Thumbs.db [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto *.csproj + obj *.suo Thumbs.db [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto Added: branches/build/AgateLib/AgateLib.csproj =================================================================== --- branches/build/AgateLib/AgateLib.csproj (rev 0) +++ branches/build/AgateLib/AgateLib.csproj 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,527 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.21022</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon></ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateLib</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder></AppDesignerFolder> + <RootNamespace>AgateLib</RootNamespace> + <StartupObject></StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile></DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\Binaries\Debug\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn></NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile>AgateLib.xml</DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\Binaries\Release\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn></NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + </ItemGroup> + <ItemGroup> + </ItemGroup> + <ItemGroup> + <Compile Include="AgateException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateGame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AgateSetup.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AppInitParameters.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Core.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="IFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Timing.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\Audio.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\Music.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\SoundBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="AudioLib\SoundBufferSession.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\BitmapFontImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\BitmapFontOptions.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\FontMetrics.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFont\GlyphMetrics.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\CreateWindowParams.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Display.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\DisplayCapsInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\DisplayWindow.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\FontState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\FontSurface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\IndexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\IRenderTarget.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\ISurface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Light.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\LightManager.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Origin.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\OriginAlignment.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PixelBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PixelFormat.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\PrimitiveType.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\RenderStateAdapter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\ScreenMode.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\StringTransformer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Surface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\SurfaceState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\TextLayout.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\VertexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Cache\FontStateCache.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Cache\SurfaceStateCache.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\AgateShaderCompileError.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\Effect.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderCompiler.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderLanguage.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\ShaderProgram.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\Technique.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayLib\Shaders\UniformState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateDriverInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateDriverReporter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\AgateSandBoxLoader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\DriverImplBase.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\IDesktopDriver.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\IUserSetSystems.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\NullInputImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\NullSoundImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\Registrar.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drivers\TypeID.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Color.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Gradient.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Matrix4x4.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Point.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\PointF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Rectangle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\RectangleF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Size.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\SizeF.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\TypeConverters.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector2.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector3.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Vector4.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Builders\Cube.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\Builders\Terrain.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionColor.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureColor.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNormal.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNormalTangent.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\PositionTextureNTB.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Geometry\VertexTypes\VertexLayout.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\AudioImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\DisplayImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\DisplayWindowImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\FontSurfaceImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\IndexBufferImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\InputImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\JoystickImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\RenderTargetImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\ShaderCompilerImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\SurfaceImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ImplementationBase\VertexBufferImpl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\InputEventArgs.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Joystick.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\JoystickInput.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Keyboard.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\KeyCode.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\KeyModifiers.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InputLib\Mouse.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InternalResources\Data.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="InternalResources\DataResources.Designer.cs"> + <DependentUpon>DataResources.resx</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\OBJFileRepresentation.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\OBJFileRepresentation.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\Parser.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Meshes\Loaders\Obj\TokenTypes.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\ParticleEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\PixelEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\SpriteEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Emitters\SurfaceEmitter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\FadeOutManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\GravityManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Manipulators\GravityPointManipulator.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\PixelParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\SpriteParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Particles\Particles\SurfaceParticle.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="PlatformSpecific\IPlatformServices.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceCollection.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\AgateResourceLoader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\BitmapFontResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\DisplayWindowResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\SpriteResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\StringTable.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\SurfaceResource.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Resources\XmlHelper.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Formatters\Xml\XmlFormatter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\ITypeBinder.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\IXleSerializable.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\TypeBinder.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializationException.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializationInfo.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Serialization\Xle\XleSerializer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\FrameList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\IFrameList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\ISprite.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\ISpriteFrame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\Sprite.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Sprites\SpriteFrame.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\FileProviderList.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\FileSystemProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\Platform.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\Ref.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\SurfacePacker.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\TgzFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Utility\ZipFileProvider.cs"> + <SubType>Code</SubType> + </Compile> + <EmbeddedResource Include="InternalResources\DataResources.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>DataResources.Designer.cs</LastGenOutput> + </EmbeddedResource> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> Added: branches/build/AgateLib-Windows.sln =================================================================== --- branches/build/AgateLib-Windows.sln (rev 0) +++ branches/build/AgateLib-Windows.sln 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,84 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{6ED4F92F-7C1F-478C-9AA1-938F47B68F22}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDX", "Drivers\AgateSDX\AgateSDX.csproj", "{6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{3F2BD363-E2D6-4B62-8D57-7727142D6B82}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{6AFA2E43-361A-4AA6-83D9-6DE946C1F0B6}" + ProjectSection(SolutionItems) = preProject + Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml + Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml + AgateLib-Windows.xml = AgateLib-Windows.xml + Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml + Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml + AgateLib.xml = AgateLib.xml + Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml + Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml + Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml + AgateTools.xml = AgateTools.xml + ChangeLog.txt = ChangeLog.txt + Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml + Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml + Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml + ReleaseNotes.txt = ReleaseNotes.txt + Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml + SolutionItems.xml = SolutionItems.xml + Projects\Tests.proj.xml = Projects\Tests.proj.xml + TODO.txt = TODO.txt + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6ED4F92F-7C1F-478C-9AA1-938F47B68F22}.Release|Any CPU.Build.0 = Release|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Debug|Any CPU.Build.0 = Debug|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.ActiveCfg = Release|Any CPU + {6C4E3198-7D6D-41E5-BFA2-AC28ADDAE2B6}.Release|Any CPU.Build.0 = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CCA60063-264F-4B62-9B5D-45B9D0E3D6D8}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Debug|Any CPU.Build.0 = Debug|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.ActiveCfg = Release|Any CPU + {44C7FBC7-BFF6-4DEE-B891-82A043F548BD}.Release|Any CPU.Build.0 = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3F2BD363-E2D6-4B62-8D57-7727142D6B82}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Added: branches/build/AgateLib.sln =================================================================== --- branches/build/AgateLib.sln (rev 0) +++ branches/build/AgateLib.sln 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,75 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "Drivers\AgateSDL\AgateSDL.csproj", "{CB9D05EB-E4AA-4084-B80B-5CF937B728BB}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "Drivers\AgateOTK\AgateOTK.csproj", "{1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{3C82FAD2-002A-4FCE-9996-77723D72E4C1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tests", "Tests\Tests.csproj", "{7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateFMOD", "Drivers\AgateFMOD\AgateFMOD.csproj", "{9598004B-60D8-4E80-97F1-82DFBF133E06}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{0CE8B58F-922D-40A6-92E6-2F6913A97049}" + ProjectSection(SolutionItems) = preProject + TODO.txt = TODO.txt + ChangeLog.txt = ChangeLog.txt + ReleaseNotes.txt = ReleaseNotes.txt + AgateLib-Windows.xml = AgateLib-Windows.xml + AgateLib.xml = AgateLib.xml + AgateTools.xml = AgateTools.xml + SolutionItems.xml = SolutionItems.xml + Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml + Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml + Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml + Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml + Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml + Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml + Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml + Projects\Tests.proj.xml = Projects\Tests.proj.xml + Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml + Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml + Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml + Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CB9D05EB-E4AA-4084-B80B-5CF937B728BB}.Release|Any CPU.Build.0 = Release|Any CPU + {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1DDBCEBD-3F83-4278-ABF5-CAA7DDA2EEC7}.Release|Any CPU.Build.0 = Release|Any CPU + {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B40BD69D-ABB8-4E7F-B845-2D31CE3B8935}.Release|Any CPU.Build.0 = Release|Any CPU + {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Release|Any CPU.ActiveCfg = Release|Any CPU + {76ECFCB6-694C-43E2-8C2F-30D5D61AD7DC}.Release|Any CPU.Build.0 = Release|Any CPU + {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3C82FAD2-002A-4FCE-9996-77723D72E4C1}.Release|Any CPU.Build.0 = Release|Any CPU + {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7B7F60F7-9D0F-48C2-851C-9C9CFA5C855D}.Release|Any CPU.Build.0 = Release|Any CPU + {9598004B-60D8-4E80-97F1-82DFBF133E06}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9598004B-60D8-4E80-97F1-82DFBF133E06}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9598004B-60D8-4E80-97F1-82DFBF133E06}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9598004B-60D8-4E80-97F1-82DFBF133E06}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal Added: branches/build/AgateTools.sln =================================================================== --- branches/build/AgateTools.sln (rev 0) +++ branches/build/AgateTools.sln 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,78 @@ +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResourceEditor", "Tools\ResourceEditor\ResourceEditor.csproj", "{5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{2E6579F9-1F70-4DF9-98A9-22687425A830}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PackedSpriteCreator", "Tools\PackedSpriteCreator\PackedSpriteCreator.csproj", "{674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "Drivers\AgateDrawing\AgateDrawing.csproj", "{AAC01466-7370-4464-B1AD-1593A3A3BEC1}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FontCreator", "Tools\FontCreator\FontCreator.csproj", "{49F8D445-EF44-46AA-93C0-E9C563B2074C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "AgateLib\AgateLib.csproj", "{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NotebookLib", "Tools\NotebookLib\NotebookLib\NotebookLib.csproj", "{826129F3-81A8-4D87-99E0-60DA009C9E3C}" +EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution Files", "{4B147B99-8BC3-4B78-938A-1035B16A8D1B}" + ProjectSection(SolutionItems) = preProject + Projects\AgateDrawing.proj.xml = Projects\AgateDrawing.proj.xml + Projects\AgateFMOD.proj.xml = Projects\AgateFMOD.proj.xml + AgateLib-Windows.xml = AgateLib-Windows.xml + Projects\AgateLib.proj.xml = Projects\AgateLib.proj.xml + Projects\AgateLib.WinForms.proj.xml = Projects\AgateLib.WinForms.proj.xml + AgateLib.xml = AgateLib.xml + Projects\AgateOTK.proj.xml = Projects\AgateOTK.proj.xml + Projects\AgateSDL.proj.xml = Projects\AgateSDL.proj.xml + Projects\AgateSDX.proj.xml = Projects\AgateSDX.proj.xml + AgateTools.xml = AgateTools.xml + ChangeLog.txt = ChangeLog.txt + Projects\Tools\FontCreator.proj.xml = Projects\Tools\FontCreator.proj.xml + Projects\Tools\NotebookLib.proj.xml = Projects\Tools\NotebookLib.proj.xml + Projects\Tools\PackedSpriteCreator.proj.xml = Projects\Tools\PackedSpriteCreator.proj.xml + ReleaseNotes.txt = ReleaseNotes.txt + Projects\Tools\ResourceEditor.proj.xml = Projects\Tools\ResourceEditor.proj.xml + SolutionItems.xml = SolutionItems.xml + Projects\Tests.proj.xml = Projects\Tests.proj.xml + TODO.txt = TODO.txt + EndProjectSection +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5E31315E-8A37-4A55-A8D8-A0136C0C2F4C}.Release|Any CPU.Build.0 = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Debug|Any CPU.Build.0 = Debug|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.ActiveCfg = Release|Any CPU + {2E6579F9-1F70-4DF9-98A9-22687425A830}.Release|Any CPU.Build.0 = Release|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Debug|Any CPU.Build.0 = Debug|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Release|Any CPU.ActiveCfg = Release|Any CPU + {674650F4-8E72-4DD2-8E5C-1FF858C7B5E4}.Release|Any CPU.Build.0 = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AAC01466-7370-4464-B1AD-1593A3A3BEC1}.Release|Any CPU.Build.0 = Release|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {49F8D445-EF44-46AA-93C0-E9C563B2074C}.Release|Any CPU.Build.0 = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Debug|Any CPU.Build.0 = Debug|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.ActiveCfg = Release|Any CPU + {BED5DD5D-13C6-4BA4-80DC-A47478E74F84}.Release|Any CPU.Build.0 = Release|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Debug|Any CPU.Build.0 = Debug|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Release|Any CPU.ActiveCfg = Release|Any CPU + {826129F3-81A8-4D87-99E0-60DA009C9E3C}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal Property changes on: branches/build/Drivers/AgateDrawing ___________________________________________________________________ Modified: svn:ignore - obj [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto *.csproj + obj [Bb]in [Dd]ebug [Rr]elease *.user *.aps *.eto Added: branches/build/Drivers/AgateDrawing/AgateDrawing.csproj =================================================================== --- branches/build/Drivers/AgateDrawing/AgateDrawing.csproj (rev 0) +++ branches/build/Drivers/AgateDrawing/AgateDrawing.csproj 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,128 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{AAC01466-7370-4464-B1AD-1593A3A3BEC1}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon> + </ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateDrawing</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder> + </AppDesignerFolder> + <RootNamespace>AgateDrawing</RootNamespace> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\..\Binaries\Debug\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\..\Binaries\Release\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Data"> + <Name>System.Data</Name> + </Reference> + <Reference Include="System.Drawing"> + <Name>System.Drawing</Name> + </Reference> + <Reference Include="System.Windows.Forms"> + <Name>System.Windows.Forms</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="Drawing_Display.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drawing_DisplayWindow.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drawing_FontSurface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drawing_IRenderTarget.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drawing_Reporter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Drawing_Surface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\AgateLib\AgateLib.csproj"> + <Project>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</Project> + <Name>AgateLib</Name> + </ProjectReference> + <ProjectReference Include="..\AgateLib.WinForms\AgateLib.WinForms.csproj"> + <Project>{2E6579F9-1F70-4DF9-98A9-22687425A830}</Project> + <Name>AgateLib.WinForms</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file Property changes on: branches/build/Drivers/AgateFMOD ___________________________________________________________________ Modified: svn:ignore - [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto *.csproj + [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto Added: branches/build/Drivers/AgateFMOD/AgateFMOD.csproj =================================================================== --- branches/build/Drivers/AgateFMOD/AgateFMOD.csproj (rev 0) +++ branches/build/Drivers/AgateFMOD/AgateFMOD.csproj 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,124 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{44C7FBC7-BFF6-4DEE-B891-82A043F548BD}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon> + </ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateFMOD</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder> + </AppDesignerFolder> + <RootNamespace>AgateFMOD</RootNamespace> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\..\Binaries\Debug\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\..\Binaries\Release\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Data"> + <Name>System.Data</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="FMOD_Audio.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD_Music.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD_SoundBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD_SoundBufferSession.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Reporter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD\fmod.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD\fmod_dsp.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FMOD\fmod_errors.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\AgateLib\AgateLib.csproj"> + <Project>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</Project> + <Name>AgateLib</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file Property changes on: branches/build/Drivers/AgateLib.WinForms ___________________________________________________________________ Modified: svn:ignore - [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto *.csproj + [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto Added: branches/build/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj =================================================================== --- branches/build/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj (rev 0) +++ branches/build/Drivers/AgateLib.WinForms/AgateLib.WinForms.csproj 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,158 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{2E6579F9-1F70-4DF9-98A9-22687425A830}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon> + </ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateLib.WinForms</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder> + </AppDesignerFolder> + <RootNamespace>AgateLib.WinForms</RootNamespace> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\..\Binaries\Debug\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>False</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile>AgateLib.WinForms.xml</DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\..\Binaries\Release\AgateLib\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Data"> + <Name>System.Data</Name> + </Reference> + <Reference Include="System.Drawing"> + <Name>System.Drawing</Name> + </Reference> + <Reference Include="System.Windows.Forms"> + <Name>System.Windows.Forms</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + </ItemGroup> + <ItemGroup> + <Compile Include="AgateRenderTarget.cs"> + <SubType>Component</SubType> + </Compile> + <Compile Include="AgateRenderTarget.Designer.cs"> + <DependentUpon>AgateRenderTarget.cs</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="BitmapFontUtil.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="DisplayWindowForm.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="DisplayWindowForm.Designer.cs"> + <DependentUpon>DisplayWindowForm.cs</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="FormsInterop.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="FormUtil.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Icons.Designer.cs"> + <DependentUpon>Icons.resx</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="SetSystemsForm.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="SetSystemsForm.Designer.cs"> + <DependentUpon>SetSystemsForm.cs</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="WinFormsDriver.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="WinFormsReporter.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Properties\AssemblyInfo.cs"> + <SubType>Code</SubType> + </Compile> + <EmbeddedResource Include="DisplayWindowForm.resx"> + <SubType>Designer</SubType> + <DependentUpon>DisplayWindowForm.cs</DependentUpon> + </EmbeddedResource> + <EmbeddedResource Include="Icons.resx"> + <SubType>Designer</SubType> + <Generator>ResXFileCodeGenerator</Generator> + <LastGenOutput>Icons.Designer.cs</LastGenOutput> + </EmbeddedResource> + <EmbeddedResource Include="SetSystemsForm.resx"> + <SubType>Designer</SubType> + <DependentUpon>SetSystemsForm.cs</DependentUpon> + </EmbeddedResource> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\..\AgateLib\AgateLib.csproj"> + <Project>{BED5DD5D-13C6-4BA4-80DC-A47478E74F84}</Project> + <Name>AgateLib</Name> + </ProjectReference> + </ItemGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" /> + <PropertyGroup> + <PreBuildEvent> + </PreBuildEvent> + <PostBuildEvent> + </PostBuildEvent> + </PropertyGroup> +</Project> \ No newline at end of file Property changes on: branches/build/Drivers/AgateOTK ___________________________________________________________________ Modified: svn:ignore - [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto AgateOTK.csproj + [Bb]in obj [Dd]ebug [Rr]elease *.user *.aps *.eto Added: branches/build/Drivers/AgateOTK/AgateOTK.csproj =================================================================== --- branches/build/Drivers/AgateOTK/AgateOTK.csproj (rev 0) +++ branches/build/Drivers/AgateOTK/AgateOTK.csproj 2009-11-05 20:48:42 UTC (rev 1082) @@ -0,0 +1,192 @@ +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5"> + <PropertyGroup> + <ProjectType>Local</ProjectType> + <ProductVersion>9.0.30729</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{3F2BD363-E2D6-4B62-8D57-7727142D6B82}</ProjectGuid> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ApplicationIcon> + </ApplicationIcon> + <AssemblyKeyContainerName> + </AssemblyKeyContainerName> + <AssemblyName>AgateOTK</AssemblyName> + <DefaultClientScript>JScript</DefaultClientScript> + <DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout> + <DefaultTargetSchema>IE50</DefaultTargetSchema> + <DelaySign>false</DelaySign> + <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> + <OutputType>Library</OutputType> + <AppDesignerFolder> + </AppDesignerFolder> + <RootNamespace>AgateOTK</RootNamespace> + <StartupObject> + </StartupObject> + <FileUpgradeFlags> + </FileUpgradeFlags> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>DEBUG;TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>True</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>False</Optimize> + <OutputPath>..\..\Binaries\Debug\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <AllowUnsafeBlocks>True</AllowUnsafeBlocks> + <BaseAddress>285212672</BaseAddress> + <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow> + <ConfigurationOverrideFile> + </ConfigurationOverrideFile> + <DefineConstants>TRACE;</DefineConstants> + <DocumentationFile> + </DocumentationFile> + <DebugSymbols>False</DebugSymbols> + <FileAlignment>4096</FileAlignment> + <Optimize>True</Optimize> + <OutputPath>..\..\Binaries\Release\Drivers\</OutputPath> + <RegisterForComInterop>False</RegisterForComInterop> + <RemoveIntegerChecks>False</RemoveIntegerChecks> + <TreatWarningsAsErrors>False</TreatWarningsAsErrors> + <WarningLevel>4</WarningLevel> + <NoWarn> + </NoWarn> + </PropertyGroup> + <ItemGroup> + <Reference Include="OpenTK"> + <Name>OpenTK</Name> + <HintPath>.\OpenTK.dll</HintPath> + </Reference> + <Reference Include="OpenTK.Utilities"> + <Name>OpenTK.Utilities</Name> + <HintPath>.\OpenTK.Utilities.dll</HintPath> + </Reference> + <Reference Include="System"> + <Name>System</Name> + </Reference> + <Reference Include="System.Core"> + <Name>System.Core</Name> + </Reference> + <Reference Include="System.Data"> + <Name>System.Data</Name> + </Reference> + <Reference Include="System.Drawing"> + <Name>System.Drawing</Name> + </Reference> + <Reference Include="System.Xml"> + <Name>System.Xml</Name> + </Reference> + <Reference Include="System.Windows.Forms"> + <Name>System.Windows.Forms</Name> + </Reference> + </ItemGroup> + <ItemGroup> + <None Include="OpenTK.dll.config"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <None Include="OpenTK.Utilities.dll.config"> + <CopyToOutputDirectory>Always</CopyToOutputDirectory> + </None> + <Compile Include="AL_Audio.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ArbShader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="ArbShaderCompiler.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="frmFullScreen.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="frmFullScreen.Designer.cs"> + <DependentUpon>frmFullScreen.cs</DependentUpon> + <SubType>Code</SubType> + </Compile> + <Compile Include="GLDrawBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GlslFragmentProgram.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GlslShader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GlslShaderCompiler.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GlslVertexProgram.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GLState.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_Display.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_DisplayControl.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_GameWindow.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_IndexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_IRenderTarget.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_Surface.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="GL_VertexBuffer.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="OtkShader.cs"> + <SubType>Code</SubType> + </Compile> + <Compile Include="Otk_Reporter.cs"> + <SubType>Code</SubType> + </Compile> + <Co... [truncated message content] |
From: <ka...@us...> - 2009-11-05 00:21:16
|
Revision: 1081 http://agate.svn.sourceforge.net/agate/?rev=1081&view=rev Author: kanato Date: 2009-11-05 00:21:07 +0000 (Thu, 05 Nov 2009) Log Message: ----------- Create branch to remove prebuild Added Paths: ----------- branches/build/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-30 16:31:39
|
Revision: 1080 http://agate.svn.sourceforge.net/agate/?rev=1080&view=rev Author: kanato Date: 2009-10-30 16:31:30 +0000 (Fri, 30 Oct 2009) Log Message: ----------- Make highscore file autofilled when created. Modified Paths: -------------- trunk/Examples/BallBuster.Net/Highscores.cs trunk/Examples/BallBuster.Net/main.cs Removed Paths: ------------- trunk/Examples/BallBuster.Net/out/highscores Modified: trunk/Examples/BallBuster.Net/Highscores.cs =================================================================== --- trunk/Examples/BallBuster.Net/Highscores.cs 2009-10-28 14:02:35 UTC (rev 1079) +++ trunk/Examples/BallBuster.Net/Highscores.cs 2009-10-30 16:31:30 UTC (rev 1080) @@ -30,10 +30,13 @@ { score = 0; } + public CHighscore(string name, int score) + { + this.name = name; + this.score = score; + } public CHighscore(string buffer) { - - int i; for (i = 0; i < buffer.Length; i++) { Modified: trunk/Examples/BallBuster.Net/main.cs =================================================================== --- trunk/Examples/BallBuster.Net/main.cs 2009-10-28 14:02:35 UTC (rev 1079) +++ trunk/Examples/BallBuster.Net/main.cs 2009-10-30 16:31:30 UTC (rev 1080) @@ -4325,6 +4325,16 @@ { // highscores file isn't there.. just return // and it will be saved. + highscores.Add(new CHighscore("Kanato", 500000)); + highscores.Add(new CHighscore("Skel1", 400000)); + highscores.Add(new CHighscore("Alison", 300000)); + highscores.Add(new CHighscore("Dave", 200000)); + highscores.Add(new CHighscore("John", 100000)); + highscores.Add(new CHighscore("Larry", 50000)); + highscores.Add(new CHighscore("Robert", 25000)); + highscores.Add(new CHighscore("Brant", 10000)); + highscores.Add(new CHighscore("Alexis", 5000)); + return; } Deleted: trunk/Examples/BallBuster.Net/out/highscores =================================================================== --- trunk/Examples/BallBuster.Net/out/highscores 2009-10-28 14:02:35 UTC (rev 1079) +++ trunk/Examples/BallBuster.Net/out/highscores 2009-10-30 16:31:30 UTC (rev 1080) @@ -1,10 +0,0 @@ -Kanato,50000 -Skel1,40000 -Alison,30000 -Dave,20000 -hkhkh,10461 -John,10000 -Larry,5000 -Robert,2500 -Brant,1000 -Alexis,500 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-28 14:02:46
|
Revision: 1079 http://agate.svn.sourceforge.net/agate/?rev=1079&view=rev Author: kanato Date: 2009-10-28 14:02:35 +0000 (Wed, 28 Oct 2009) Log Message: ----------- Add a FlushDrawBuffer call to effect implementation. Modified Paths: -------------- trunk/Drivers/AgateSDX/HlslEffect.cs Modified: trunk/Drivers/AgateSDX/HlslEffect.cs =================================================================== --- trunk/Drivers/AgateSDX/HlslEffect.cs 2009-10-28 14:01:57 UTC (rev 1078) +++ trunk/Drivers/AgateSDX/HlslEffect.cs 2009-10-28 14:02:35 UTC (rev 1079) @@ -52,6 +52,8 @@ public override void Render<T>(RenderHandler<T> handler, T obj) { + Display.FlushDrawBuffer(); + mDisplay.Effect = this; int passcount = mEffect.Begin(SlimDX.Direct3D9.FX.None); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-28 14:02:10
|
Revision: 1078 http://agate.svn.sourceforge.net/agate/?rev=1078&view=rev Author: kanato Date: 2009-10-28 14:01:57 +0000 (Wed, 28 Oct 2009) Log Message: ----------- Matrix4x4: Add reflection matrices. Vector2: Add ToString override. Vector3: Fix formatting in ToString method. Add PositionTextureNormalTangent vertex type. Modified Paths: -------------- trunk/AgateLib/Geometry/Matrix4x4.cs trunk/AgateLib/Geometry/Vector2.cs trunk/AgateLib/Geometry/Vector3.cs trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs Modified: trunk/AgateLib/Geometry/Matrix4x4.cs =================================================================== --- trunk/AgateLib/Geometry/Matrix4x4.cs 2009-10-28 06:03:16 UTC (rev 1077) +++ trunk/AgateLib/Geometry/Matrix4x4.cs 2009-10-28 14:01:57 UTC (rev 1078) @@ -78,6 +78,30 @@ 0, 0, 1, 0, 0, 0, 0, 1); } + public static Matrix4x4 ReflectX() + { + return new Matrix4x4( + -1,0, 0, 0, + 0, 1, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 1); + } + public static Matrix4x4 ReflectY() + { + return new Matrix4x4( + 1, 0, 0, 0, + 0,-1, 0, 0, + 0, 0, 1, 0, + 0, 0, 0, 1); + } + public static Matrix4x4 ReflectZ() + { + return new Matrix4x4( + 1, 0, 0, 0, + 0, 1, 0, 0, + 0, 0,-1, 0, + 0, 0, 0, 1); + } public static Matrix4x4 LookAt(Vector3 eye, Vector3 target, Vector3 up) { // equation from @@ -93,11 +117,13 @@ Vector3 u = s.CrossProduct(f); - return new Matrix4x4( + Matrix4x4 retval = new Matrix4x4( s.X, s.Y, s.Z, -s.DotProduct(eye), u.X, u.Y, u.Z, -u.DotProduct(eye), -f.X, -f.Y, -f.Z, f.DotProduct(eye), 0, 0, 0, 1); + + return retval; } /// <summary> /// Creates a projection matrix for perspective corrected views. Modified: trunk/AgateLib/Geometry/Vector2.cs =================================================================== --- trunk/AgateLib/Geometry/Vector2.cs 2009-10-28 06:03:16 UTC (rev 1077) +++ trunk/AgateLib/Geometry/Vector2.cs 2009-10-28 14:01:57 UTC (rev 1078) @@ -206,5 +206,12 @@ { return (a - b).Magnitude; } + + public override string ToString() + { + return string.Format(System.Globalization.CultureInfo.CurrentCulture, + "{{X={0},Y={1}}}", X, Y); + } + } } Modified: trunk/AgateLib/Geometry/Vector3.cs =================================================================== --- trunk/AgateLib/Geometry/Vector3.cs 2009-10-28 06:03:16 UTC (rev 1077) +++ trunk/AgateLib/Geometry/Vector3.cs 2009-10-28 14:01:57 UTC (rev 1078) @@ -275,7 +275,7 @@ public override string ToString() { return string.Format(System.Globalization.CultureInfo.CurrentCulture, - "{0}X={1},Y={2},Z={3}{4}", "{", X, Y, Z, "}"); + "{{X={0},Y={1},Z={2}}}", X, Y, Z); } public static Vector3 FromPolar(int length, float theta, float phi) Modified: trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs =================================================================== --- trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs 2009-10-28 06:03:16 UTC (rev 1077) +++ trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs 2009-10-28 14:01:57 UTC (rev 1078) @@ -27,5 +27,11 @@ }; } } + + public override string ToString() + { + return string.Format( + "P:{0} Tex:{1} N:{2} T:{3}", Position, Texture, Normal, Tangent); + } } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-28 06:03:28
|
Revision: 1077 http://agate.svn.sourceforge.net/agate/?rev=1077&view=rev Author: kanato Date: 2009-10-28 06:03:16 +0000 (Wed, 28 Oct 2009) Log Message: ----------- Add PositionTextureNormalTangent vertex type. Added Paths: ----------- trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs Copied: trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs (from rev 1049, trunk/AgateLib/Geometry/VertexTypes/PositionTextureNTB.cs) =================================================================== --- trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs (rev 0) +++ trunk/AgateLib/Geometry/VertexTypes/PositionTextureNormalTangent.cs 2009-10-28 06:03:16 UTC (rev 1077) @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Runtime.InteropServices; +using System.Text; + +namespace AgateLib.Geometry.VertexTypes +{ + [StructLayout(LayoutKind.Sequential, Pack = 1)] + public struct PositionTextureNormalTangent + { + public Vector3 Position; + public Vector2 Texture; + public Vector3 Normal; + public Vector3 Tangent; + + public static VertexLayout VertexLayout + { + get + { + return new VertexLayout + { + new VertexElementDesc(VertexElementDataType.Float3, VertexElement.Position), + new VertexElementDesc(VertexElementDataType.Float2, VertexElement.Texture), + new VertexElementDesc(VertexElementDataType.Float3, VertexElement.Normal), + new VertexElementDesc(VertexElementDataType.Float3, VertexElement.Tangent), + }; + } + } + } +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 17:26:17
|
Revision: 1076 http://agate.svn.sourceforge.net/agate/?rev=1076&view=rev Author: kanato Date: 2009-10-26 17:25:58 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Improve extension detection code to work with forward compatible context. Modified Paths: -------------- branches/otkupdate/Drivers/AgateOTK/GL_Display.cs Modified: branches/otkupdate/Drivers/AgateOTK/GL_Display.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-26 16:05:48 UTC (rev 1075) +++ branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-26 17:25:58 UTC (rev 1076) @@ -20,6 +20,7 @@ using System.Collections.Generic; using System.Diagnostics; using System.IO; +using System.Linq; using System.Text; using System.Runtime.InteropServices; using AgateLib.BitmapFont; @@ -394,10 +395,10 @@ HintMode.Nicest); string vendor = GL.GetString(StringName.Vendor); - string ext = GL.GetString(StringName.Extensions); mSupportsShaders = false; mGLVersion = DetectOpenGLVersion(); + LoadExtensions(); if (mGLVersion >= 2m) { @@ -412,11 +413,11 @@ } else { - mSupportsFramebuffer = ext.Contains("GL_EXT_FRAMEBUFFER_OBJECT"); - mNonPowerOf2Textures = ext.Contains("GL_ARB_NON_POWER_OF_TWO"); + mSupportsFramebuffer = SupportsExtension("GL_EXT_FRAMEBUFFER_OBJECT"); + mNonPowerOf2Textures = SupportsExtension("GL_ARB_NON_POWER_OF_TWO"); } - if (ext.Contains("GL_ARB_FRAGMENT_PROGRAM")) + if (SupportsExtension("GL_ARB_FRAGMENT_PROGRAM")) { mSupportsShaders = true; } @@ -427,6 +428,23 @@ } + string[] extensions; + private void LoadExtensions() + { + // Forward compatible context (GL 3.0+) + int num_extensions; + GL.GetInteger(GetPName.NumExtensions, out num_extensions); + + extensions = new string[num_extensions]; + + for (int i = 0; i < num_extensions; i++) + extensions[i] = GL.GetString(StringName.Extensions, i).ToLowerInvariant(); + } + private bool SupportsExtension(string name) + { + return extensions.Contains(name.ToLowerInvariant()); + } + private static decimal DetectOpenGLVersion() { string versionString = GL.GetString(StringName.Version).Trim(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 16:05:58
|
Revision: 1075 http://agate.svn.sourceforge.net/agate/?rev=1075&view=rev Author: kanato Date: 2009-10-26 16:05:48 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Reduce dependency on OpenTK.Compatibility.dll Modified Paths: -------------- branches/otkupdate/Drivers/AgateOTK/ArbShader.cs branches/otkupdate/Drivers/AgateOTK/ArbShaderCompiler.cs branches/otkupdate/Drivers/AgateOTK/GLDrawBuffer.cs branches/otkupdate/Drivers/AgateOTK/GLState.cs branches/otkupdate/Drivers/AgateOTK/GL_Display.cs branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs branches/otkupdate/Drivers/AgateOTK/GL_IndexBuffer.cs branches/otkupdate/Drivers/AgateOTK/GL_Surface.cs branches/otkupdate/Drivers/AgateOTK/GL_VertexBuffer.cs branches/otkupdate/Drivers/AgateOTK/GlslShader.cs branches/otkupdate/Drivers/AgateOTK/GlslShaderCompiler.cs branches/otkupdate/Drivers/AgateOTK/Otk_Reporter.cs Modified: branches/otkupdate/Drivers/AgateOTK/ArbShader.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/ArbShader.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/ArbShader.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -3,7 +3,7 @@ using System.Linq; using System.Text; using AgateLib.DisplayLib.Shaders; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/ArbShaderCompiler.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/ArbShaderCompiler.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/ArbShaderCompiler.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -4,7 +4,7 @@ using System.Text; using AgateLib.DisplayLib.Shaders; using AgateLib.ImplementationBase; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GLDrawBuffer.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GLDrawBuffer.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GLDrawBuffer.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -25,7 +25,7 @@ using AgateLib.DisplayLib; using AgateLib.Geometry; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GLState.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GLState.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GLState.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -25,7 +25,7 @@ using AgateLib.Geometry; using AgateLib.DisplayLib; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GL_Display.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -412,11 +412,11 @@ } else { - mSupportsFramebuffer = OpenTK.Graphics.GL.SupportsExtension("GL_EXT_FRAMEBUFFER_OBJECT"); - mNonPowerOf2Textures = OpenTK.Graphics.GL.SupportsExtension("GL_ARB_NON_POWER_OF_TWO"); + mSupportsFramebuffer = ext.Contains("GL_EXT_FRAMEBUFFER_OBJECT"); + mNonPowerOf2Textures = ext.Contains("GL_ARB_NON_POWER_OF_TWO"); } - if (OpenTK.Graphics.GL.SupportsExtension("GL_ARB_FRAGMENT_PROGRAM")) + if (ext.Contains("GL_ARB_FRAGMENT_PROGRAM")) { mSupportsShaders = true; } Modified: branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -27,6 +27,8 @@ using OpenTK; using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; +using GL = OpenTK.Graphics.OpenGL.GL; namespace AgateOTK { @@ -396,6 +398,7 @@ set { mWindow.Width = value.Width; + mWindow.Height = value.Height; } } Modified: branches/otkupdate/Drivers/AgateOTK/GL_IndexBuffer.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_IndexBuffer.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GL_IndexBuffer.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -5,7 +5,7 @@ using System.Text; using AgateLib.DisplayLib; using AgateLib.ImplementationBase; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GL_Surface.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_Surface.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GL_Surface.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -24,8 +24,8 @@ using System.Runtime.InteropServices; using System.Text; -using OpenTK.Graphics; -using OTKPixelFormat = OpenTK.Graphics.PixelFormat; +using OpenTK.Graphics.OpenGL; +using OTKPixelFormat = OpenTK.Graphics.OpenGL.PixelFormat; using PixelFormat = AgateLib.DisplayLib.PixelFormat; using AgateLib; Modified: branches/otkupdate/Drivers/AgateOTK/GL_VertexBuffer.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_VertexBuffer.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GL_VertexBuffer.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -7,7 +7,7 @@ using AgateLib.Geometry; using AgateLib.Geometry.VertexTypes; using AgateLib.ImplementationBase; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GlslShader.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GlslShader.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GlslShader.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -3,7 +3,7 @@ using System.Linq; using System.Text; using AgateLib.DisplayLib.Shaders; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/GlslShaderCompiler.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GlslShaderCompiler.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/GlslShaderCompiler.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -4,7 +4,7 @@ using System.Text; using AgateLib.DisplayLib.Shaders; using AgateLib.ImplementationBase; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; namespace AgateOTK { Modified: branches/otkupdate/Drivers/AgateOTK/Otk_Reporter.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/Otk_Reporter.cs 2009-10-26 16:05:08 UTC (rev 1074) +++ branches/otkupdate/Drivers/AgateOTK/Otk_Reporter.cs 2009-10-26 16:05:48 UTC (rev 1075) @@ -44,7 +44,7 @@ private static string GetOpenTKVersion(string opentk_version) { - Assembly otkass = Assembly.GetAssembly(typeof(OpenTK.Graphics.GL)); + Assembly otkass = Assembly.GetAssembly(typeof(OpenTK.Graphics.OpenGL.GL)); object[] attribs = otkass.GetCustomAttributes(typeof(AssemblyFileVersionAttribute), false); AssemblyFileVersionAttribute version = attribs[0] as AssemblyFileVersionAttribute; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 16:05:21
|
Revision: 1074 http://agate.svn.sourceforge.net/agate/?rev=1074&view=rev Author: kanato Date: 2009-10-26 16:05:08 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Add some documentation. Modified Paths: -------------- branches/otkupdate/AgateLib/DisplayLib/DisplayCapsInfo.cs branches/otkupdate/AgateLib/DisplayLib/PrimitiveType.cs branches/otkupdate/AgateLib/Geometry/Matrix4x4.cs Modified: branches/otkupdate/AgateLib/DisplayLib/DisplayCapsInfo.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/DisplayCapsInfo.cs 2009-10-26 15:54:09 UTC (rev 1073) +++ branches/otkupdate/AgateLib/DisplayLib/DisplayCapsInfo.cs 2009-10-26 16:05:08 UTC (rev 1074) @@ -5,8 +5,15 @@ namespace AgateLib.DisplayLib { + /// <summary> + /// Class which can be used to query information about what features are supported + /// by the display driver. + /// </summary> public class DisplayCapsInfo { + internal DisplayCapsInfo() + { } + /// <summary> /// Indicates whether or not full screen windows can be created. /// </summary> Modified: branches/otkupdate/AgateLib/DisplayLib/PrimitiveType.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/PrimitiveType.cs 2009-10-26 15:54:09 UTC (rev 1073) +++ branches/otkupdate/AgateLib/DisplayLib/PrimitiveType.cs 2009-10-26 16:05:08 UTC (rev 1074) @@ -4,10 +4,24 @@ namespace AgateLib.DisplayLib { + /// <summary> + /// Primitive type for types in a vertex buffer. + /// </summary> public enum PrimitiveType { + /// <summary> + /// Every three vertices is a separate triangle + /// </summary> TriangleList, + /// <summary> + /// The vertices indicate a fan; the first point creates a triangle with + /// each pair of points after that. + /// </summary> TriangleFan, + /// <summary> + /// The vertices make a strip of triangles, so each triangle shares a vertex + /// with the previous one. + /// </summary> TriangleStrip, } } Modified: branches/otkupdate/AgateLib/Geometry/Matrix4x4.cs =================================================================== --- branches/otkupdate/AgateLib/Geometry/Matrix4x4.cs 2009-10-26 15:54:09 UTC (rev 1073) +++ branches/otkupdate/AgateLib/Geometry/Matrix4x4.cs 2009-10-26 16:05:08 UTC (rev 1074) @@ -4,6 +4,9 @@ namespace AgateLib.Geometry { + /// <summary> + /// Structure which indicates a 4x4 matrix. + /// </summary> public struct Matrix4x4 { float m11, m12, m13, m14; @@ -11,15 +14,32 @@ float m31, m32, m33, m34; float m41, m42, m43, m44; + /// <summary> + /// The identity 4x4 matrix. + /// </summary> public static readonly Matrix4x4 Identity = new Matrix4x4( 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); + /// <summary> + /// Creates a 4x4 matrix which represents a translation. + /// </summary> + /// <param name="x"></param> + /// <param name="y"></param> + /// <param name="z"></param> + /// <returns></returns> public static Matrix4x4 Translation(double x, double y, double z) { return Translation((float)x, (float)y, (float)z); } + /// <summary> + /// Creates a 4x4 matrix which represents a translation. + /// </summary> + /// <param name="x"></param> + /// <param name="y"></param> + /// <param name="z"></param> + /// <returns></returns> public static Matrix4x4 Translation(float x, float y, float z) { return new Matrix4x4( @@ -28,11 +48,23 @@ 0, 0, 1, z, 0, 0, 0, 1); } + /// <summary> + /// Creates a 4x4 matrix which represents a translation. + /// </summary> + /// <param name="vec">The translation vector</param> + /// <returns></returns> public static Matrix4x4 Translation(Vector3 vec) { return Translation(vec.X, vec.Y, vec.Z); } + /// <summary> + /// Creates a 4x4 matrix which represents a scaling operation. + /// </summary> + /// <param name="x"></param> + /// <param name="y"></param> + /// <param name="z"></param> + /// <returns></returns> public static Matrix4x4 Scale(float x, float y, float z) { return new Matrix4x4( @@ -41,10 +73,11 @@ 0, 0, z, 0, 0, 0, 0, 1); } - //public static Matrix4 RotateXDegrees(float angle) - //{ - // return RotateX(angle * (float)(Math.PI / 180.0)); - //} + /// <summary> + /// Creates a 4x4 matrix which rotates about the x-axis. + /// </summary> + /// <param name="angle"></param> + /// <returns></returns> public static Matrix4x4 RotateX(float angle) { float cos = (float)Math.Cos(angle); @@ -56,6 +89,11 @@ 0, sin, cos, 0, 0, 0, 0, 1); } + /// <summary> + /// Creates a 4x4 matrix which rotates about the y-axis. + /// </summary> + /// <param name="angle"></param> + /// <returns></returns> public static Matrix4x4 RotateY(float angle) { float cos = (float)Math.Cos(angle); @@ -67,6 +105,11 @@ -sin, 0, cos, 0, 0, 0, 0, 1); } + /// <summary> + /// Creates a 4x4 matrix which rotates about the z-axis. + /// </summary> + /// <param name="angle"></param> + /// <returns></returns> public static Matrix4x4 RotateZ(float angle) { float cos = (float)Math.Cos(angle); @@ -78,6 +121,13 @@ 0, 0, 1, 0, 0, 0, 0, 1); } + /// <summary> + /// Creates a view matrix given a camera position, and target to look at and an up direction. + /// </summary> + /// <param name="eye">The camera position.</param> + /// <param name="target">The object being looked at (only the direction of target - eye is relevant)</param> + /// <param name="up">Which direction is up.</param> + /// <returns></returns> public static Matrix4x4 LookAt(Vector3 eye, Vector3 target, Vector3 up) { // equation from @@ -125,6 +175,14 @@ 0, 0, -(zFar + zNear) / zDiff, -2 * zFar * zNear / zDiff, 0, 0, -1, 0); } + /// <summary> + /// Creates a projection matrix for an orthogonal perspective, as is used in + /// 2D drawing. + /// </summary> + /// <param name="r"></param> + /// <param name="zNear"></param> + /// <param name="zFar"></param> + /// <returns></returns> public static Matrix4x4 Ortho(RectangleF r, float zNear, float zFar) { // equation from @@ -137,6 +195,25 @@ 0, 0, 0, 1); } + /// <summary> + /// Constructs a 4x4 matrix. + /// </summary> + /// <param name="a11"></param> + /// <param name="a12"></param> + /// <param name="a13"></param> + /// <param name="a14"></param> + /// <param name="a21"></param> + /// <param name="a22"></param> + /// <param name="a23"></param> + /// <param name="a24"></param> + /// <param name="a31"></param> + /// <param name="a32"></param> + /// <param name="a33"></param> + /// <param name="a34"></param> + /// <param name="a41"></param> + /// <param name="a42"></param> + /// <param name="a43"></param> + /// <param name="a44"></param> public Matrix4x4(float a11, float a12, float a13, float a14, float a21, float a22, float a23, float a24, float a31, float a32, float a33, float a34, @@ -148,6 +225,12 @@ m41 = a41; m42 = a42; m43 = a43; m44 = a44; } + /// <summary> + /// Gets or sets a value in the matrix. + /// </summary> + /// <param name="row"></param> + /// <param name="col"></param> + /// <returns></returns> public float this[int row, int col] { get @@ -156,10 +239,10 @@ switch (row) { - case 0: return Select(col, m11, m12, m13, m14); - case 1: return Select(col, m21, m22, m23, m24); - case 2: return Select(col, m31, m32, m33, m34); - case 3: return Select(col, m41, m42, m43, m44); + case 0: return SelectValue(col, m11, m12, m13, m14); + case 1: return SelectValue(col, m21, m22, m23, m24); + case 2: return SelectValue(col, m31, m32, m33, m34); + case 3: return SelectValue(col, m41, m42, m43, m44); default: throw new ArgumentOutOfRangeException("row"); } } @@ -170,25 +253,24 @@ switch (row) { case 0: - Set(col, value, ref m11, ref m12, ref m13, ref m14); + SetValue(col, value, ref m11, ref m12, ref m13, ref m14); break; case 1: - Set(col, value, ref m21, ref m22, ref m23, ref m24); + SetValue(col, value, ref m21, ref m22, ref m23, ref m24); break; case 2: - Set(col, value, ref m31, ref m32, ref m33, ref m34); + SetValue(col, value, ref m31, ref m32, ref m33, ref m34); break; case 3: - Set(col, value, ref m41, ref m42, ref m43, ref m44); + SetValue(col, value, ref m41, ref m42, ref m43, ref m44); break; default: throw new ArgumentOutOfRangeException("row"); } } - } - private void Set(int index, float value, ref float v1, ref float v2, ref float v3, ref float v4) + private void SetValue(int index, float value, ref float v1, ref float v2, ref float v3, ref float v4) { switch (index) { @@ -201,7 +283,7 @@ } } - private float Select(int index, float v1, float v2, float v3, float v4) + private float SelectValue(int index, float v1, float v2, float v3, float v4) { switch (index) { @@ -214,6 +296,10 @@ } } + /// <summary> + /// Returns the transpose of a matrix. + /// </summary> + /// <returns></returns> public Matrix4x4 Transpose() { return new Matrix4x4( @@ -241,11 +327,22 @@ return retval; } - + /// <summary> + /// Multiplies two matrices together. + /// </summary> + /// <param name="left"></param> + /// <param name="right"></param> + /// <returns></returns> public static Matrix4x4 operator *(Matrix4x4 left, Matrix4x4 right) { return left.Mult(right); } + /// <summary> + /// Multiplies a matrix on the left by a column vector on the right. + /// </summary> + /// <param name="left"></param> + /// <param name="right"></param> + /// <returns></returns> public static Vector4 operator *(Matrix4x4 left, Vector4 right) { Vector4 retval = new Vector4(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 15:54:28
|
Revision: 1073 http://agate.svn.sourceforge.net/agate/?rev=1073&view=rev Author: kanato Date: 2009-10-26 15:54:09 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Correct setting of size property. Modified Paths: -------------- trunk/Drivers/AgateOTK/GL_GameWindow.cs Modified: trunk/Drivers/AgateOTK/GL_GameWindow.cs =================================================================== --- trunk/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-26 05:00:16 UTC (rev 1072) +++ trunk/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-26 15:54:09 UTC (rev 1073) @@ -399,6 +399,7 @@ set { mWindow.Width = value.Width; + mWindow.Height = value.Height; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 05:00:25
|
Revision: 1072 http://agate.svn.sourceforge.net/agate/?rev=1072&view=rev Author: kanato Date: 2009-10-26 05:00:16 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Add license and documentation to shaders. Modified Paths: -------------- branches/otkupdate/AgateLib/DisplayLib/Shaders/AgateShaderCompileError.cs branches/otkupdate/AgateLib/DisplayLib/Shaders/Effect.cs branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs branches/otkupdate/AgateLib/DisplayLib/Shaders/UniformState.cs Removed Paths: ------------- branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderProgram.cs branches/otkupdate/AgateLib/DisplayLib/Shaders/Technique.cs Modified: branches/otkupdate/AgateLib/DisplayLib/Shaders/AgateShaderCompileError.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/AgateShaderCompileError.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/AgateShaderCompileError.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,10 +1,31 @@ -using System; +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgateLib.DisplayLib.Shaders { + /// <summary> + /// Exception thrown when an attempt to compile a shader fails. + /// </summary> [global::System.Serializable] public class AgateShaderCompilerException : Exception { @@ -15,9 +36,21 @@ // http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncscol/html/csharp07192001.asp // + /// <summary> + /// Constructs an AgateShaderCompilerException object. + /// </summary> public AgateShaderCompilerException() { } + /// <summary> + /// Constructs an AgateShaderCompilerException object. + /// </summary> public AgateShaderCompilerException(string message) : base(message) { } + /// <summary> + /// Constructs an AgateShaderCompilerException object. + /// </summary> public AgateShaderCompilerException(string message, Exception inner) : base(message, inner) { } + /// <summary> + /// Constructs an AgateShaderCompilerException object. + /// </summary> protected AgateShaderCompilerException( System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) Modified: branches/otkupdate/AgateLib/DisplayLib/Shaders/Effect.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/Effect.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/Effect.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,4 +1,22 @@ -using System; +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -7,34 +25,97 @@ namespace AgateLib.DisplayLib.Shaders { + /// <summary> + /// The effect class encapsulates all of the runtime details of a set of + /// vertex/pixel/geometry shaders. + /// </summary> public abstract class Effect { + /// <summary> + /// Which technique should be used + /// </summary> public abstract string Technique { get; set; } + /// <summary> + /// The number of passes in the effect. + /// </summary> public abstract int Passes { get; } + /// <summary> + /// Begin rendering with this effect. + /// </summary> public abstract void Begin(); + /// <summary> + /// Begins the specified pass. + /// </summary> + /// <param name="passIndex"></param> public abstract void BeginPass(int passIndex); + /// <summary> + /// Ends the current pass. + /// </summary> public abstract void EndPass(); + /// <summary> + /// End rendering with this effect. + /// </summary> public abstract void End(); + /// <summary> + /// Sets a texture variable. + /// </summary> + /// <param name="tex"></param> + /// <param name="variableName"></param> public abstract void SetTexture(EffectTexture tex, string variableName); + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public abstract void SetVariable(string name, params float[] v); + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public abstract void SetVariable(string name, params int[] v); + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public abstract void SetVariable(string name, Matrix4x4 matrix); + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public void SetVariable(string name, Vector2 v) { SetVariable(name, v.X, v.Y); } + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public void SetVariable(string name, Vector3 v) { SetVariable(name, v.X, v.Y, v.Z); } + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public void SetVariable(string name, Vector4 v) { SetVariable(name, v.X, v.Y, v.Z, v.W); } + /// <summary> + /// Sets a uniform variable for the shader. + /// </summary> + /// <param name="name"></param> + /// <param name="v"></param> public void SetVariable(string name, Color color) { SetVariable(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); @@ -42,9 +123,18 @@ //public VertexLayout VertexDefinition { get; set; } + /// <summary> + /// Renders the geometry using this effect. + /// </summary> + /// <typeparam name="T"></typeparam> + /// <param name="handler">A callback function which is called to actually render the geometry.</param> + /// <param name="obj">An object which is passed to the callback function.</param> public abstract void Render<T>(RenderHandler<T> handler, T obj); } + /// <summary> + /// Which texture variable to set. + /// </summary> public enum EffectTexture { Texture0, Modified: branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderCompiler.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,4 +1,22 @@ -using System; +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -6,6 +24,9 @@ namespace AgateLib.DisplayLib.Shaders { + /// <summary> + /// Static class for compiling shaders. + /// </summary> public static class ShaderCompiler { static ShaderCompilerImpl impl; @@ -26,7 +47,12 @@ { impl = null; } - + /// <summary> + /// Returns a compiled effect from the given source. + /// </summary> + /// <param name="language"></param> + /// <param name="effectSource"></param> + /// <returns></returns> public static Effect CompileEffect(ShaderLanguage language, string effectSource) { return impl.CompileEffect(language, effectSource); Modified: branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderLanguage.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,16 +1,46 @@ -using System; +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace AgateLib.DisplayLib.Shaders { + /// <summary> + /// Indicates a shader language. + /// </summary> public enum ShaderLanguage { + /// <summary> + /// No shading language. + /// </summary> None, + /// <summary> + /// Microsoft's high level shading language. + /// </summary> + Hlsl, + /// <summary> + /// The OpenGL shading language. + /// </summary> Glsl, - Hlsl, // Cg, } Deleted: branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderProgram.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderProgram.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/ShaderProgram.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,44 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using AgateLib.Geometry; -using AgateLib.Geometry.VertexTypes; - -namespace AgateLib.DisplayLib.Shaders -{ - /* - public abstract class ShaderProgram - { - public abstract PixelShader PixelShader { get; } - public abstract VertexShader VertexShader { get; } - - public abstract void SetUniform(string name, params float[] v); - public abstract void SetUniform(string name, params int[] v); - public abstract void SetUniform(string name, Matrix4 matrix); - - public void SetUniform(string name, Vector2 v) - { - SetUniform(name, v.X, v.Y); - } - public void SetUniform(string name, Vector3 v) - { - SetUniform(name, v.X, v.Y, v.Z); - } - public void SetUniform(string name, Vector4 v) - { - SetUniform(name, v.X, v.Y, v.Z, v.W); - } - public void SetUniform(string name, Color color) - { - SetUniform(name, color.R / 255.0f, color.G / 255.0f, color.B / 255.0f, color.A / 255.0f); - } - - public VertexLayout VertexDefinition { get; set; } - - public abstract void Render(RenderHandler handler, object obj); - } - - public delegate void RenderHandler(object obj); - * */ -} Deleted: branches/otkupdate/AgateLib/DisplayLib/Shaders/Technique.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/Technique.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/Technique.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace AgateLib.DisplayLib.Shaders -{ - public class Technique - { - } -} Modified: branches/otkupdate/AgateLib/DisplayLib/Shaders/UniformState.cs =================================================================== --- branches/otkupdate/AgateLib/DisplayLib/Shaders/UniformState.cs 2009-10-26 04:54:54 UTC (rev 1071) +++ branches/otkupdate/AgateLib/DisplayLib/Shaders/UniformState.cs 2009-10-26 05:00:16 UTC (rev 1072) @@ -1,4 +1,22 @@ -using System; +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib. +// +// The Initial Developer of the Original Code is Erik Ylvisaker. +// Portions created by Erik Ylvisaker are Copyright (C) 2006-2009. +// All Rights Reserved. +// +// Contributor(s): Erik Ylvisaker +// +using System; using System.Collections.Generic; using System.Linq; using System.Text; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 04:55:04
|
Revision: 1071 http://agate.svn.sourceforge.net/agate/?rev=1071&view=rev Author: kanato Date: 2009-10-26 04:54:54 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Fix formatting to tabs. Modified Paths: -------------- branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs Modified: branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-26 03:10:44 UTC (rev 1070) +++ branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-26 04:54:54 UTC (rev 1071) @@ -143,7 +143,7 @@ CreateContext(); - + OpenTK.DisplayResolution resolution = OpenTK.DisplayDevice.Default.SelectResolution( mChooseWidth, mChooseHeight, 32, 0); OpenTK.DisplayDevice.Default.ChangeResolution(resolution); @@ -207,7 +207,7 @@ Debug.Print("AgateLib GraphicsMode: {0}", newMode); - + mWindowInfo = CreateWindowInfo(newMode); mContext = OpenTK.Platform.Utilities.CreateGraphicsContext( @@ -226,7 +226,7 @@ case AgateLib.Utility.PlatformType.Linux: case AgateLib.Utility.PlatformType.Gp2x: return CreateX11WindowInfo(mode); - //return OpenTK.Platform.Utilities.CreateX11WindowInfo( + //return OpenTK.Platform.Utilities.CreateX11WindowInfo( default: throw new Exception("Platform not implemented."); } @@ -234,102 +234,102 @@ private IWindowInfo CreateX11WindowInfo(GraphicsMode mode) { - Type xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms"); - if (xplatui == null) throw new PlatformNotSupportedException( - "System.Windows.Forms.XplatUIX11 missing. Unsupported platform or Mono runtime version, aborting."); + Type xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms"); + if (xplatui == null) throw new PlatformNotSupportedException( + "System.Windows.Forms.XplatUIX11 missing. Unsupported platform or Mono runtime version, aborting."); - // get the required handles from the X11 API. - IntPtr display = (IntPtr)GetStaticFieldValue(xplatui, "DisplayHandle"); - IntPtr rootWindow = (IntPtr)GetStaticFieldValue(xplatui, "RootWindow"); - int screen = (int)GetStaticFieldValue(xplatui, "ScreenNo"); + // get the required handles from the X11 API. + IntPtr display = (IntPtr)GetStaticFieldValue(xplatui, "DisplayHandle"); + IntPtr rootWindow = (IntPtr)GetStaticFieldValue(xplatui, "RootWindow"); + int screen = (int)GetStaticFieldValue(xplatui, "ScreenNo"); - // get the X11 Visual info for the display. - XVisualInfo info = new XVisualInfo(); - info.VisualID = mode.Index.Value; - int dummy; - info = (XVisualInfo)Marshal.PtrToStructure( - XGetVisualInfo(display, XVisualInfoMask.ID, ref info, out dummy), typeof(XVisualInfo)); + // get the X11 Visual info for the display. + XVisualInfo info = new XVisualInfo(); + info.VisualID = mode.Index.Value; + int dummy; + info = (XVisualInfo)Marshal.PtrToStructure( + XGetVisualInfo(display, XVisualInfoMask.ID, ref info, out dummy), typeof(XVisualInfo)); - // set the X11 colormap. - SetStaticFieldValue(xplatui, "CustomVisual", info.Visual); - SetStaticFieldValue(xplatui, "CustomColormap", - XCreateColormap(display, rootWindow, info.Visual, 0)); + // set the X11 colormap. + SetStaticFieldValue(xplatui, "CustomVisual", info.Visual); + SetStaticFieldValue(xplatui, "CustomColormap", + XCreateColormap(display, rootWindow, info.Visual, 0)); IntPtr infoPtr = Marshal.AllocHGlobal(Marshal.SizeOf(info)); Marshal.StructureToPtr(info, infoPtr, false); - + IWindowInfo window = OpenTK.Platform.Utilities.CreateX11WindowInfo( - display, screen, mRenderTarget.Handle, rootWindow, infoPtr); - - return window; + display, screen, mRenderTarget.Handle, rootWindow, infoPtr); + return window; + } - + #region --- X11 imports - - [StructLayout(LayoutKind.Sequential)] - struct XVisualInfo - { - public IntPtr Visual; - public IntPtr VisualID; - public int Screen; - public int Depth; - public OpenTK.Platform.X11.XVisualClass Class; - public long RedMask; - public long GreenMask; - public long blueMask; - public int ColormapSize; - public int BitsPerRgb; - - public override string ToString() - { - return String.Format("id ({0}), screen ({1}), depth ({2}), class ({3})", - VisualID, Screen, Depth, Class); - } - } + + [StructLayout(LayoutKind.Sequential)] + struct XVisualInfo + { + public IntPtr Visual; + public IntPtr VisualID; + public int Screen; + public int Depth; + public OpenTK.Platform.X11.XVisualClass Class; + public long RedMask; + public long GreenMask; + public long blueMask; + public int ColormapSize; + public int BitsPerRgb; + + public override string ToString() + { + return String.Format("id ({0}), screen ({1}), depth ({2}), class ({3})", + VisualID, Screen, Depth, Class); + } + } [DllImport("libX11")] - public static extern IntPtr XCreateColormap(IntPtr display, IntPtr window, IntPtr visual, int alloc); + public static extern IntPtr XCreateColormap(IntPtr display, IntPtr window, IntPtr visual, int alloc); [DllImport("libX11", EntryPoint = "XGetVisualInfo")] - static extern IntPtr XGetVisualInfoInternal(IntPtr display, IntPtr vinfo_mask, ref XVisualInfo template, out int nitems); + static extern IntPtr XGetVisualInfoInternal(IntPtr display, IntPtr vinfo_mask, ref XVisualInfo template, out int nitems); - static IntPtr XGetVisualInfo(IntPtr display, XVisualInfoMask vinfo_mask, ref XVisualInfo template, out int nitems) - { - return XGetVisualInfoInternal(display, (IntPtr)(int)vinfo_mask, ref template, out nitems); - } + static IntPtr XGetVisualInfo(IntPtr display, XVisualInfoMask vinfo_mask, ref XVisualInfo template, out int nitems) + { + return XGetVisualInfoInternal(display, (IntPtr)(int)vinfo_mask, ref template, out nitems); + } [Flags] - internal enum XVisualInfoMask - { - No = 0x0, - ID = 0x1, - Screen = 0x2, - Depth = 0x4, - Class = 0x8, - Red = 0x10, - Green = 0x20, - Blue = 0x40, - ColormapSize = 0x80, - BitsPerRGB = 0x100, - All = 0x1FF, + internal enum XVisualInfoMask + { + No = 0x0, + ID = 0x1, + Screen = 0x2, + Depth = 0x4, + Class = 0x8, + Red = 0x10, + Green = 0x20, + Blue = 0x40, + ColormapSize = 0x80, + BitsPerRGB = 0x100, + All = 0x1FF, } #endregion - #region --- Utility functions for reading/writing non-public static fields through reflection --- + #region --- Utility functions for reading/writing non-public static fields through reflection --- - private static object GetStaticFieldValue(Type type, string fieldName) - { - return type.GetField(fieldName, - System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); - } - private static void SetStaticFieldValue(Type type, string fieldName, object value) - { - type.GetField(fieldName, - System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).SetValue(null, value); - } + private static object GetStaticFieldValue(Type type, string fieldName) + { + return type.GetField(fieldName, + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); + } + private static void SetStaticFieldValue(Type type, string fieldName, object value) + { + type.GetField(fieldName, + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).SetValue(null, value); + } - #endregion + #endregion public override void Dispose() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-26 03:10:52
|
Revision: 1070 http://agate.svn.sourceforge.net/agate/?rev=1070&view=rev Author: kanato Date: 2009-10-26 03:10:44 +0000 (Mon, 26 Oct 2009) Log Message: ----------- Add code to create X11 context on Linux. Modified Paths: -------------- branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs Modified: branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-24 02:39:58 UTC (rev 1069) +++ branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-26 03:10:44 UTC (rev 1070) @@ -207,14 +207,15 @@ Debug.Print("AgateLib GraphicsMode: {0}", newMode); - mWindowInfo = CreateWindowInfo(); + + mWindowInfo = CreateWindowInfo(newMode); mContext = OpenTK.Platform.Utilities.CreateGraphicsContext( newMode, mWindowInfo, 3, 1, GraphicsContextFlags.Default); //OpenTK.Platform.Utilities.CreateGraphicsContext(newMode, mRenderTarget, out mContext, out mWindowInfo); } - private IWindowInfo CreateWindowInfo() + private IWindowInfo CreateWindowInfo(GraphicsMode mode) { switch (AgateLib.Utility.Platform.PlatformType) { @@ -224,13 +225,112 @@ return OpenTK.Platform.Utilities.CreateMacOSCarbonWindowInfo(mRenderTarget.Handle, false, true); case AgateLib.Utility.PlatformType.Linux: case AgateLib.Utility.PlatformType.Gp2x: + return CreateX11WindowInfo(mode); //return OpenTK.Platform.Utilities.CreateX11WindowInfo( default: throw new Exception("Platform not implemented."); } } + private IWindowInfo CreateX11WindowInfo(GraphicsMode mode) + { + Type xplatui = Type.GetType("System.Windows.Forms.XplatUIX11, System.Windows.Forms"); + if (xplatui == null) throw new PlatformNotSupportedException( + "System.Windows.Forms.XplatUIX11 missing. Unsupported platform or Mono runtime version, aborting."); + // get the required handles from the X11 API. + IntPtr display = (IntPtr)GetStaticFieldValue(xplatui, "DisplayHandle"); + IntPtr rootWindow = (IntPtr)GetStaticFieldValue(xplatui, "RootWindow"); + int screen = (int)GetStaticFieldValue(xplatui, "ScreenNo"); + + // get the X11 Visual info for the display. + XVisualInfo info = new XVisualInfo(); + info.VisualID = mode.Index.Value; + int dummy; + info = (XVisualInfo)Marshal.PtrToStructure( + XGetVisualInfo(display, XVisualInfoMask.ID, ref info, out dummy), typeof(XVisualInfo)); + + // set the X11 colormap. + SetStaticFieldValue(xplatui, "CustomVisual", info.Visual); + SetStaticFieldValue(xplatui, "CustomColormap", + XCreateColormap(display, rootWindow, info.Visual, 0)); + + IntPtr infoPtr = Marshal.AllocHGlobal(Marshal.SizeOf(info)); + Marshal.StructureToPtr(info, infoPtr, false); + + IWindowInfo window = OpenTK.Platform.Utilities.CreateX11WindowInfo( + display, screen, mRenderTarget.Handle, rootWindow, infoPtr); + + return window; + + } + + #region --- X11 imports + + [StructLayout(LayoutKind.Sequential)] + struct XVisualInfo + { + public IntPtr Visual; + public IntPtr VisualID; + public int Screen; + public int Depth; + public OpenTK.Platform.X11.XVisualClass Class; + public long RedMask; + public long GreenMask; + public long blueMask; + public int ColormapSize; + public int BitsPerRgb; + + public override string ToString() + { + return String.Format("id ({0}), screen ({1}), depth ({2}), class ({3})", + VisualID, Screen, Depth, Class); + } + } + [DllImport("libX11")] + public static extern IntPtr XCreateColormap(IntPtr display, IntPtr window, IntPtr visual, int alloc); + + [DllImport("libX11", EntryPoint = "XGetVisualInfo")] + static extern IntPtr XGetVisualInfoInternal(IntPtr display, IntPtr vinfo_mask, ref XVisualInfo template, out int nitems); + + static IntPtr XGetVisualInfo(IntPtr display, XVisualInfoMask vinfo_mask, ref XVisualInfo template, out int nitems) + { + return XGetVisualInfoInternal(display, (IntPtr)(int)vinfo_mask, ref template, out nitems); + } + + [Flags] + internal enum XVisualInfoMask + { + No = 0x0, + ID = 0x1, + Screen = 0x2, + Depth = 0x4, + Class = 0x8, + Red = 0x10, + Green = 0x20, + Blue = 0x40, + ColormapSize = 0x80, + BitsPerRGB = 0x100, + All = 0x1FF, + } + + + #endregion + #region --- Utility functions for reading/writing non-public static fields through reflection --- + + private static object GetStaticFieldValue(Type type, string fieldName) + { + return type.GetField(fieldName, + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).GetValue(null); + } + private static void SetStaticFieldValue(Type type, string fieldName, object value) + { + type.GetField(fieldName, + System.Reflection.BindingFlags.Static | System.Reflection.BindingFlags.NonPublic).SetValue(null, value); + } + + #endregion + public override void Dispose() { mDisplay.ProcessEventsEvent -= mDisplay_ProcessEventsEvent; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-24 02:40:20
|
Revision: 1069 http://agate.svn.sourceforge.net/agate/?rev=1069&view=rev Author: kanato Date: 2009-10-24 02:39:58 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Add missing OpenTK.Compatibility.dll files. Added Paths: ----------- branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll.config branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.xml Added: branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll =================================================================== (Binary files differ) Property changes on: branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll.config =================================================================== --- branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll.config (rev 0) +++ branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.dll.config 2009-10-24 02:39:58 UTC (rev 1069) @@ -0,0 +1,9 @@ +<configuration> + <dllmap os="linux" dll="opengl32.dll" target="libGL.so.1"/> + <dllmap os="linux" dll="glu32.dll" target="libGLU.so.1"/> + <dllmap os="linux" dll="openal32.dll" target="libopenal.so.1"/> + <dllmap os="linux" dll="alut.dll" target="libalut.so.0"/> + <dllmap os="linux" dll="opencl.dll" target="libOpenCL.so"/> + <dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> + <dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> +</configuration> Added: branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.xml =================================================================== --- branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.xml (rev 0) +++ branches/otkupdate/Drivers/AgateOTK/OpenTK.Compatibility.xml 2009-10-24 02:39:58 UTC (rev 1069) @@ -0,0 +1,105220 @@ +<?xml version="1.0"?> +<doc> + <assembly> + <name>OpenTK.Compatibility</name> + </assembly> + <members> + <member name="T:OpenTK.Math.Vector2"> + <summary>Represents a 2D vector using two single-precision floating-point numbers.</summary> + <remarks> + The Vector2 structure is suitable for interoperation with unmanaged code requiring two consecutive floats. + </remarks> + </member> + <member name="F:OpenTK.Math.Vector2.X"> + <summary> + The X component of the Vector2. + </summary> + </member> + <member name="F:OpenTK.Math.Vector2.Y"> + <summary> + The Y component of the Vector2. + </summary> + </member> + <member name="M:OpenTK.Math.Vector2.#ctor(System.Single,System.Single)"> + <summary> + Constructs a new Vector2. + </summary> + <param name="x">The x coordinate of the net Vector2.</param> + <param name="y">The y coordinate of the net Vector2.</param> + </member> + <member name="M:OpenTK.Math.Vector2.#ctor(OpenTK.Math.Vector2)"> + <summary> + Constructs a new Vector2 from the given Vector2. + </summary> + <param name="v">The Vector2 to copy components from.</param> + </member> + <member name="M:OpenTK.Math.Vector2.#ctor(OpenTK.Math.Vector3)"> + <summary> + Constructs a new Vector2 from the given Vector3. + </summary> + <param name="v">The Vector3 to copy components from. Z is discarded.</param> + </member> + <member name="M:OpenTK.Math.Vector2.#ctor(OpenTK.Math.Vector4)"> + <summary> + Constructs a new Vector2 from the given Vector4. + </summary> + <param name="v">The Vector4 to copy components from. Z and W are discarded.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Add(OpenTK.Math.Vector2)"> + <summary>Add the Vector passed as parameter to this instance.</summary> + <param name="right">Right operand. This parameter is only read from.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Add(OpenTK.Math.Vector2@)"> + <summary>Add the Vector passed as parameter to this instance.</summary> + <param name="right">Right operand. This parameter is only read from.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Sub(OpenTK.Math.Vector2)"> + <summary>Subtract the Vector passed as parameter from this instance.</summary> + <param name="right">Right operand. This parameter is only read from.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Sub(OpenTK.Math.Vector2@)"> + <summary>Subtract the Vector passed as parameter from this instance.</summary> + <param name="right">Right operand. This parameter is only read from.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Mult(System.Single)"> + <summary>Multiply this instance by a scalar.</summary> + <param name="f">Scalar operand.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Div(System.Single)"> + <summary>Divide this instance by a scalar.</summary> + <param name="f">Scalar operand.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Normalize"> + <summary> + Scales the Vector2 to unit length. + </summary> + </member> + <member name="M:OpenTK.Math.Vector2.NormalizeFast"> + <summary> + Scales the Vector2 to approximately unit length. + </summary> + </member> + <member name="M:OpenTK.Math.Vector2.Scale(System.Single,System.Single)"> + <summary> + Scales the current Vector2 by the given amounts. + </summary> + <param name="sx">The scale of the X component.</param> + <param name="sy">The scale of the Y component.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Scale(OpenTK.Math.Vector2)"> + <summary>Scales this instance by the given parameter.</summary> + <param name="scale">The scaling of the individual components.</param> + </member> + <member name="M:OpenTK.Math.Vector2.Scale(OpenTK.Math.Vector2@)"> + <summary>Scales this instance by the given parameter.</summary> + <param name="scale">The scaling of the individual components.</param> + </member> + <member name="F:OpenTK.Math.Vector2.UnitX"> + <summary> + Defines a unit-length Vector2 that points towards the X-axis. + </summary> + </member> + <member name="F:OpenTK.Math.Vector2.UnitY"> + <summary> + Defines a unit-length Vector2 that points towards the Y-axis. + </summary> + </member> + <member name="F:OpenTK.Math.Vector2.Zero"> + <summary> + Defines a zero-length Vector2. + </summary> + </member> + <member name="F:OpenTK.Math.Vector2.One"> + <summary> + Defines an instance with all components set to 1. + </summary> + </member> + <member name="F:OpenTK.Math.Vector2.SizeInBytes"> + <summary> + Defines the size of the Vector2 struct in bytes. + </summary> + </member> + <member name="M:OpenTK.Math.Vector2.Add(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Add the specified instances + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <returns>Result of addition</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Add(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Add two Vectors + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <param name="result">Result of addition</param> + </member> + <member name="M:OpenTK.Math.Vector2.Sub(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Subtract one Vector from another + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <returns>Result of subtraction</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Sub(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Subtract one Vector from another + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <param name="result">Result of subtraction</param> + </member> + <member name="M:OpenTK.Math.Vector2.Mult(OpenTK.Math.Vector2,System.Single)"> + <summary> + Multiply a vector and a scalar + </summary> + <param name="a">Vector operand</param> + <param name="f">Scalar operand</param> + <returns>Result of the multiplication</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Mult(OpenTK.Math.Vector2@,System.Single,OpenTK.Math.Vector2@)"> + <summary> + Multiply a vector and a scalar + </summary> + <param name="a">Vector operand</param> + <param name="f">Scalar operand</param> + <param name="result">Result of the multiplication</param> + </member> + <member name="M:OpenTK.Math.Vector2.Div(OpenTK.Math.Vector2,System.Single)"> + <summary> + Divide a vector by a scalar + </summary> + <param name="a">Vector operand</param> + <param name="f">Scalar operand</param> + <returns>Result of the division</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Div(OpenTK.Math.Vector2@,System.Single,OpenTK.Math.Vector2@)"> + <summary> + Divide a vector by a scalar + </summary> + <param name="a">Vector operand</param> + <param name="f">Scalar operand</param> + <param name="result">Result of the division</param> + </member> + <member name="M:OpenTK.Math.Vector2.ComponentMin(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Calculate the component-wise minimum of two vectors + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <returns>The component-wise minimum</returns> + </member> + <member name="M:OpenTK.Math.Vector2.ComponentMin(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Calculate the component-wise minimum of two vectors + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <param name="result">The component-wise minimum</param> + </member> + <member name="M:OpenTK.Math.Vector2.ComponentMax(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Calculate the component-wise maximum of two vectors + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <returns>The component-wise maximum</returns> + </member> + <member name="M:OpenTK.Math.Vector2.ComponentMax(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Calculate the component-wise maximum of two vectors + </summary> + <param name="a">First operand</param> + <param name="b">Second operand</param> + <param name="result">The component-wise maximum</param> + </member> + <member name="M:OpenTK.Math.Vector2.Min(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Returns the Vector3 with the minimum magnitude + </summary> + <param name="left">Left operand</param> + <param name="right">Right operand</param> + <returns>The minimum Vector3</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Max(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Returns the Vector3 with the minimum magnitude + </summary> + <param name="left">Left operand</param> + <param name="right">Right operand</param> + <returns>The minimum Vector3</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Clamp(OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Clamp a vector to the given minimum and maximum vectors + </summary> + <param name="vec">Input vector</param> + <param name="min">Minimum vector</param> + <param name="max">Maximum vector</param> + <returns>The clamped vector</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Clamp(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Clamp a vector to the given minimum and maximum vectors + </summary> + <param name="vec">Input vector</param> + <param name="min">Minimum vector</param> + <param name="max">Maximum vector</param> + <param name="result">The clamped vector</param> + </member> + <member name="M:OpenTK.Math.Vector2.Normalize(OpenTK.Math.Vector2)"> + <summary> + Scale a vector to unit length + </summary> + <param name="vec">The input vector</param> + <returns>The normalized vector</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Normalize(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Scale a vector to unit length + </summary> + <param name="vec">The input vector</param> + <param name="result">The normalized vector</param> + </member> + <member name="M:OpenTK.Math.Vector2.NormalizeFast(OpenTK.Math.Vector2)"> + <summary> + Scale a vector to approximately unit length + </summary> + <param name="vec">The input vector</param> + <returns>The normalized vector</returns> + </member> + <member name="M:OpenTK.Math.Vector2.NormalizeFast(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@)"> + <summary> + Scale a vector to approximately unit length + </summary> + <param name="vec">The input vector</param> + <param name="result">The normalized vector</param> + </member> + <member name="M:OpenTK.Math.Vector2.Dot(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Calculate the dot (scalar) product of two vectors + </summary> + <param name="left">First operand</param> + <param name="right">Second operand</param> + <returns>The dot product of the two inputs</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Dot(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,System.Single@)"> + <summary> + Calculate the dot (scalar) product of two vectors + </summary> + <param name="left">First operand</param> + <param name="right">Second operand</param> + <param name="result">The dot product of the two inputs</param> + </member> + <member name="M:OpenTK.Math.Vector2.Lerp(OpenTK.Math.Vector2,OpenTK.Math.Vector2,System.Single)"> + <summary> + Returns a new Vector that is the linear blend of the 2 given Vectors + </summary> + <param name="a">First input vector</param> + <param name="b">Second input vector</param> + <param name="blend">The blend factor. a when blend=0, b when blend=1.</param> + <returns>a when blend=0, b when blend=1, and a linear combination otherwise</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Lerp(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,System.Single,OpenTK.Math.Vector2@)"> + <summary> + Returns a new Vector that is the linear blend of the 2 given Vectors + </summary> + <param name="a">First input vector</param> + <param name="b">Second input vector</param> + <param name="blend">The blend factor. a when blend=0, b when blend=1.</param> + <param name="result">a when blend=0, b when blend=1, and a linear combination otherwise</param> + </member> + <member name="M:OpenTK.Math.Vector2.BaryCentric(OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2,System.Single,System.Single)"> + <summary> + Interpolate 3 Vectors using Barycentric coordinates + </summary> + <param name="a">First input Vector</param> + <param name="b">Second input Vector</param> + <param name="c">Third input Vector</param> + <param name="u">First Barycentric Coordinate</param> + <param name="v">Second Barycentric Coordinate</param> + <returns>a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise</returns> + </member> + <member name="M:OpenTK.Math.Vector2.BaryCentric(OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,OpenTK.Math.Vector2@,System.Single,System.Single,OpenTK.Math.Vector2@)"> + <summary>Interpolate 3 Vectors using Barycentric coordinates</summary> + <param name="a">First input Vector.</param> + <param name="b">Second input Vector.</param> + <param name="c">Third input Vector.</param> + <param name="u">First Barycentric Coordinate.</param> + <param name="v">Second Barycentric Coordinate.</param> + <param name="result">Output Vector. a when u=v=0, b when u=1,v=0, c when u=0,v=1, and a linear combination of a,b,c otherwise</param> + </member> + <member name="M:OpenTK.Math.Vector2.op_Addition(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Adds the specified instances. + </summary> + <param name="left">Left operand.</param> + <param name="right">Right operand.</param> + <returns>Result of addition.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Subtraction(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Subtracts the specified instances. + </summary> + <param name="left">Left operand.</param> + <param name="right">Right operand.</param> + <returns>Result of subtraction.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_UnaryNegation(OpenTK.Math.Vector2)"> + <summary> + Negates the specified instance. + </summary> + <param name="vec">Operand.</param> + <returns>Result of negation.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Multiply(OpenTK.Math.Vector2,System.Single)"> + <summary> + Multiplies the specified instance by a scalar. + </summary> + <param name="vec">Left operand.</param> + <param name="scale">Right operand.</param> + <returns>Result of multiplication.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Multiply(System.Single,OpenTK.Math.Vector2)"> + <summary> + Multiplies the specified instance by a scalar. + </summary> + <param name="scale">Left operand.</param> + <param name="vec">Right operand.</param> + <returns>Result of multiplication.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Division(OpenTK.Math.Vector2,System.Single)"> + <summary> + Divides the specified instance by a scalar. + </summary> + <param name="vec">Left operand</param> + <param name="scale">Right operand</param> + <returns>Result of the division.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Equality(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Compares the specified instances for equality. + </summary> + <param name="left">Left operand.</param> + <param name="right">Right operand.</param> + <returns>True if both instances are equal; false otherwise.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.op_Inequality(OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Compares the specified instances for inequality. + </summary> + <param name="left">Left operand.</param> + <param name="right">Right operand.</param> + <returns>True if both instances are not equal; false otherwise.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.ToString"> + <summary> + Returns a System.String that represents the current Vector2. + </summary> + <returns></returns> + </member> + <member name="M:OpenTK.Math.Vector2.GetHashCode"> + <summary> + Returns the hashcode for this instance. + </summary> + <returns>A System.Int32 containing the unique hashcode for this instance.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Equals(System.Object)"> + <summary> + Indicates whether this instance and a specified object are equal. + </summary> + <param name="obj">The object to compare to.</param> + <returns>True if the instances are equal; false otherwise.</returns> + </member> + <member name="M:OpenTK.Math.Vector2.Equals(OpenTK.Math.Vector2)"> + <summary>Indicates whether the current vector is equal to another vector.</summary> + <param name="other">A vector to compare with this vector.</param> + <returns>true if the current vector is equal to the vector parameter; otherwise, false.</returns> + </member> + <member name="P:OpenTK.Math.Vector2.Length"> + <summary> + Gets the length (magnitude) of the vector. + </summary> + <see cref="P:OpenTK.Math.Vector2.LengthFast"/> + <seealso cref="P:OpenTK.Math.Vector2.LengthSquared"/> + </member> + <member name="P:OpenTK.Math.Vector2.LengthFast"> + <summary> + Gets an approximation of the vector length (magnitude). + </summary> + <remarks> + This property uses an approximation of the square root function to calculate vector magnitude, with + an upper error bound of 0.001. + </remarks> + <see cref="P:OpenTK.Math.Vector2.Length"/> + <seealso cref="P:OpenTK.Math.Vector2.LengthSquared"/> + </member> + <member name="P:OpenTK.Math.Vector2.LengthSquared"> + <summary> + Gets the square of the vector length (magnitude). + </summary> + <remarks> + This property avoids the costly square root operation required by the Length property. This makes it more suitable + for comparisons. + </remarks> + <see cref="P:OpenTK.Math.Vector2.Length"/> + <seealso cref="P:OpenTK.Math.Vector2.LengthFast"/> + </member> + <member name="P:OpenTK.Math.Vector2.PerpendicularRight"> + <summary> + Gets the perpendicular vector on the right side of this vector. + </summary> + </member> + <member name="P:OpenTK.Math.Vector2.PerpendicularLeft"> + <summary> + Gets the perpendicular vector on the left side of this vector. + </summary> + </member> + <member name="T:OpenTK.Math.BezierCurveQuadric"> + <summary> + Represents a quadric bezier curve with two anchor and one control point. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveQuadric.StartAnchor"> + <summary> + Start anchor point. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveQuadric.EndAnchor"> + <summary> + End anchor point. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveQuadric.ControlPoint"> + <summary> + Control point, controls the direction of both endings of the curve. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveQuadric.Parallel"> + <summary> + The parallel value. + </summary> + <remarks>This value defines whether the curve should be calculated as a + parallel curve to the original bezier curve. A value of 0.0f represents + the original curve, 5.0f i.e. stands for a curve that has always a distance + of 5.f to the orignal curve at any point.</remarks> + </member> + <member name="M:OpenTK.Math.BezierCurveQuadric.#ctor(OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Constructs a new <see cref="T:OpenTK.Math.BezierCurveQuadric"/>. + </summary> + <param name="startAnchor">The start anchor.</param> + <param name="endAnchor">The end anchor.</param> + <param name="controlPoint">The control point.</param> + </member> + <member name="M:OpenTK.Math.BezierCurveQuadric.#ctor(System.Single,OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Constructs a new <see cref="T:OpenTK.Math.BezierCurveQuadric"/>. + </summary> + <param name="parallel">The parallel value.</param> + <param name="startAnchor">The start anchor.</param> + <param name="endAnchor">The end anchor.</param> + <param name="controlPoint">The control point.</param> + </member> + <member name="M:OpenTK.Math.BezierCurveQuadric.CalculatePoint(System.Single)"> + <summary> + Calculates the point with the specified t. + </summary> + <param name="t">The t value, between 0.0f and 1.0f.</param> + <returns>Resulting point.</returns> + </member> + <member name="M:OpenTK.Math.BezierCurveQuadric.CalculatePointOfDerivative(System.Single)"> + <summary> + Calculates the point with the specified t of the derivative of this function. + </summary> + <param name="t">The t, value between 0.0f and 1.0f.</param> + <returns>Resulting point.</returns> + </member> + <member name="M:OpenTK.Math.BezierCurveQuadric.CalculateLength(System.Single)"> + <summary> + Calculates the length of this bezier curve. + </summary> + <param name="precision">The precision.</param> + <returns>Length of curve.</returns> + <remarks>The precision gets better when the <paramref name="precision"/> + value gets smaller.</remarks> + </member> + <member name="T:OpenTK.Graphics.Glyph"> + <summary> + Represents a single character of a specific Font. + </summary> + </member> + <member name="T:OpenTK.IPackable`1"> + <summary> + Represents an item that can be packed with the TexturePacker. + </summary> + <typeparam name="T">The type of the packable item.</typeparam> + </member> + <member name="M:OpenTK.Graphics.Glyph.Equals(System.Object)"> + <summary> + Checks whether the given object is equal (memberwise) to the current Glyph. + </summary> + <param name="obj">The obj to check.</param> + <returns>True, if the object is identical to the current Glyph.</returns> + </member> + <member name="M:OpenTK.Graphics.Glyph.ToString"> + <summary> + Describes this Glyph object. + </summary> + <returns>Returns a System.String describing this Glyph.</returns> + </member> + <member name="M:OpenTK.Graphics.Glyph.GetHashCode"> + <summary> + Calculates the hashcode for this Glyph. + </summary> + <returns>A System.Int32 containing a hashcode that uniquely identifies this Glyph.</returns> + </member> + <member name="M:OpenTK.Graphics.Glyph.Equals(OpenTK.Graphics.Glyph)"> + <summary> + Compares the current Glyph with the given Glyph. + </summary> + <param name="other">The Glyph to compare to.</param> + <returns>True if both Glyphs represent the same character of the same Font, false otherwise.</returns> + </member> + <member name="P:OpenTK.Graphics.Glyph.Character"> + <summary> + Gets the character represented by this Glyph. + </summary> + </member> + <member name="P:OpenTK.Graphics.Glyph.Font"> + <summary> + Gets the Font of this Glyph. + </summary> + </member> + <member name="P:OpenTK.Graphics.Glyph.Size"> + <summary> + Gets the size of this Glyph. + </summary> + </member> + <member name="P:OpenTK.Graphics.Glyph.Rectangle"> + <summary> + Gets the bounding box of this Glyph. + </summary> + </member> + <member name="P:OpenTK.Graphics.Glyph.Width"> + <summary> + Gets an integer representing the width of the Glyph in pixels. + </summary> + </member> + <member name="P:OpenTK.Graphics.Glyph.Height"> + <summary> + Gets an integer representing the height of the Glyph in pixels. + </summary> + </member> + <member name="T:OpenTK.Math.BezierCurveCubic"> + <summary> + Represents a cubic bezier curve with two anchor and two control points. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveCubic.StartAnchor"> + <summary> + Start anchor point. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveCubic.EndAnchor"> + <summary> + End anchor point. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveCubic.FirstControlPoint"> + <summary> + First control point, controls the direction of the curve start. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveCubic.SecondControlPoint"> + <summary> + Second control point, controls the direction of the curve end. + </summary> + </member> + <member name="F:OpenTK.Math.BezierCurveCubic.Parallel"> + <summary> + Gets or sets the parallel value. + </summary> + <remarks>This value defines whether the curve should be calculated as a + parallel curve to the original bezier curve. A value of 0.0f represents + the original curve, 5.0f i.e. stands for a curve that has always a distance + of 5.f to the orignal curve at any point.</remarks> + </member> + <member name="M:OpenTK.Math.BezierCurveCubic.#ctor(OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Constructs a new <see cref="T:OpenTK.Math.BezierCurveCubic"/>. + </summary> + <param name="startAnchor">The start anchor point.</param> + <param name="endAnchor">The end anchor point.</param> + <param name="firstControlPoint">The first control point.</param> + <param name="secondControlPoint">The second control point.</param> + </member> + <member name="M:OpenTK.Math.BezierCurveCubic.#ctor(System.Single,OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2,OpenTK.Math.Vector2)"> + <summary> + Constructs a new <see cref="T:OpenTK.Math.BezierCurveCubic"/>. + </summary> + <param name="parallel">The parallel value.</param> + <param name="startAnchor">The start anchor point.</param> + <param name="endAnchor">The end anchor point.</param> + <param name="firstControlPoint">The first control point.</param> + <param name="secondControlPoint">The second control point.</param> + </member> + <member name="M:OpenTK.Math.BezierCurveCubic.CalculatePoint(System.Single)"> + <summary> + Calculates the point with the specified t. + </summary> + <param name="t">The t value, between 0.0f and 1.0f.</param> + <returns>Resulting point.</returns> + </member> + <member name="M:OpenTK.Math.BezierCurveCubic.CalculatePointOfDerivative(System.Single)"> + <summary> + Calculates the point with the specified t of the derivative of this function. + </summary> + <param name="t">The t, value between 0.0f and 1.0f.</param> + <returns>Resulting point.</returns> + </member> + <member name="M:OpenTK.Math.BezierCurveCubic.CalculateLength(System.Single)"> + <summary> + Calculates the length of this bezier curve. + </summary> + <param name="precision">The precision.</param> + <returns>Length of the curve.</returns> + <remarks>The precision gets better when the <paramref name="precision"/> + value gets smaller.</remarks> + </member> + <member name="T:OpenTK.Graphics.TextExtents"> + <summary> + Holds the results of a text measurement. + </summary> + </member> + <member name="M:OpenTK.Graphics.TextExtents.Dispose"> + <summary> + Frees the resources consumed by this TextExtents instance. + </summary> + </member> + <member name="P:OpenTK.Graphics.TextExtents.BoundingBox"> + <summary> + Gets the bounding box of the measured text. + </summary> + </member> + <member name="P:OpenTK.Graphics.TextExtents.Item(System.Int32)"> + <summary> + Gets the extents of each glyph in the measured text. + </summary> + <param name="i">The index of the glyph.</param> + <returns>The extents of the specified glyph.</returns> + </member> + <member name="P:OpenTK.Graphics.TextExtents.GlyphExtents"> + <summary> + Gets the extents of each glyph in the measured text. + </summary> + </member> + <member name="P:OpenTK.Graphics.TextExtents.Count"> + <summary> + Gets the number of the measured glyphs. + </summary> + </member> + <member name="T:OpenTK.Compatibility.Properties.Resources"> + <summary> + A strongly-typed resource class, for looking up localized strings, etc. + </summary> + </member> + <member name="P:OpenTK.Compatibility.Properties.Resources.ResourceManager"> + <summary> + Returns the cached ResourceManager instance used by this class. + </summary> + </member> + <member name="P:OpenTK.Compatibility.Properties.Resources.Culture"> + <summary> + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + </summary> + </member> + <member name="T:Tao.OpenGl.Gl"> + <summary> + OpenGL binding for .NET, implementing OpenGL 2.1, plus extensions. + </summary> + <remarks> + <para> + This class contains all OpenGL enums and functions defined in the 2.1 specification. + The official .spec files can be found at: http://opengl.org/registry/. + </para> + <para> + We rely on static initialization to obtain the entry points for OpenGL functions. + Please ensure that a valid OpenGL context has been made current in the pertinent thread <b>before</b> + any OpenGL functions are called (toolkits like GLUT, SDL or GLFW will automatically take care of + the context initialization process). Without a valid OpenGL context, we will only be able + to retrieve statically exported entry points (typically corresponding to OpenGL version 1.1 under Windows, + 1.3 under Linux and 1.4 under Windows Vista), and extension methods will need to be loaded manually. + </para> + <para> + If you prefer to have more control on extension loading, you can use the + ReloadFunctions or ReloadFunction methods to manually force the initialisation of OpenGL entry points. + The ReloadFunctions method should be called whenever you change an existing visual or pixelformat. This + generally happens when you change the color/stencil/depth buffer associated with a window (but probably + not the resolution). This may or may not be necessary under Linux/MacOS, but is generally required for + Windows. + </para> + <para> + You can use the Gl.IsExtensionSupported method to check whether any given category of extension functions + exists in the current OpenGL context. The results can be cached to speed up future searches. + Keep in mind that different OpenGL contexts may support different extensions, and under different entry + points. Always check if all required extensions are still supported when changing visuals or pixel + formats. + </para> + <para> + You may retrieve the entry point for an OpenGL function using the Gl.GetDelegate method. + </para> + <para> + <see href="http://opengl.org/registry/"/> + <seealso cref="M:Tao.OpenGl.Gl.IsExtensionSupported(System.String)"/> + <seealso cref="M:Tao.OpenGl.Gl.GetDelegate(System.String,System.Type)"/> + <seealso cref="M:Tao.OpenGl.Gl.ReloadFunctions"/> + </para> + </remarks> + </member> + <member name="M:Tao.OpenGl.Gl.IsExtensionSupported(System.String)"> + <summary> + Determines whether the specified OpenGL extension category is available in + the current OpenGL context. Equivalent to IsExtensionSupported(name, true) + </summary> + <param name="name">The string for the OpenGL extension category (eg. "GL_ARB_multitexture")</param> + <returns>True if the specified extension is available, false otherwise.</returns> + </member> + <member name="M:Tao.OpenGl.Gl.GetDelegate(System.String,System.Type)"> + <summary> + Creates a System.Delegate that can be used to call an OpenGL function, core or extension. + </summary> + <param name="name">The name of the OpenGL function (eg. "glNewList")</param> + <param name="signature">The signature of the OpenGL function.</param> + <returns> + A System.Delegate that can be used to call this OpenGL function, or null if the specified + function name did not correspond to an OpenGL function. + </returns> + </member> + <member name="M:Tao.OpenGl.Gl.ReloadFunctions"> + <summary> + Loads all OpenGL functions (core and extensions). + </summary> + <remarks> + <para> + This function will be automatically called the first time you use any opengl function. There is + </para> + <para> + Call this function manually whenever you need to update OpenGL entry points. + This need may arise if you change the pixelformat/visual, or in case you cannot + (or do not want) to use the automatic initialization of the GL class. + </para> + </remarks> + </member> + <member name="M:Tao.OpenGl.Gl.Load(System.String)"> + <summary> + Tries to reload the given OpenGL function (core or extension). + </summary> + <param name="function">The name of the OpenGL function (i.e. glShaderSource)</param> + <returns>True if the function was found and reloaded, false otherwise.</returns> + <remarks> + <para> + Use this function if you require greater granularity when loading OpenGL entry points. + </para> + <para> + While the automatic initialisation will load all OpenGL entry points, in some cases + the initialisation can take place before an OpenGL Context has been established. + In this case, use this function to load the entry points for the OpenGL functions + you will need, or use ReloadFunctions() to load all available entry points. + </para> + <para> + This function returns true if the given OpenGL function is supported, false otherwise. + </para> + <para> + To query for supported extensions use the IsExtensionSupported() function instead. + </para> + </remarks> + </member> + <member name="M:Tao.OpenGl.Gl.BuildExtensionList"> + <summary> + Builds a cache of all supported extensions. + </summary> + </member> + <member name="M:Tao.OpenGl.Gl.GetAddress(System.String)"> + <summary> + Retrieves the entry point for a dynamically exported OpenGL function. + </summary> + <param name="function">The function string for the OpenGL function (eg. "glNewList")</param> + <returns> + An IntPtr contaning the address for the entry point, or IntPtr.Zero if the specified + OpenGL function is not dynamically exported. + </returns> + <remarks> + <para> + The Marshal.GetDelegateForFunctionPointer method can be used to turn the return value + into a call-able delegate. + </para> + <para> + This function is cross-platform. It determines the underlying platform and uses the + correct wgl, glx or agl GetAddress function to retrieve the function pointer. + </para> + <see cref="M:System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(System.IntPtr,System.Type)"/> + </remarks> + </member> + <member name="M:Tao.OpenGl.Gl.DetectUnixKernel"> + <summary> + Executes "uname" which returns a string representing the name of the + underlying Unix kernel. + </summary> + <returns>"Unix", "Linux", "Darwin" or null.</returns> + <remarks>Source code from "Mono: A Developer's Notebook"</remarks> + </member> + <member name="M:Tao.OpenGl.Gl.GetExtensionDelegate(System.String,System.Type)"> + <summary> + Creates a System.Delegate that can be used to call a dynamically exported OpenGL function. + </summary> + <param name="name">The name of the OpenGL function (eg. "glNewList")</param> + <param name="signature">The signature of the OpenGL function.</param> + <returns> + A System.Delegate that can be used to call this OpenGL function or null + if the function is not available in the current OpenGL context. + </returns> + </member> + <member name="T:Tao.OpenGl.Gl.Imports"> + <summary> + Contains DllImports for the core OpenGL functions. + </summary> + </member> + <member name="F:Tao.OpenGl.Gl.Imports.FunctionMap"> + <summary> + Build a string->MethodInfo map to speed up extension loading. + </summary> + </member> + <member name="T:OpenTK.Graphics.VboTextPrinter"> + <summary> + Provides text printing through OpenGL 1.5 vertex buffer objects. + </summary> + </member> + <member name="T:OpenTK.Graphics.ITextPrinterImplementation"> + <summary> + Defines the interface for TextPrinter implementations. + </summary> + </member> + <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Load(OpenTK.Vector2[],System.UInt16[],System.Int32)"> + <summary> + Caches a text fragment for future use. + </summary> + <param name="vertices">The vertex array for the text fragment.</param> + <param name="indices">The index array for the text fragment. Please use the indexCount parameter + instead of indices.Count, as the indices array may be larger than necessary for performance reasons.</param> + <param name="indexCount">The actual number of indices in the text fragment.</param> + <returns>A TextHandle that can be used to draw the text fragment.</returns> + </member> + <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Draw(OpenTK.Graphics.TextHandle)"> + <summary> + Draws the specified cached text fragment. + </summary> + <param name="handle">The TextHandle corresponding to the desired text fragment.</param> + </member> + <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Draw(OpenTK.Vector2[],System.UInt16[],System.Int32)"> + <summary> + Draws a text fragment, without caching. + </summary> + <param name="vertices">The vertex array for the text fragment.</param> + <param name="indices">The index array for the text fragment. Please use the indexCount parameter + instead of indices.Count, as the indices array may be larger than necessary for performance reasons.</param> + <param name="indexCount">The actual number of indices in the text fragment.</param> + </member> + <member name="T:OpenTK.Graphics.VboTextHandle"> + <summary> + Contains the necessary information to print text through the VboTextPrinter implementation. + </summary> + </member> + <member name="T:OpenTK.Graphics.TextHandle"> + <summary> + Represents a handle to cached text. + </summary> + </member> + <member name="M:OpenTK.Graphics.TextHandle.#ctor(System.Int32)"> + <summary> + Constructs a new TextHandle, + </summary> + <param name="handle"></param> + </member> + <member name="M:OpenTK.Graphics.TextHandle.ToString"> + <summary> + Returns a System.String that represents the current TextHandle. + </summary> + <returns>a System.String that descibes the current TextHandle.</returns> + </member> + <member name="M:OpenTK.Graphics.TextHandle.Dispose"> + <summary> + Frees the resource consumed by the TextHandle. + </summary> + </member> + <member name="P:OpenTK.Graphics.TextHandle.Handle"> + <summary> + Gets the handle of the cached text run. Call the OpenTK.Graphics.ITextPrinter.Draw() method + to draw the text represented by this TextHandle. + </summary> + </member> + <member name="P:OpenTK.Graphics.TextHandle.Font"> + <summary> + Gets the TextureFont used for this text run. + </summary> + </member> + <member name="T:OpenTK.Audio.EfxEffectf"> + <summary>A list of valid 32-Bits Float Effect/GetEffect parameters</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbDensity"> + <summary>Reverb Modal Density controls the coloration of the late reverb. Lowering the value adds more coloration to the late reverb. Range [0.0f .. 1.0f] Default: 1.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbDiffusion"> + <summary>The Reverb Diffusion property controls the echo density in the reverberation decay. The default 1.0f provides the highest density. Reducing diffusion gives the reverberation a more "grainy" character that is especially noticeable with percussive sound sources. If you set a diffusion value of 0.0f, the later reverberation sounds like a succession of distinct echoes. Range [0.0f .. 1.0f] Default: 1.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbGain"> + <summary>The Reverb Gain property is the master volume control for the reflected sound - both early reflections and reverberation - that the reverb effect adds to all sound sources. Ranges from 1.0 (0db) (the maximum amount) to 0.0 (-100db) (no reflected sound at all) are accepted. Units: Linear gain Range [0.0f .. 1.0f] Default: 0.32f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbGainHF"> + <summary>The Reverb Gain HF property further tweaks reflected sound by attenuating it at high frequencies. It controls a low-pass filter that applies globally to the reflected sound of all sound sources feeding the particular instance of the reverb effect. Ranges from 1.0f (0db) (no filter) to 0.0f (-100db) (virtually no reflected sound) are accepted. Units: Linear gain Range [0.0f .. 1.0f] Default: 0.89f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbDecayTime"> + <summary>The Decay Time property sets the reverberation decay time. It ranges from 0.1f (typically a small room with very dead surfaces) to 20.0 (typically a large room with very live surfaces). Unit: Seconds Range [0.1f .. 20.0f] Default: 1.49f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbDecayHFRatio"> + <summary>The Decay HF Ratio property sets the spectral quality of the Decay Time parameter. It is the ratio of high-frequency decay time relative to the time set by Decay Time.. Unit: linear multiplier Range [0.1f .. 2.0f] Default: 0.83f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbReflectionsGain"> + <summary>The Reflections Gain property controls the overall amount of initial reflections relative to the Gain property. The value of Reflections Gain ranges from a maximum of 3.16f (+10 dB) to a minimum of 0.0f (-100 dB) (no initial reflections at all), and is corrected by the value of the Gain property. Unit: Linear gain Range [0.0f .. 3.16f] Default: 0.05f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbReflectionsDelay"> + <summary>The Reflections Delay property is the amount of delay between the arrival time of the direct path from the source to the first reflection from the source. It ranges from 0 to 300 milliseconds. Unit: Seconds Range [0.0f .. 0.3f] Default: 0.007f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbLateReverbGain"> + <summary>The Late Reverb Gain property controls the overall amount of later reverberation relative to the Gain property. The value of Late Reverb Gain ranges from a maximum of 10.0f (+20 dB) to a minimum of 0.0f (-100 dB) (no late reverberation at all). Unit: Linear gain Range [0.0f .. 10.0f] Default: 1.26f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbLateReverbDelay"> + <summary>The Late Reverb Delay property defines the begin time of the late reverberation relative to the time of the initial reflection (the first of the early reflections). It ranges from 0 to 100 milliseconds. Unit: Seconds Range [0.0f .. 0.1f] Default: 0.011f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbAirAbsorptionGainHF"> + <summary>The Air Absorption Gain HF property controls the distance-dependent attenuation at high frequencies caused by the propagation medium and applies to reflected sound only. Unit: Linear gain per meter Range [0.892f .. 1.0f] Default: 0.994f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ReverbRoomRolloffFactor"> + <summary>The Room Rolloff Factor property is one of two methods available to attenuate the reflected sound (containing both reflections and reverberation) according to source-listener distance. It's defined the same way as OpenAL's Rolloff Factor, but operates on reverb sound instead of direct-path sound. Unit: Linear multiplier Range [0.0f .. 10.0f] Default: 0.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ChorusRate"> + <summary>This property sets the modulation rate of the low-frequency oscillator that controls the delay time of the delayed signals. Unit: Hz Range [0.0f .. 10.0f] Default: 1.1f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ChorusDepth"> + <summary>This property controls the amount by which the delay time is modulated by the low-frequency oscillator. Range [0.0f .. 1.0f] Default: 0.1f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ChorusFeedback"> + <summary>This property controls the amount of processed signal that is fed back to the input of the chorus effect. Negative values will reverse the phase of the feedback signal. At full magnitude the identical sample will repeat endlessly. Range [-1.0f .. +1.0f] Default: +0.25f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.ChorusDelay"> + <summary>This property controls the average amount of time the sample is delayed before it is played back, and with feedback, the amount of time between iterations of the sample. Larger values lower the pitch. Unit: Seconds Range [0.0f .. 0.016f] Default: 0.016f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.DistortionEdge"> + <summary>This property controls the shape of the distortion. The higher the value for Edge, the "dirtier" and "fuzzier" the effect. Range [0.0f .. 1.0f] Default: 0.2f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.DistortionGain"> + <summary>This property allows you to attenuate the distorted sound. Range [0.01f .. 1.0f] Default: 0.05f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.DistortionLowpassCutoff"> + <summary>Input signals can have a low pass filter applied, to limit the amount of high frequency signal feeding into the distortion effect. Unit: Hz Range [80.0f .. 24000.0f] Default: 8000.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.DistortionEQCenter"> + <summary>This property controls the frequency at which the post-distortion attenuation (Distortion Gain) is active. Unit: Hz Range [80.0f .. 24000.0f] Default: 3600.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.DistortionEQBandwidth"> + <summary>This property controls the bandwidth of the post-distortion attenuation. Unit: Hz Range [80.0f .. 24000.0f] Default: 3600.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.EchoDelay"> + <summary>This property controls the delay between the original sound and the first "tap", or echo instance. Subsequently, the value for Echo Delay is used to determine the time delay between each "second tap" and the next "first tap". Unit: Seconds Range [0.0f .. 0.207f] Default: 0.1f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.EchoLRDelay"> + <summary>This property controls the delay between the "first tap" and the "second tap". Subsequently, the value for Echo LR Delay is used to determine the time delay between each "first tap" and the next "second tap". Unit: Seconds Range [0.0f .. 0.404f] Default: 0.1f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.EchoDamping"> + <summary>This property controls the amount of high frequency damping applied to each echo. As the sound is subsequently fed back for further echoes, damping results in an echo which progressively gets softer in tone as well as intensity. Range [0.0f .. 0.99f] Default: 0.5f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.EchoFeedback"> + <summary>This property controls the amount of feedback the output signal fed back into the input. Use this parameter to create "cascading" echoes. At full magnitude, the identical sample will repeat endlessly. Below full magnitude, the sample will repeat and fade. Range [0.0f .. 1.0f] Default: 0.5f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.EchoSpread"> + <summary>This property controls how hard panned the individual echoes are. With a value of 1.0f, the first "tap" will be panned hard left, and the second "tap" hard right. –1.0f gives the opposite result and values near to 0.0f result in less emphasized panning. Range [-1.0f .. +1.0f] Default: -1.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.FlangerRate"> + <summary>The number of times per second the low-frequency oscillator controlling the amount of delay repeats. Range [0.0f .. 10.0f] Default: 0.27f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.FlangerDepth"> + <summary>The ratio by which the delay time is modulated by the low-frequency oscillator. Range [0.0f .. 1.0f] Default: 1.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.FlangerFeedback"> + <summary>This is the amount of the output signal level fed back into the effect's input. A negative value will reverse the phase of the feedback signal. Range [-1.0f .. +1.0f] Default: -0.5f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.FlangerDelay"> + <summary>The average amount of time the sample is delayed before it is played back. When used with the Feedback property it's the amount of time between iterations of the sample. Unit: Seconds Range [0.0f .. 0.004f] Default: 0.002f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.FrequencyShifterFrequency"> + <summary>This is the carrier frequency. For carrier frequencies below the audible range, the single sideband modulator may produce phaser effects, spatial effects or a slight pitch-shift. As the carrier frequency increases, the timbre of the sound is affected. Unit: Hz Range [0.0f .. 24000.0f] Default: 0.0f</summary> + </member> + <member name="F:OpenTK.Audio.EfxEffectf.VocalMorpherRate"> + <summary>This controls the frequency of the low-frequency oscillator used to morph between the two phoneme filters. Unit: Hz Range [0.0f .. 10.0f] Default: 1.41f</summary> + </member> + <member name="F:Ope... [truncated message content] |
From: <ka...@us...> - 2009-10-24 02:28:14
|
Revision: 1068 http://agate.svn.sourceforge.net/agate/?rev=1068&view=rev Author: kanato Date: 2009-10-24 02:27:23 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Update to OpenTK 0.9.9-3 Modified Paths: -------------- branches/otkupdate/Build/Projects/AgateOTK.proj.xml branches/otkupdate/Drivers/AgateOTK/GL_Display.cs branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs branches/otkupdate/Drivers/AgateOTK/OpenTK.dll branches/otkupdate/Drivers/AgateOTK/OpenTK.dll.config branches/otkupdate/Drivers/AgateOTK/OpenTK.xml branches/otkupdate/Drivers/AgateSDX/AgateSDX.csproj Removed Paths: ------------- branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll.config branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.xml Modified: branches/otkupdate/Build/Projects/AgateOTK.proj.xml =================================================================== --- branches/otkupdate/Build/Projects/AgateOTK.proj.xml 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Build/Projects/AgateOTK.proj.xml 2009-10-24 02:27:23 UTC (rev 1068) @@ -16,7 +16,7 @@ <Reference name="AgateLib"/> <Reference name="AgateLib.WinForms"/> <Reference name="OpenTK" path="." localCopy="true"/> - <Reference name="OpenTK.Utilities" path="." localCopy="true"/> + <Reference name="OpenTK.Compatibility" path="." localCopy="true"/> <Reference name="System"/> <Reference name="System.Core"/> <Reference name="System.Data"/> Modified: branches/otkupdate/Drivers/AgateOTK/GL_Display.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Drivers/AgateOTK/GL_Display.cs 2009-10-24 02:27:23 UTC (rev 1068) @@ -28,7 +28,7 @@ using AgateLib.Geometry; using AgateLib.Geometry.VertexTypes; using AgateLib.ImplementationBase; -using OpenTK.Graphics; +using OpenTK.Graphics.OpenGL; using PixelFormat = AgateLib.DisplayLib.PixelFormat; namespace AgateOTK @@ -185,7 +185,7 @@ { GL.MatrixMode(MatrixMode.Projection); GL.LoadIdentity(); - Glu.Ortho2D(region.Left, region.Right, region.Bottom, region.Top); + GL.Ortho(region.Left, region.Right, region.Bottom, region.Top, -1, 1); } Matrix4x4 projection = Matrix4x4.Identity; @@ -222,7 +222,7 @@ private void SetModelview() { - OpenTK.Math.Matrix4 modelview = ConvertAgateMatrix(view * world, false); + OpenTK.Matrix4 modelview = ConvertAgateMatrix(view * world, false); GL.MatrixMode(MatrixMode.Modelview); GL.LoadIdentity(); @@ -230,22 +230,22 @@ } private void SetProjection() { - OpenTK.Math.Matrix4 otkProjection = ConvertAgateMatrix(projection, false); + OpenTK.Matrix4 otkProjection = ConvertAgateMatrix(projection, false); GL.MatrixMode(MatrixMode.Projection); GL.LoadIdentity(); GL.LoadMatrix(ref otkProjection); } - private OpenTK.Math.Matrix4 ConvertAgateMatrix(Matrix4x4 matrix, bool invertY) + private OpenTK.Matrix4 ConvertAgateMatrix(Matrix4x4 matrix, bool invertY) { int sign = invertY ? -1 : 1; - return new OpenTK.Math.Matrix4( - new OpenTK.Math.Vector4(matrix[0, 0], sign * matrix[1, 0], matrix[2, 0], matrix[3, 0]), - new OpenTK.Math.Vector4(matrix[0, 1], sign * matrix[1, 1], matrix[2, 1], matrix[3, 1]), - new OpenTK.Math.Vector4(matrix[0, 2], sign * matrix[1, 2], matrix[2, 2], matrix[3, 2]), - new OpenTK.Math.Vector4(matrix[0, 3], sign * matrix[1, 3], matrix[2, 3], matrix[3, 3])); + return new OpenTK.Matrix4( + new OpenTK.Vector4(matrix[0, 0], sign * matrix[1, 0], matrix[2, 0], matrix[3, 0]), + new OpenTK.Vector4(matrix[0, 1], sign * matrix[1, 1], matrix[2, 1], matrix[3, 1]), + new OpenTK.Vector4(matrix[0, 2], sign * matrix[1, 2], matrix[2, 2], matrix[3, 2]), + new OpenTK.Vector4(matrix[0, 3], sign * matrix[1, 3], matrix[2, 3], matrix[3, 3])); } public override void Clear(Color color) @@ -412,11 +412,11 @@ } else { - mSupportsFramebuffer = GL.SupportsExtension("GL_EXT_FRAMEBUFFER_OBJECT"); - mNonPowerOf2Textures = GL.SupportsExtension("GL_ARB_NON_POWER_OF_TWO"); + mSupportsFramebuffer = OpenTK.Graphics.GL.SupportsExtension("GL_EXT_FRAMEBUFFER_OBJECT"); + mNonPowerOf2Textures = OpenTK.Graphics.GL.SupportsExtension("GL_ARB_NON_POWER_OF_TWO"); } - if (GL.SupportsExtension("GL_ARB_FRAGMENT_PROGRAM")) + if (OpenTK.Graphics.GL.SupportsExtension("GL_ARB_FRAGMENT_PROGRAM")) { mSupportsShaders = true; } @@ -517,7 +517,7 @@ GL.Enable(EnableCap.Lighting); SetArray(array, lights.Ambient); - GL.LightModelv(LightModelParameter.LightModelAmbient, array); + GL.LightModel(LightModelParameter.LightModelAmbient, array); GL.Enable(EnableCap.ColorMaterial); GL.ColorMaterial(MaterialFace.FrontAndBack, @@ -543,13 +543,13 @@ GL.Enable(lightID); SetArray(array, lights[i].Diffuse); - GL.Lightv(lightName, LightParameter.Diffuse, array); + GL.Light(lightName, LightParameter.Diffuse, array); SetArray(array, lights[i].Ambient); - GL.Lightv(lightName, LightParameter.Ambient, array); + GL.Light(lightName, LightParameter.Ambient, array); SetArray(array, lights[i].Position); - GL.Lightv(lightName, LightParameter.Position, array); + GL.Light(lightName, LightParameter.Position, array); GL.Light(lightName, LightParameter.ConstantAttenuation, lights[i].AttenuationConstant); GL.Light(lightName, LightParameter.LinearAttenuation, lights[i].AttenuationLinear); Modified: branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Drivers/AgateOTK/GL_DisplayControl.cs 2009-10-24 02:27:23 UTC (rev 1068) @@ -34,6 +34,7 @@ using OpenTK.Graphics; using OpenTK.Graphics.OpenGL; +using GL = OpenTK.Graphics.OpenGL.GL; using OpenTK.Platform; namespace AgateOTK @@ -42,7 +43,7 @@ { Form frm; Control mRenderTarget; - GraphicsContext mContext; + IGraphicsContext mContext; IWindowInfo mWindowInfo; GL_Display mDisplay; @@ -124,7 +125,7 @@ DetachEvents(); Form oldForm = frm; - GraphicsContext oldcontext = mContext; + IGraphicsContext oldcontext = mContext; IWindowInfo oldWindowInfo = mWindowInfo; mContext = null; @@ -142,11 +143,11 @@ CreateContext(); - DisplayResolution resolution = DisplayDevice.Default.SelectResolution( + + OpenTK.DisplayResolution resolution = OpenTK.DisplayDevice.Default.SelectResolution( mChooseWidth, mChooseHeight, 32, 0); + OpenTK.DisplayDevice.Default.ChangeResolution(resolution); - DisplayDevice.Default.ChangeResolution(resolution); - frm.Location = System.Drawing.Point.Empty; frm.ClientSize = new System.Drawing.Size(mChooseWidth, mChooseHeight); frm.Activate(); @@ -166,7 +167,7 @@ DetachEvents(); Form oldForm = frm; - GraphicsContext oldcontext = mContext; + IGraphicsContext oldcontext = mContext; IWindowInfo oldWindowInfo = mWindowInfo; mContext = null; @@ -175,7 +176,7 @@ Form myform; Control myRenderTarget; - DisplayDevice.Default.RestoreResolution(); + OpenTK.DisplayDevice.Default.RestoreResolution(); AgateLib.WinForms.FormUtil.InitializeWindowsForm(out myform, out myRenderTarget, mChoosePosition, mTitle, mChooseWidth, mChooseHeight, mChooseFullscreen, mChooseResize, mHasFrame); @@ -206,14 +207,30 @@ Debug.Print("AgateLib GraphicsMode: {0}", newMode); - //mWindowInfo = OpenTK.Platform.Utilities.CreateWindowInfo(newMode, mRenderTarget); + mWindowInfo = CreateWindowInfo(); - //mContext = OpenTK.Platform.Utilities.CreateGraphicsContext( - // newMode, mWindowInfo, 3, 1, GraphicsContextFlags.Default); - OpenTK.Platform.Utilities.CreateGraphicsContext(newMode, mRenderTarget, out mContext, out mWindowInfo); + mContext = OpenTK.Platform.Utilities.CreateGraphicsContext( + newMode, mWindowInfo, 3, 1, GraphicsContextFlags.Default); + //OpenTK.Platform.Utilities.CreateGraphicsContext(newMode, mRenderTarget, out mContext, out mWindowInfo); } + private IWindowInfo CreateWindowInfo() + { + switch (AgateLib.Utility.Platform.PlatformType) + { + case AgateLib.Utility.PlatformType.Windows: + return OpenTK.Platform.Utilities.CreateWindowsWindowInfo(mRenderTarget.Handle); + case AgateLib.Utility.PlatformType.MacOS: + return OpenTK.Platform.Utilities.CreateMacOSCarbonWindowInfo(mRenderTarget.Handle, false, true); + case AgateLib.Utility.PlatformType.Linux: + case AgateLib.Utility.PlatformType.Gp2x: + //return OpenTK.Platform.Utilities.CreateX11WindowInfo( + default: + throw new Exception("Platform not implemented."); + } + } + public override void Dispose() { mDisplay.ProcessEventsEvent -= mDisplay_ProcessEventsEvent; Modified: branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs =================================================================== --- branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Drivers/AgateOTK/GL_GameWindow.cs 2009-10-24 02:27:23 UTC (rev 1068) @@ -203,16 +203,16 @@ done = true; } - void Keyboard_KeyDown(OpenTK.Input.KeyboardDevice sender, OpenTK.Input.Key key) + void Keyboard_KeyDown(object sender, OpenTK.Input.KeyboardKeyEventArgs e) { - KeyCode code = TransformKey(key); + KeyCode code = TransformKey(e.Key); Keyboard.Keys[code] = true; } - void Keyboard_KeyUp(OpenTK.Input.KeyboardDevice sender, OpenTK.Input.Key key) + void Keyboard_KeyUp(object sender, OpenTK.Input.KeyboardKeyEventArgs e) { - KeyCode code = TransformKey(key); + KeyCode code = TransformKey(e.Key); Keyboard.Keys[code] = false; } @@ -260,15 +260,15 @@ private void AttachEvents() { mWindow.Closing += mWindow_CloseWindow; - mWindow.Resize += new OpenTK.Platform.ResizeEvent(mWindow_Resize); + mWindow.Resize += new EventHandler<EventArgs>(mWindow_Resize); mWindow.Keyboard.KeyRepeat = true; - mWindow.Keyboard.KeyDown += new OpenTK.Input.KeyDownEvent(Keyboard_KeyDown); - mWindow.Keyboard.KeyUp += new OpenTK.Input.KeyUpEvent(Keyboard_KeyUp); + mWindow.Keyboard.KeyDown += new EventHandler<OpenTK.Input.KeyboardKeyEventArgs>(Keyboard_KeyDown); + mWindow.Keyboard.KeyUp += new EventHandler<OpenTK.Input.KeyboardKeyEventArgs>(Keyboard_KeyUp); - mWindow.Mouse.ButtonDown += new OpenTK.Input.MouseButtonEventHandler(Mouse_ButtonDown); - mWindow.Mouse.ButtonUp += new OpenTK.Input.MouseButtonEventHandler(Mouse_ButtonUp); - mWindow.Mouse.Move += new OpenTK.Input.MouseMoveEventHandler(Mouse_Move); + mWindow.Mouse.ButtonDown += new EventHandler<OpenTK.Input.MouseButtonEventArgs>(Mouse_ButtonDown); + mWindow.Mouse.ButtonUp += new EventHandler<OpenTK.Input.MouseButtonEventArgs>(Mouse_ButtonUp); + mWindow.Mouse.Move += new EventHandler<OpenTK.Input.MouseMoveEventArgs>(Mouse_Move); } private void DetachEvents() @@ -284,7 +284,7 @@ mWindow.Mouse.Move -= Mouse_Move; } - void mWindow_Resize(object sender, OpenTK.Platform.ResizeEventArgs e) + void mWindow_Resize(object sender, EventArgs e) { Debug.Print("Reseting viewport to {0}x{1}", mWindow.Width, mWindow.Height); @@ -298,8 +298,6 @@ AttachEvents(); } - - private void CreateFullScreenDisplay() { mWindow = new GameWindow(mWidth, mHeight, @@ -360,7 +358,6 @@ return false; } } - public override bool IsFullScreen { get { return mWindow.WindowState == WindowState.Fullscreen; } Deleted: branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll =================================================================== (Binary files differ) Deleted: branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll.config =================================================================== --- branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll.config 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.dll.config 2009-10-24 02:27:23 UTC (rev 1068) @@ -1,2 +0,0 @@ -<configuration> -</configuration> \ No newline at end of file Deleted: branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.xml =================================================================== --- branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.xml 2009-10-24 01:50:56 UTC (rev 1067) +++ branches/otkupdate/Drivers/AgateOTK/OpenTK.Utilities.xml 2009-10-24 02:27:23 UTC (rev 1068) @@ -1,840 +0,0 @@ -<?xml version="1.0"?> -<doc> - <assembly> - <name>OpenTK.Utilities</name> - </assembly> - <members> - <member name="T:OpenTK.IPackable`1"> - <summary> - Represents an item that can be packed with the TexturePacker. - </summary> - <typeparam name="T">The type of the packable item.</typeparam> - </member> - <member name="M:OpenTK.TexturePacker`1.Add(`0,System.Drawing.Rectangle@)"> - <summary> - Packs the given item into the free space of the TexturePacker. - </summary> - <param name="item">The item to pack.</param> - <returns>A System.Drawing.Rectangle containing the coordinates of the packed item.</returns> - <exception cref="T:System.InvalidOperationException">Occurs if the item is larger than the available TexturePacker area</exception> - <exception cref="T:System.ArgumentException">Occurs if the item already exists in the TexturePacker.</exception> - </member> - <member name="M:OpenTK.TexturePacker`1.Clear"> - <summary> - Discards all packed items. - </summary> - </member> - <member name="M:OpenTK.TexturePacker`1.ChangeSize(System.Int32,System.Int32)"> - <summary> - Changes the dimensions of the TexturePacker surface. - </summary> - <param name="new_width">The new width of the TexturePacker surface.</param> - <param name="new_height">The new height of the TexturePacker surface.</param> - <remarks>Changing the size of the TexturePacker surface will implicitly call TexturePacker.Clear().</remarks> - <seealso cref="M:OpenTK.TexturePacker`1.Clear"/> - </member> - <member name="T:OpenTK.Audio.AudioReader"> - <summary> - Encapsulates a sound stream and provides decoding and streaming capabilities. - </summary> - <typeparam name="SampleType"></typeparam> - </member> - <member name="M:OpenTK.Audio.AudioReader.#ctor(System.String)"> - <summary>Creates a new AudioReader that can read the specified sound file.</summary> - <param name="filename">The path to the sound file.</param> - <returns>A new OpenTK.Audio.AudioReader, which can be used to read from the specified sound file.</returns> - </member> - <member name="M:OpenTK.Audio.AudioReader.#ctor(System.IO.Stream)"> - <summary>Creates a new AudioReader that can read the specified soundstream.</summary> - <param name="s">The System.IO.Stream to read from.</param> - <returns>A new OpenTK.Audio.AudioReader, which can be used to read from the specified sound stream.</returns> - </member> - <member name="M:OpenTK.Audio.AudioReader.Supports(System.IO.Stream)"> - <summary>When overriden in a derived class, checks if the decoder supports the specified sound stream.</summary> - <param name="s">The System.IO.Stream to check.</param> - <returns>True if the sound stream is supported; false otherwise.</returns> - </member> - <member name="M:OpenTK.Audio.AudioReader.ReadSamples(System.Int64)"> - <summary> - When overriden in a derived class, reads and decodes the specified number of samples from the sound stream. - </summary> - <param name="samples">The number of samples to read and decode.</param> - <returns>An OpenTK.Audio.SoundData object that contains the decoded buffer.</returns> - </member> - <member name="M:OpenTK.Audio.AudioReader.ReadToEnd"> - <summary> - When overriden in a derived class, reads and decodes the sound stream. - </summary> - <returns>An OpenTK.Audio.SoundData object that contains the decoded buffer.</returns> - </member> - <member name="M:OpenTK.Audio.AudioReader.Dispose"> - <summary>Closes the underlying Stream and disposes of the AudioReader resources.</summary> - </member> - <member name="P:OpenTK.Audio.AudioReader.Frequency"> - <summary> - - </summary> - </member> - <member name="T:OpenTK.Audio.AudioReaderException"> - <summary>Represents exceptions related to OpenTK.Audio.AudioReader objects.</summary> - </member> - <member name="M:OpenTK.Audio.AudioReaderException.#ctor"> - <summary>Constructs a new AudioReaderException.</summary> - </member> - <member name="M:OpenTK.Audio.AudioReaderException.#ctor(System.String)"> - <summary>Constructs a new AudioReaderException with the specified error message.</summary> - <param name="message">The error message of the AudioReaderException.</param> - </member> - <member name="M:OpenTK.Audio.WaveReader.Supports(System.IO.Stream)"> - <summary> - Checks whether the specified stream contains valid WAVE/RIFF buffer. - </summary> - <param name="s">The System.IO.Stream to check.</param> - <returns>True if the stream is a valid WAVE/RIFF file; false otherwise.</returns> - </member> - <member name="M:OpenTK.Audio.WaveReader.ReadSamples(System.Int64)"> - <summary> - Reads and decodes the specified number of samples from the sound stream. - </summary> - <param name="samples">The number of samples to read and decode.</param> - <returns>An OpenTK.Audio.SoundData object that contains the decoded buffer.</returns> - </member> - <member name="M:OpenTK.Audio.WaveReader.ReadToEnd"> - <summary> - Reads and decodes the sound stream. - </summary> - <returns>An OpenTK.Audio.SoundData object that contains the decoded buffer.</returns> - </member> - <member name="T:OpenTK.Graphics.TextHandle"> - <summary> - Represents a handle to cached text. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextHandle.#ctor(System.Int32)"> - <summary> - Constructs a new TextHandle, - </summary> - <param name="handle"></param> - </member> - <member name="M:OpenTK.Graphics.TextHandle.ToString"> - <summary> - Returns a System.String that represents the current TextHandle. - </summary> - <returns>a System.String that descibes the current TextHandle.</returns> - </member> - <member name="M:OpenTK.Graphics.TextHandle.Dispose"> - <summary> - Frees the resource consumed by the TextHandle. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextHandle.Handle"> - <summary> - Gets the handle of the cached text run. Call the OpenTK.Graphics.ITextPrinter.Draw() method - to draw the text represented by this TextHandle. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextHandle.Font"> - <summary> - Gets the TextureFont used for this text run. - </summary> - </member> - <member name="T:OpenTK.Graphics.DisplayListTextPrinter"> - <summary> - Provides text printing through OpenGL 1.1 Display Lists. - </summary> - </member> - <member name="T:OpenTK.Graphics.ITextPrinterImplementation"> - <summary> - Defines the interface for TextPrinter implementations. - </summary> - </member> - <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Load(OpenTK.Math.Vector2[],System.UInt16[],System.Int32)"> - <summary> - Caches a text fragment for future use. - </summary> - <param name="vertices">The vertex array for the text fragment.</param> - <param name="indices">The index array for the text fragment. Please use the indexCount parameter - instead of indices.Count, as the indices array may be larger than necessary for performance reasons.</param> - <param name="indexCount">The actual number of indices in the text fragment.</param> - <returns>A TextHandle that can be used to draw the text fragment.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Draw(OpenTK.Graphics.TextHandle)"> - <summary> - Draws the specified cached text fragment. - </summary> - <param name="handle">The TextHandle corresponding to the desired text fragment.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinterImplementation.Draw(OpenTK.Math.Vector2[],System.UInt16[],System.Int32)"> - <summary> - Draws a text fragment, without caching. - </summary> - <param name="vertices">The vertex array for the text fragment.</param> - <param name="indices">The index array for the text fragment. Please use the indexCount parameter - instead of indices.Count, as the indices array may be larger than necessary for performance reasons.</param> - <param name="indexCount">The actual number of indices in the text fragment.</param> - </member> - <member name="T:OpenTK.Graphics.Glyph"> - <summary> - Represents a single character of a specific Font. - </summary> - </member> - <member name="M:OpenTK.Graphics.Glyph.#ctor(System.Char,System.Drawing.Font,System.Drawing.SizeF)"> - <summary> - Constructs a new Glyph that represents the given character and Font. - </summary> - <param name="c">The character to represent.</param> - <param name="f">The Font of the character.</param> - </member> - <member name="M:OpenTK.Graphics.Glyph.Equals(System.Object)"> - <summary> - Checks whether the given object is equal (memberwise) to the current Glyph. - </summary> - <param name="obj">The obj to check.</param> - <returns>True, if the object is identical to the current Glyph.</returns> - </member> - <member name="M:OpenTK.Graphics.Glyph.ToString"> - <summary> - Describes this Glyph object. - </summary> - <returns>Returns a System.String describing this Glyph.</returns> - </member> - <member name="M:OpenTK.Graphics.Glyph.GetHashCode"> - <summary> - Calculates the hashcode for this Glyph. - </summary> - <returns>A System.Int32 containing a hashcode that uniquely identifies this Glyph.</returns> - </member> - <member name="M:OpenTK.Graphics.Glyph.Equals(OpenTK.Graphics.Glyph)"> - <summary> - Compares the current Glyph with the given Glyph. - </summary> - <param name="other">The Glyph to compare to.</param> - <returns>True if both Glyphs represent the same character of the same Font, false otherwise.</returns> - </member> - <member name="P:OpenTK.Graphics.Glyph.Character"> - <summary> - Gets the character represented by this Glyph. - </summary> - </member> - <member name="P:OpenTK.Graphics.Glyph.Font"> - <summary> - Gets the Font of this Glyph. - </summary> - </member> - <member name="P:OpenTK.Graphics.Glyph.Size"> - <summary> - Gets the size of this Glyph. - </summary> - </member> - <member name="P:OpenTK.Graphics.Glyph.Rectangle"> - <summary> - Gets the bounding box of this Glyph. - </summary> - </member> - <member name="P:OpenTK.Graphics.Glyph.Width"> - <summary> - Gets an integer representing the width of the Glyph in pixels. - </summary> - </member> - <member name="P:OpenTK.Graphics.Glyph.Height"> - <summary> - Gets an integer representing the height of the Glyph in pixels. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextureFont.#ctor(System.Drawing.Font)"> - <summary> - Constructs a new TextureFont, using the specified System.Drawing.Font. - </summary> - <param name="font">The System.Drawing.Font to use.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.#ctor(System.Drawing.FontFamily,System.Single)"> - <summary> - Constructs a new TextureFont, using the specified parameters. - </summary> - <param name="font">The System.Drawing.FontFamily to use for the typeface.</param> - <param name="emSize">The em size to use for the typeface.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.#ctor(System.Drawing.FontFamily,System.Single,System.Drawing.FontStyle)"> - <summary> - Constructs a new TextureFont, using the specified parameters. - </summary> - <param name="font">The System.Drawing.FontFamily to use for the typeface.</param> - <param name="emSize">The em size to use for the typeface.</param> - <param name="family">The style to use for the typeface.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.LoadGlyphs(System.String)"> - <summary> - Prepares the specified glyphs for rendering. - </summary> - <param name="glyphs">The glyphs to prepare for rendering.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.LoadGlyph(System.Char)"> - <summary> - Prepares the specified glyph for rendering. - </summary> - <param name="glyphs">The glyph to prepare for rendering.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.GlyphData(System.Char,System.Single@,System.Single@,System.Drawing.RectangleF@,System.Int32@)"> - <summary> - Returns the characteristics of a loaded glyph. - </summary> - <param name="glyph">The character corresponding to this glyph.</param> - <param name="width">The width of this glyph.</param> - <param name="height">The height of this glyph (line spacing).</param> - <param name="textureRectangle">The bounding box of the texture buffer of this glyph.</param> - <param name="texture">The handle to the texture that contains this glyph.</param> - <returns>True if the glyph has been loaded, false otherwise.</returns> - <seealso cref="M:OpenTK.Graphics.TextureFont.LoadGlyphs(System.String)"/> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureString(System.String,System.Single@,System.Single@,System.Boolean)"> - <summary> - Measures the width of the specified string. - </summary> - <param name="str">The string to measure.</param> - <param name="width">The measured width.</param> - <param name="height">The measured height.</param> - <param name="accountForOverhangs">If true, adds space to account for glyph overhangs. Set to true if you wish to measure a complete string. Set to false if you wish to perform layout on adjacent strings.</param> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureString(System.String,System.Single@,System.Single@)"> - <summary> - Measures the width of the specified string. - </summary> - <param name="str">The string to measure.</param> - <param name="width">The measured width.</param> - <param name="height">The measured height.</param> - <seealso cref="!:public void MeasureString(string str, out float width, out float height, bool accountForOverhangs)"/> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureText(System.String)"> - <summary> - Calculates size information for the specified text. - </summary> - <param name="text">The string to measure.</param> - <returns>A RectangleF containing the bounding box for the specified text.</returns> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureText(System.String,System.Drawing.SizeF)"> - <summary> - Calculates size information for the specified text. - </summary> - <param name="text">The string to measure.</param> - <param name="bounds">A SizeF structure containing the maximum desired width and height of the text. Default is SizeF.Empty.</param> - <returns>A RectangleF containing the bounding box for the specified text.</returns> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureText(System.String,System.Drawing.SizeF,System.Drawing.StringFormat)"> - <summary> - Calculates size information for the specified text. - </summary> - <param name="text">The string to measure.</param> - <param name="bounds">A SizeF structure containing the maximum desired width and height of the text. Pass SizeF.Empty to disable wrapping calculations. A width or height of 0 disables the relevant calculation.</param> - <param name="format">A StringFormat object which specifies the measurement format of the string. Pass null to use the default StringFormat (StringFormat.GenericTypographic).</param> - <returns>A RectangleF containing the bounding box for the specified text.</returns> - </member> - <member name="M:OpenTK.Graphics.TextureFont.MeasureText(System.String,System.Drawing.SizeF,System.Drawing.StringFormat,System.Collections.Generic.List{System.Drawing.RectangleF})"> - <summary> - Calculates size information for the specified text. - </summary> - <param name="text">The string to measure.</param> - <param name="bounds">A SizeF structure containing the maximum desired width and height of the text. Pass SizeF.Empty to disable wrapping calculations. A width or height of 0 disables the relevant calculation.</param> - <param name="format">A StringFormat object which specifies the measurement format of the string. Pass null to use the default StringFormat (StringFormat.GenericDefault).</param> - <param name="ranges">Fills the specified IList of RectangleF structures with position information for individual characters. If this argument is null, these calculations are skipped.</param> - <returns>A RectangleF containing the bounding box for the specified text.</returns> - </member> - <member name="M:OpenTK.Graphics.TextureFont.PrepareTexturePacker"> - <summary> - Calculates the optimal size for the font texture and TexturePacker, and creates both. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextureFont.Dispose"> - <summary> - Releases all resources used by this OpenTK.Graphics.TextureFont. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextureFont.Height"> - <summary> - Gets a float indicating the default line spacing of this font. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextureFont.Width"> - <summary> - Gets a float indicating the default size of this font, in points. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextureFont.Texture"> - <summary> - Gets the handle to the texture were this font resides. - </summary> - </member> - <member name="T:OpenTK.Graphics.VboTextPrinter"> - <summary> - Provides text printing through OpenGL 1.5 vertex buffer objects. - </summary> - </member> - <member name="T:OpenTK.Graphics.VboTextHandle"> - <summary> - Contains the necessary information to print text through the VboTextPrinter implementation. - </summary> - </member> - <member name="T:OpenTK.Graphics.AlphaTexture2D"> - <summary> - Encapsulates an OpenGL texture. - </summary> - </member> - <member name="T:OpenTK.Graphics.IGraphicsResource"> - <summary> - Defines a common interface to all OpenGL resources. - </summary> - </member> - <member name="P:OpenTK.Graphics.IGraphicsResource.Context"> - <summary> - Gets the GraphicsContext that owns this resource. - </summary> - </member> - <member name="P:OpenTK.Graphics.IGraphicsResource.Id"> - <summary> - Gets the Id of this IGraphicsResource. - </summary> - </member> - <member name="P:OpenTK.Graphics.Texture2D.Width"> - <summary>Gets the width of the texture.</summary> - </member> - <member name="P:OpenTK.Graphics.Texture2D.Height"> - <summary>Gets the height of the texture.</summary> - </member> - <member name="M:OpenTK.Graphics.AlphaTexture2D.#ctor(System.Int32,System.Int32)"> - <summary> - Constructs a new Texture. - </summary> - </member> - <member name="T:OpenTK.Graphics.GraphicsResourceException"> - <summary> - Represents exceptions related to IGraphicsResources. - </summary> - </member> - <member name="M:OpenTK.Graphics.GraphicsResourceException.#ctor"> - <summary>Constructs a new GraphicsResourceException.</summary> - </member> - <member name="M:OpenTK.Graphics.GraphicsResourceException.#ctor(System.String)"> - <summary>Constructs a new string with the specified error message.</summary> - </member> - <member name="T:OpenTK.Graphics.ITextPrinter"> - <summary> - Defines the interface for a TextPrinter. - </summary> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment,OpenTK.Graphics.TextDirection)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to print text.</param> - <param name="direction">The OpenTK.Graphics.TextDirection that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Measure(System.String,System.Drawing.Font)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment,OpenTK.Graphics.TextDirection)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to measure text.</param> - <param name="direction">The OpenTK.Graphics.TextDirection that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.Begin"> - <summary> - Sets up a resolution-dependent orthographic projection. - </summary> - </member> - <member name="M:OpenTK.Graphics.ITextPrinter.End"> - <summary> - Restores the projection and modelview matrices to their previous state. - </summary> - </member> - <member name="T:OpenTK.Graphics.TextAlignment"> - <summary> - Defines available alignments for text. - </summary> - </member> - <member name="F:OpenTK.Graphics.TextAlignment.Near"> - <summary>The text is aligned to the near side (left for left-to-right text and right for right-to-left text).</summary> - </member> - <member name="F:OpenTK.Graphics.TextAlignment.Center"> - <summary>The text is aligned to the center.</summary> - </member> - <member name="F:OpenTK.Graphics.TextAlignment.Far"> - <summary>The text is aligned to the far side (right for left-to-right text and left for right-to-left text).</summary> - </member> - <member name="T:OpenTK.Graphics.TextDirection"> - <summary> - Defines available directions for text layout. - </summary> - </member> - <member name="F:OpenTK.Graphics.TextDirection.LeftToRight"> - <summary>The text is layed out from left to right.</summary> - </member> - <member name="F:OpenTK.Graphics.TextDirection.RightToLeft"> - <summary>The text is layed out from right to left.</summary> - </member> - <member name="F:OpenTK.Graphics.TextDirection.Vertical"> - <summary>The text is layed out vertically.</summary> - </member> - <member name="T:OpenTK.Graphics.TextExtents"> - <summary> - Holds the results of a text measurement. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextExtents.Dispose"> - <summary> - Frees the resources consumed by this TextExtents instance. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextExtents.BoundingBox"> - <summary> - Gets the bounding box of the measured text. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextExtents.Item(System.Int32)"> - <summary> - Gets the extents of each glyph in the measured text. - </summary> - <param name="i">The index of the glyph.</param> - <returns>The extents of the specified glyph.</returns> - </member> - <member name="P:OpenTK.Graphics.TextExtents.GlyphExtents"> - <summary> - Gets the extents of each glyph in the measured text. - </summary> - </member> - <member name="P:OpenTK.Graphics.TextExtents.Count"> - <summary> - Gets the number of the measured glyphs. - </summary> - </member> - <member name="T:OpenTK.Graphics.TextPrinter"> - <summary> - Provides methods to perform layout and print hardware accelerated text. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.#ctor"> - <summary> - Constructs a new TextPrinter instance. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.#ctor(OpenTK.Graphics.TextQuality)"> - <summary> - Constructs a new TextPrinter instance with the specified TextQuality level. - </summary> - <param name="quality">The desired TextQuality of this TextPrinter.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Print(System.String,System.Drawing.Font,System.Drawing.Color,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment,OpenTK.Graphics.TextDirection)"> - <summary> - Prints text using the specified color and layout options. - </summary> - <param name="text">The System.String to print.</param> - <param name="font">The System.Drawing.Font that will be used to print text.</param> - <param name="color">The System.Drawing.Color that will be used to print text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to print text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to print text.</param> - <param name="direction">The OpenTK.Graphics.TextDirection that will be used to print text.</param> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Measure(System.String,System.Drawing.Font)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Measure(System.String,System.Drawing.Font,System.Drawing.RectangleF,OpenTK.Graphics.TextPrinterOptions,OpenTK.Graphics.TextAlignment,OpenTK.Graphics.TextDirection)"> - <summary> - Measures text using the specified layout options. - </summary> - <param name="text">The System.String to measure.</param> - <param name="font">The System.Drawing.Font that will be used to measure text.</param> - <param name="rect">The System.Drawing.Rectangle that defines the bounds for text layout.</param> - <param name="options">The OpenTK.Graphics.TextPrinterOptions that will be used to measure text.</param> - <param name="alignment">The OpenTK.Graphics.TextAlignment that will be used to measure text.</param> - <param name="direction">The OpenTK.Graphics.TextDirection that will be used to measure text.</param> - <returns>An OpenTK.Graphics.TextExtents instance that contains the results of the measurement.</returns> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Begin"> - <summary> - Sets up a resolution-dependent orthographic projection. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.End"> - <summary> - Restores the projection and modelview matrices to their previous state. - </summary> - </member> - <member name="M:OpenTK.Graphics.TextPrinter.Dispose"> - <summary> - Frees the resources consumed by this TextPrinter object. - </summary> - </member> - <member name="T:OpenTK.Graphics.TextPrinterOptions"> - <summary> - Defines available options for the TextPrinter. - </summary> - </member> - <member name="F:OpenTK.Graphics.TextPrinterOptions.Default"> - <summary>The TextPrinter will use default printing options.</summary> - </member> - <member name="F:OpenTK.Graphics.TextPrinterOptions.NoCache"> - <summary>The TextPrinter will not cache text blocks as they are measured or printed.</summary> - </member> - <member name="T:OpenTK.Graphics.TextQuality"> - <summary> - Defines available quality levels for text printing. - </summary> - </member> - <member name="F:OpenTK.Graphics.TextQuality.Default"> - <summary>Use the default quality, as specified by the operating system.</summary> - </member> - <member name="F:OpenTK.Graphics.TextQuality.Low"> - <summary>Use fast, low quality text (typically non-antialiased) .</summary> - </member> - <member name="F:OpenTK.Graphics.TextQuality.Medium"> - <summary>Use medium quality text (typically grayscale antialiased).</summary> - </member> - <member name="F:OpenTK.Graphics.TextQuality.High"> - <summary>Use slow, high quality text (typically subpixel antialiased).</summary> - </member> - <member name="T:OpenTK.Graphics.TextureRegion2D`1"> - <summary> - Holds part or the whole of a 2d OpenGL texture. - </summary> - </member> - <member name="M:OpenTK.Graphics.Text.Glyph.#ctor(System.Char,System.Drawing.Font)"> - <summary> - Constructs a new Glyph that represents the given character and Font. - </summary> - <param name="c">The character to represent.</param> - <param name="f">The Font of the character.</param> - </member> - <member name="M:OpenTK.Graphics.Text.Glyph.Equals(System.Object)"> - <summary> - Checks whether the given object is equal (memberwise) to the current Glyph. - </summary> - <param name="obj">The obj to check.</param> - <returns>True, if the object is identical to the current Glyph.</returns> - </member> - <member name="M:OpenTK.Graphics.Text.Glyph.ToString"> - <summary> - Describes this Glyph object. - </summary> - <returns>Returns a System.String describing this Glyph.</returns> - </member> - <member name="M:OpenTK.Graphics.Text.Glyph.GetHashCode"> - <summary> - Calculates the hashcode for this Glyph. - </summary> - <returns>A System.Int32 containing a hashcode that uniquely identifies this Glyph.</returns> - </member> - <member name="P:OpenTK.Graphics.Text.Glyph.Character"> - <summary> - Gets the character represented by this Glyph. - </summary> - </member> - <member name="P:OpenTK.Graphics.Text.Glyph.Font"> - <summary> - Gets the Font of this Glyph. - </summary> - </member> - <member name="M:OpenTK.Graphics.Text.GlyphPacker.TryAdd(System.Drawing.Rectangle,System.Drawing.Rectangle@)"> - <summary> - Adds boundingBox to the GlyphPacker. - </summary> - <param name="boundingBox">The bounding box of the item to pack.</param> - <param name="packedRectangle">The System.Drawing.Rectangle that contains the position of the packed item.</param> - <returns>True, if the item was successfully packed; false if the item is too big for this packer..</returns> - <exception cref="T:System.InvalidOperationException">Occurs if the item is larger than the available TexturePacker area</exception> - <exception cref="T:OpenTK.Graphics.Text.TexturePackerFullException">Occurs if the item cannot fit in the remaining packer space.</exception> - </member> - <member name="M:OpenTK.Graphics.Text.GlyphPacker.TryAdd(System.Drawing.RectangleF,System.Drawing.RectangleF@)"> - <summary> - Adds boundingBox to the GlyphPacker. - </summary> - <param name="boundingBox">The bounding box of the item to pack.</param> - <param name="packedRectangle">The System.Drawing.RectangleF that contains the position ... [truncated message content] |
From: <ka...@us...> - 2009-10-24 01:51:06
|
Revision: 1067 http://agate.svn.sourceforge.net/agate/?rev=1067&view=rev Author: kanato Date: 2009-10-24 01:50:56 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Create branch for update to opentk 0.9.9. Added Paths: ----------- branches/otkupdate/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-24 01:49:51
|
Revision: 1066 http://agate.svn.sourceforge.net/agate/?rev=1066&view=rev Author: kanato Date: 2009-10-24 01:49:42 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Visual studio automatic changes Modified Paths: -------------- trunk/Examples/Examples.sln Modified: trunk/Examples/Examples.sln =================================================================== --- trunk/Examples/Examples.sln 2009-10-24 00:53:43 UTC (rev 1065) +++ trunk/Examples/Examples.sln 2009-10-24 01:49:42 UTC (rev 1066) @@ -1,22 +1,20 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "..\Drivers\AgateDrawing\AgateDrawing.csproj", "{C0C7498B-0000-0000-0000-000000000000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateDrawing", "..\Drivers\AgateDrawing\AgateDrawing.csproj", "{E9A68475-55E0-4B16-9E68-DE31596C8B81}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "..\Drivers\AgateOTK\AgateOTK.csproj", "{CAB8A0C1-0000-0000-0000-000000000000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateOTK", "..\Drivers\AgateOTK\AgateOTK.csproj", "{5FB3675B-5389-4A1E-89A6-059665C2555B}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Pong", "Pong\Pong.csproj", "{436641C4-846C-42D0-8E8F-95F70E211D22}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BallBuster.Net", "BallBuster.Net\BallBuster.Net.csproj", "{DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "..\AgateLib\AgateLib.csproj", "{198C4842-0000-0000-0000-000000000000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib", "..\AgateLib\AgateLib.csproj", "{5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "..\Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{8C84DA52-0000-0000-0000-000000000000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateLib.WinForms", "..\Drivers\AgateLib.WinForms\AgateLib.WinForms.csproj", "{CD71274E-9AF0-42FC-ADC8-FE35D3274C61}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "..\Drivers\AgateSDL\AgateSDL.csproj", "{59265711-0000-0000-0000-000000000000}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateSDL", "..\Drivers\AgateSDL\AgateSDL.csproj", "{4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AgateMDX", "..\Drivers\AgateMDX\AgateMDX.csproj", "{E1F85711-0000-0000-0000-000000000000}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ShootTheTraps", "ShootTheTraps\ShootTheTraps.csproj", "{50743D1B-A19E-42F1-842F-65FAD6D168C3}" EndProject Global @@ -25,14 +23,14 @@ Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C0C7498B-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C0C7498B-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C0C7498B-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C0C7498B-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU - {CAB8A0C1-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {CAB8A0C1-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {CAB8A0C1-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {CAB8A0C1-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU + {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Debug|Any CPU.Build.0 = Debug|Any CPU + {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Release|Any CPU.ActiveCfg = Release|Any CPU + {E9A68475-55E0-4B16-9E68-DE31596C8B81}.Release|Any CPU.Build.0 = Release|Any CPU + {5FB3675B-5389-4A1E-89A6-059665C2555B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5FB3675B-5389-4A1E-89A6-059665C2555B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5FB3675B-5389-4A1E-89A6-059665C2555B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5FB3675B-5389-4A1E-89A6-059665C2555B}.Release|Any CPU.Build.0 = Release|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Debug|Any CPU.Build.0 = Debug|Any CPU {436641C4-846C-42D0-8E8F-95F70E211D22}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -41,22 +39,18 @@ {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Debug|Any CPU.Build.0 = Debug|Any CPU {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Release|Any CPU.ActiveCfg = Release|Any CPU {DD3CF4AA-02CC-4881-AFB1-6F10DFA1F8AF}.Release|Any CPU.Build.0 = Release|Any CPU - {198C4842-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {198C4842-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {198C4842-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {198C4842-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU - {8C84DA52-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {8C84DA52-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {8C84DA52-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {8C84DA52-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU - {59265711-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {59265711-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {59265711-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {59265711-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU - {E1F85711-0000-0000-0000-000000000000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {E1F85711-0000-0000-0000-000000000000}.Debug|Any CPU.Build.0 = Debug|Any CPU - {E1F85711-0000-0000-0000-000000000000}.Release|Any CPU.ActiveCfg = Release|Any CPU - {E1F85711-0000-0000-0000-000000000000}.Release|Any CPU.Build.0 = Release|Any CPU + {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5BE2B3C1-F0A0-4732-9499-41AE50CC4C48}.Release|Any CPU.Build.0 = Release|Any CPU + {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Debug|Any CPU.Build.0 = Debug|Any CPU + {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Release|Any CPU.ActiveCfg = Release|Any CPU + {CD71274E-9AF0-42FC-ADC8-FE35D3274C61}.Release|Any CPU.Build.0 = Release|Any CPU + {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4B32A21B-A492-4F00-87EB-1A7BB4BDC1C1}.Release|Any CPU.Build.0 = Release|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Debug|Any CPU.Build.0 = Debug|Any CPU {50743D1B-A19E-42F1-842F-65FAD6D168C3}.Release|Any CPU.ActiveCfg = Release|Any CPU This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ka...@us...> - 2009-10-24 00:53:50
|
Revision: 1065 http://agate.svn.sourceforge.net/agate/?rev=1065&view=rev Author: kanato Date: 2009-10-24 00:53:43 +0000 (Sat, 24 Oct 2009) Log Message: ----------- Remove really old branches Removed Paths: ------------- branches/agate-3d/ branches/gui/ branches/merge-tests/ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ac...@us...> - 2009-10-21 10:34:08
|
Revision: 1064 http://agate.svn.sourceforge.net/agate/?rev=1064&view=rev Author: accagon Date: 2009-10-21 10:33:59 +0000 (Wed, 21 Oct 2009) Log Message: ----------- merge branches/particles into trunk Modified Paths: -------------- trunk/AgateLib/Sprites/Sprite.cs Added Paths: ----------- trunk/AgateLib/Particles/ trunk/AgateLib/Particles/Emitters/ trunk/AgateLib/Particles/Emitters/PixelEmitter.cs trunk/AgateLib/Particles/Emitters/SpriteEmitter.cs trunk/AgateLib/Particles/Emitters/SurfaceEmitter.cs trunk/AgateLib/Particles/Manipulators/ trunk/AgateLib/Particles/Manipulators/FadeOutManipulator.cs trunk/AgateLib/Particles/Manipulators/GravityManipulator.cs trunk/AgateLib/Particles/Manipulators/GravityPointManipulator.cs trunk/AgateLib/Particles/Particle.cs trunk/AgateLib/Particles/ParticleEmitter.cs trunk/AgateLib/Particles/Particles/ trunk/AgateLib/Particles/Particles/PixelParticle.cs trunk/AgateLib/Particles/Particles/SpriteParticle.cs trunk/AgateLib/Particles/Particles/SurfaceParticle.cs trunk/Tests/Data/smoke.png trunk/Tests/Data/smoke2.png trunk/Tests/DisplayTests/ParticleTests/ trunk/Tests/DisplayTests/ParticleTests/ParticleTests.cs Added: trunk/AgateLib/Particles/Emitters/PixelEmitter.cs =================================================================== --- trunk/AgateLib/Particles/Emitters/PixelEmitter.cs (rev 0) +++ trunk/AgateLib/Particles/Emitters/PixelEmitter.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,197 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using System.Linq; +using System.Collections.Generic; + +using AgateLib.DisplayLib; +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// A pixel particle emitter. + /// Optimized for pixel rendering. + /// </summary> + public class PixelEmitter : ParticleEmitter + { + private Color mEmitColor = Color.White; + + private float time = 0f; + + private Surface mSurface; + + /// <value> + /// Gets or sets the emit color. + /// </value> + public Color EmitColor + { + get { return mEmitColor; } + set { mEmitColor = value; } + } + + /// <value> + /// Gets or sets the pixel size. + /// </value> + public Size PixelSize + { + get { return mSurface.DisplaySize; } + set { mSurface = new Surface(FillSurface(value, Color.White)); } + } + + /// <summary> + /// Constructs a pixel particle emitter. + /// </summary> + /// <param name="color">Emit color.</param> + /// <param name="position">Position of the emitter.</param> + public PixelEmitter(Vector2 position, Color color) + { + Position = position; + mEmitColor = color; + mSurface = new Surface(FillSurface(new Size(1,1), Color.White)); + } + + private static PixelBuffer FillSurface(Size size, Color color) + { + PixelBuffer pb = new PixelBuffer(PixelFormat.ARGB8888, size); + int ii = 0; + for(int i = 0; i < pb.Width; i++) + { + for(ii = 0;ii <pb.Height; ii++) + { + pb.SetPixel(i, ii, color); + } + } + return pb; + } + + /// <summary> + /// Constructs a pixel particle emitter. + /// </summary> + /// <param name="position"></param> + /// <param name="color"></param> + /// <param name="emitLife"></param> + public PixelEmitter(Vector2 position, Color color, float emitLife) : this(position, color) + { + base.EmitLife = emitLife; + } + + /// <summary> + /// Constructs a pixel particle emitter. + /// </summary> + /// <param name="position">Position of the emitter.</param> + /// <param name="color">Emit color.</param> + /// <param name="maxParticles">Maximum amount of particles.</param> + public PixelEmitter(Vector2 position, Color color, int maxParticles) : this(position, color) + { + Particles = new List<Particle>(maxParticles); + } + + /// <summary> + /// Constructs a pixel particle emitter. + /// </summary> + /// <param name="position"></param> + /// <param name="color"></param> + /// <param name="maxParticles"></param> + /// <param name="emitLife"></param> + public PixelEmitter(Vector2 position, Color color, int maxParticles, float emitLife) : this(position, color, maxParticles) + { + base.EmitLife = emitLife; + } + + /// <summary>s + /// Overridden Draw method. + /// Draws each living particle. + /// </summary> + public override void Draw () + { + foreach(PixelParticle ptl in Particles) + { + if(ptl.Condition == Condition.Alive || ptl.Condition == Condition.Frozen) + { + mSurface.Color = ptl.Color; + mSurface.Draw(ptl.Position); + } + } + } + + /// <summary> + /// Overridden Update mehtod. + /// Emits particles based on the frequency property. + /// Updates the emitter position. + /// Calls particle manipulators to manipulate particles. + /// </summary> + /// <param name="time_ms">Time in milliseconds.</param> + public override void Update (double time_ms) + { + time += (float)time_ms; + float frequency = EmitFrequency*1000; + + while(time >= frequency) + { + //int index = Particles.IndexOf(Particles.FirstOrDefault(pt => pt.IsAlive == false)); + int index = -1; + for (int i = 0; i < Particles.Count; i++) + { + if (Particles[i].IsAlive == false) + { + index = i; + break; + } + } + + if(index > -1) + { + // Recycle a dead particle + Particles[index].Acceleration = EmitAcceleration; + (Particles[index] as PixelParticle).Color = EmitColor; + Particles[index].Condition = Condition.Alive; + Particles[index].Life = EmitLife; + Particles[index].Position = Position; + Particles[index].Velocity = EmitVelocity; + NewRecyledParticle(Particles[index]); + } + else if(Particles.Count < Particles.Capacity) + { + // Add a new particle + PixelParticle pp = new PixelParticle(EmitColor); + pp.Acceleration = EmitVelocity; + pp.Color = EmitColor; + pp.Condition = Condition.Alive; + pp.Life = EmitLife; + pp.Position = Position; + pp.Velocity = EmitVelocity; + NewParticle(pp); + Particles.Add(pp); + } + else + { + // No capacity left and no dead particles to recycle + time = 0; + break; + } + + time -= frequency; + } + + // updates own position, particle positions and calls manipulators + base.Update (time_ms); + } + } +} Added: trunk/AgateLib/Particles/Emitters/SpriteEmitter.cs =================================================================== --- trunk/AgateLib/Particles/Emitters/SpriteEmitter.cs (rev 0) +++ trunk/AgateLib/Particles/Emitters/SpriteEmitter.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,226 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using System.Linq; +using System.Collections.Generic; + +using AgateLib.DisplayLib; +using AgateLib.Geometry; +using AgateLib.Sprites; + +namespace AgateLib.Particles +{ + /// <summary> + /// Emitter class optimized for simulating sprite particles. + /// </summary> + public class SpriteEmitter : ParticleEmitter + { + private List<Sprite> mSprites = new List<Sprite>(); + + private int mEmitSpriteKey; + private double mEmitAlpha = 1d; + + private float time; + + /// <value> + /// Gets or sets the alpha channel of emitting <see cref="SpriteParticle"/>s. + /// </value> + public double EmitAlpha + { + get { return mEmitAlpha; } + set { mEmitAlpha = value; } + } + + /// <value> + /// Gets or sets the SpriteKey of emitting <see cref="SpriteParticle"/>s. + /// </value> + public int EmitSpriteKey + { + get { return mEmitSpriteKey; } + set { mEmitSpriteKey = value; } + } + + /// <summary> + /// Constructs a SpriteEmitter with default values: + /// EmitLife = 1f, maxParticle = 1000, emitSpriteKey = 0 + /// </summary> + /// <param name="position"></param> + public SpriteEmitter(Vector2 position) : this(position, 1f, 1000, 0) {} + + /// <summary> + /// Constructs a SpriteEmitter with default values: + /// maxParticle = 1000, emitSpriteKey = 0 + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + public SpriteEmitter(Vector2 position, float emitLife) : this(position, emitLife, 1000, 0) {} + + /// <summary> + /// Constructs a SpriteEmitter with default values: + /// emitSpriteKey = 0 + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + /// <param name="maxParticle"></param> + public SpriteEmitter(Vector2 position, float emitLife, int maxParticle) : this(position, emitLife, maxParticle, 0) {} + + /// <summary> + /// Constructs a SpriteEmitter. + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + /// <param name="maxParticle"></param> + /// <param name="emitSpriteKey"></param> + public SpriteEmitter(Vector2 position, float emitLife, int maxParticle, int emitSpriteKey) + { + base.Position = position; + base.EmitLife = emitLife; + base.Particles = new List<Particle>(maxParticle); + mEmitSpriteKey = emitSpriteKey; + } + + /// <summary> + /// Gets a stored <see cref="Sprite"/> by key. + /// </summary> + /// <param name="key"></param> + /// <returns></returns> + public Sprite GetSpriteByKey(int key) + { + return mSprites[key]; + } + + /// <summary> + /// Adds a <see cref="Sprite"/> to the storage. + /// </summary> + /// <param name="sprite"></param> + /// <returns>Returns the key related to the stored <see cref="Sprite"/>.</returns> + public int AddSprite(Sprite sprite) + { + int index = mSprites.Count; + mSprites.Insert(index, sprite); + return index; + } + + /// <summary>s + /// Overridden Draw method. + /// Draws each living particle. + /// </summary> + public override void Draw () + { + foreach(SpriteParticle sp in base.Particles) + { + if(sp.Condition == Condition.Alive || sp.Condition == Condition.Frozen) + { + mSprites[sp.SpriteKey].CurrentFrameIndex = sp.Frame; + mSprites[sp.SpriteKey].Alpha = sp.Alpha; + mSprites[sp.SpriteKey].Draw(sp.Position); + } + } + } + + /// <summary> + /// Overridden Update mehtod. + /// Emits particles based on the frequency property. + /// Updates the emitter position. + /// Calls particle manipulators to manipulate particles. + /// Updates the animation of each <see cref="Sprite"/>. + /// </summary> + /// <param name="time_ms">Time in milliseconds.</param> + public override void Update (double time_ms) + { + time += (float)time_ms; + float frequency = EmitFrequency*1000; + + while(time >= frequency) + { + //int index = Particles.IndexOf(Particles.FirstOrDefault(pt => pt.IsAlive == false)); + int index = -1; + for (int i = 0; i < Particles.Count; i++) + { + if (Particles[i].IsAlive == false) + { + index = i; + break; + } + } + + if(index > -1) + { + // Recycle a dead particle + Particles[index].Acceleration = EmitAcceleration; + (Particles[index] as SpriteParticle).SpriteKey = mEmitSpriteKey; + (Particles[index] as SpriteParticle).Alpha = mEmitAlpha; + (Particles[index] as SpriteParticle).Frame = 0; + (Particles[index] as SpriteParticle).FrameTime = 0d; + Particles[index].Condition = Condition.Alive; + Particles[index].Life = EmitLife; + Particles[index].Position = Position; + Particles[index].Velocity = EmitVelocity; + NewRecyledParticle(Particles[index]); + } + else if(Particles.Count < Particles.Capacity) + { + // Add a new particle + SpriteParticle sp = new SpriteParticle(); + sp.Acceleration = EmitAcceleration; + sp.SpriteKey = mEmitSpriteKey; + sp.Alpha = mEmitAlpha; + sp.Frame = 0; + sp.FrameTime = 0d; + sp.Condition = Condition.Alive; + sp.Life = EmitLife; + sp.Position = Position; + sp.Velocity = EmitVelocity; + NewParticle(sp); + Particles.Add(sp); + } + else + { + // No capacity left and no dead particles to recycle + time = 0; + break; + } + time -= frequency; + } + + // Update animation + foreach(SpriteParticle sp in Particles) + { + if(mSprites[sp.SpriteKey].Frames.Count <= 1) + { + sp.SpriteKey = 0; + continue; + } + sp.FrameTime += time_ms/1000; + while (sp.FrameTime >= mSprites[sp.SpriteKey].TimePerFrame) + { + sp.FrameTime -= mSprites[sp.SpriteKey].TimePerFrame; + if(mSprites[sp.SpriteKey].PlayReverse) + sp.Frame--; + else + sp.Frame++; + // TODO: Handle AnimationType + } + } + + // updates own position, particle positions and calls manipulators + base.Update (time_ms); + } + } +} Added: trunk/AgateLib/Particles/Emitters/SurfaceEmitter.cs =================================================================== --- trunk/AgateLib/Particles/Emitters/SurfaceEmitter.cs (rev 0) +++ trunk/AgateLib/Particles/Emitters/SurfaceEmitter.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,235 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using System.Linq; +using System.Collections.Generic; + +using AgateLib.Geometry; +using AgateLib.DisplayLib; + +namespace AgateLib.Particles +{ + /// <summary> + /// A surface emitter. + /// Optimized for emitting and rendering surface based particles. + /// </summary> + public class SurfaceEmitter : ParticleEmitter + { + private List<Surface> mSurfaces = new List<Surface>(); + + private int mEmitSurfaceKey; + + private float time; + + private double mEmitAlpha = 1d; + + private SizeF mEmitScale = new SizeF(1f, 1f); + + /// <value> + /// Gets or sets the scale width of emitting particles. + /// </value> + public float EmitScaleWidth + { + get { return mEmitScale.Width; } + set { mEmitScale.Width = value; } + } + + /// <value> + /// Gets or sets the scale height of emitting particles. + /// </value> + public float EmitScaleHeight + { + get { return mEmitScale.Height; } + set { mEmitScale.Height = value; } + } + + /// <value> + /// Gets or sets the scale of emitting particles. + /// </value> + public SizeF EmitScale + { + get { return mEmitScale; } + set { mEmitScale = value; } + } + + /// <value> + /// Gets or sets the alpha channel of emitting particles. + /// </value> + public double EmitAlpha + { + get { return EmitAlpha; } + set { mEmitAlpha = value; } + } + + /// <value> + /// Gets or sets the SurfaceKey of the emitting particles. + /// </value> + public int EmitSurfaceKey + { + get { return mEmitSurfaceKey; } + set { mEmitSurfaceKey = value; } + } + + /// <summary> + /// Constructs a SurfaceEmitter with default values: + /// EmitLife = 1f, maxParticle = 1000, emitSurfaceKey = 0 + /// </summary> + /// <param name="position"></param> + public SurfaceEmitter(Vector2 position) : this(position, 1f, 1000, 0) {} + + /// <summary> + /// Constructs a SurfaceEmitter with default values: + /// maxParticle = 1000, emitSurfaceKey = 0 + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + public SurfaceEmitter(Vector2 position, float emitLife) : this(position, emitLife, 1000, 0) {} + + /// <summary> + /// Constructs a SurfaceEmitter with default values: + /// emitSurfaceKey = 0 + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + /// <param name="maxParticle"></param> + public SurfaceEmitter(Vector2 position, float emitLife, int maxParticle) : this(position, emitLife, maxParticle, 0) {} + + /// <summary> + /// Constructs a SurfaceEmitter. + /// </summary> + /// <param name="position"></param> + /// <param name="emitLife"></param> + /// <param name="maxParticle"></param> + /// <param name="emitSurfaceKey"></param> + public SurfaceEmitter(Vector2 position, float emitLife, int maxParticle, int emitSurfaceKey) + { + base.Position = position; + base.EmitLife = emitLife; + base.Particles = new List<Particle>(maxParticle); + mEmitSurfaceKey = emitSurfaceKey; + } + + /// <summary> + /// Gets surface by key from storage. + /// </summary> + /// <param name="key">Surface key</param> + /// <returns></returns> + public Surface GetSurfaceByKey(int key) + { + return mSurfaces[key]; + } + + /// <summary> + /// Adds a surface to the storage. + /// </summary> + /// <param name="image"></param> + /// <returns>Returns the key where the surface is stored.</returns> + public int AddSurface(Surface image) + { + int index = mSurfaces.Count; + mSurfaces.Insert(index, image); + return index; + } + + /// <summary> + /// Overridden Update mehtod. + /// Emits particles based on the frequency property. + /// Updates the emitter position. + /// Calls particle manipulators to manipulate particles. + /// </summary> + /// <param name="time_ms">Time in milliseconds.</param> + public override void Update (double time_ms) + { + time += (float)time_ms; + float frequency = EmitFrequency*1000; + + while(time >= frequency) + { + //int index = Particles.IndexOf(Particles.FirstOrDefault(pt => pt.IsAlive == false)); + int index = -1; + for (int i = 0; i < Particles.Count; i++) + { + if (Particles[i].IsAlive == false) + { + index = i; + break; + } + } + + if(index > -1) + { + // Recycle a dead particle + Particles[index].Acceleration = EmitAcceleration; + (Particles[index] as SurfaceParticle).SurfaceKey = mEmitSurfaceKey; + (Particles[index] as SurfaceParticle).Alpha = mEmitAlpha; + (Particles[index] as SurfaceParticle).Scale = mEmitScale; + Particles[index].Condition = Condition.Alive; + Particles[index].Life = EmitLife; + Particles[index].Position = Position; + Particles[index].Velocity = EmitVelocity; + NewRecyledParticle(Particles[index]); + } + else if(Particles.Count < Particles.Capacity) + { + // Add a new particle + SurfaceParticle sp = new SurfaceParticle(); + sp.Acceleration = EmitAcceleration; + sp.SurfaceKey = mEmitSurfaceKey; + sp.Alpha = mEmitAlpha; + sp.Scale = mEmitScale; + sp.Condition = Condition.Alive; + sp.Life = EmitLife; + sp.Position = Position; + sp.Velocity = EmitVelocity; + NewRecyledParticle(sp); + Particles.Add(sp); + } + else + { + // No capacity left and no dead particles to recycle + time = 0; + break; + } + + time -= frequency; + } + + // updates own position, particle positions and calls manipulators + base.Update (time_ms); + } + + /// <summary>s + /// Overridden Draw method. + /// Draws each living particle. + /// </summary> + public override void Draw () + { + foreach(SurfaceParticle sp in Particles) + { + if(sp.Condition == Condition.Alive || sp.Condition == Condition.Frozen) + { + mSurfaces[sp.SurfaceKey].ScaleHeight = sp.ScaleHeight; + mSurfaces[sp.SurfaceKey].ScaleWidth = sp.ScaleWidth; + mSurfaces[sp.SurfaceKey].Alpha = sp.Alpha; + mSurfaces[sp.SurfaceKey].Draw(sp.Position); + } + } + } + } +} Added: trunk/AgateLib/Particles/Manipulators/FadeOutManipulator.cs =================================================================== --- trunk/AgateLib/Particles/Manipulators/FadeOutManipulator.cs (rev 0) +++ trunk/AgateLib/Particles/Manipulators/FadeOutManipulator.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,138 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; + +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// Fades out particles by changing the alpha channel. + /// Works with <see cref="PixelEmitter"/>, <see cref="SurfaceEmitter"/> and <see cref="SpriteEmitter"/>. + /// </summary> + public class FadeOutManipulator + { + private float mLifeBarrier = 1f; + private float mAlphaAmount = 0.5f; + + private int fadeout = 0; + + private bool mRecyleInvisible = true; + + /// <value> + /// Gets or sets if invisible particles should be recyled. + /// </value> + public bool RecyleInvisible + { + get { return mRecyleInvisible; } + set { mRecyleInvisible = value; } + } + + /// <value> + /// Gets or sets the life barrier at which the particle should fade out. + /// </value> + public float LifeBarrier + { + get { return mLifeBarrier; } + set { mLifeBarrier = value; } + } + + /// <value> + /// Gets or sets the amount of alpha which will be reduced. + /// </value> + public float AlphaAmount + { + get { return mAlphaAmount; } + set { mAlphaAmount = value; } + } + + /// <summary> + /// Constructs a FadeOutManipulator. + /// </summary> + /// <param name="lifeBarrier">The barrier at which the particles will be faded out</param> + /// <param name="alphaAmount">The amount of alpha wich will be reduced.</param> + public FadeOutManipulator(float lifeBarrier, float alphaAmount) + { + mLifeBarrier = lifeBarrier; + mAlphaAmount = alphaAmount; + } + + void HandleOnUpdate(UpdateArgs args) + { + Type emitterType = args.Emitter.GetType(); + double time = args.Time_ms/1000; + + if(emitterType == typeof(PixelEmitter)) + { + foreach(PixelParticle pt in args.Emitter.Particles) + { + if(pt.Condition == Condition.Alive && pt.Life <= LifeBarrier) + { + fadeout = pt.Color.A - (int)(255 * mAlphaAmount * time); + pt.Color = Color.FromArgb(fadeout, pt.Color); + if(mRecyleInvisible == true && pt.Color.A == 0) + pt.Condition = Condition.Dead; + } + } + } + else if (emitterType == typeof(SurfaceEmitter)) + { + foreach(SurfaceParticle sp in args.Emitter.Particles) + { + if(sp.Condition == Condition.Alive && sp.Life <= LifeBarrier) + { + sp.Alpha -= mAlphaAmount * time; + if(mRecyleInvisible == true && sp.Alpha == 0) + sp.Condition = Condition.Dead; + } + } + } + else if (emitterType == typeof(SpriteEmitter)) + { + foreach(SpriteParticle sp in args.Emitter.Particles) + { + if(sp.Condition == Condition.Alive && sp.Life <= LifeBarrier) + { + sp.Alpha -= mAlphaAmount * time; + if(mRecyleInvisible == true && sp.Alpha == 0) + sp.Condition = Condition.Dead; + } + } + } + } + + /// <summary> + /// Subscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void SubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate += HandleOnUpdate; + } + + /// <summary> + /// Unsubscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void UnSubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate -= HandleOnUpdate; + } + } +} Added: trunk/AgateLib/Particles/Manipulators/GravityManipulator.cs =================================================================== --- trunk/AgateLib/Particles/Manipulators/GravityManipulator.cs (rev 0) +++ trunk/AgateLib/Particles/Manipulators/GravityManipulator.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,82 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using System.Collections.Generic; + +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// A gravity particle manipulator. + /// </summary> + public class GravityManipulator + { + private Vector2 mGravity = Vector2.Empty; + + /// <value> + /// Gets or sets the gravity strength and direction. + /// </value> + public Vector2 Gravity + { + get { return mGravity; } + set { mGravity = value; } + } + + /// <summary> + /// Constructs a gravitiy manipulator. + /// </summary> + /// <param name="gravity">Gravity strength and direction.</param> + public GravityManipulator(Vector2 gravity) + { + mGravity = gravity; + } + + void HandleOnUpdate(UpdateArgs args) + { + foreach(Particle pt in args.Emitter.Particles) + { + if(pt.IsAlive == true) + { + pt.Acceleration = pt.Acceleration + Gravity * (float)args.Time_ms/1000; + // pt.Acceleration = pt.Acceleration + Position * Strength * args.Time_ms; + // pt.Velocity = pt.Velocity + Position * Strength * args.Time_ms; + } + } + } + + /// <summary> + /// Subscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void SubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate += HandleOnUpdate; + } + + /// <summary> + /// Unsubscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void UnSubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate -= HandleOnUpdate; + } + } +} Added: trunk/AgateLib/Particles/Manipulators/GravityPointManipulator.cs =================================================================== --- trunk/AgateLib/Particles/Manipulators/GravityPointManipulator.cs (rev 0) +++ trunk/AgateLib/Particles/Manipulators/GravityPointManipulator.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,129 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// + +using System; +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// A point gravity particle manipulator. + /// </summary> + public class GravityPointManipulator + { + private Vector2 mPosition; + private float mForce; + private float mRange; + + /// <summary> + /// Gets or sets the position of the point gravity. + /// </summary> + public Vector2 Position { + get { return mPosition; } + set { mPosition = value; } + } + + /// <summary> + /// Gets or sets the gravity force. + /// </summary> + public float Force { + get { return mForce; } + set { mForce = value; } + } + + /// <summary> + /// Gets or sets the range of the gravity impact. + /// A value of 0 means the gravity is disabled. + /// A value lower than 0 means the gravity has impact on all registered particles. + /// </summary> + public float Range { + get { return mRange; } + set { mRange = value; } + } + + + /// <summary> + /// Constructs a GravityPointManipulator with global gravity. + /// </summary> + /// <param name="position">The position of the point gravity.</param> + /// <param name="force">The gravity force.</param> + public GravityPointManipulator (Vector2 position, float force) + { + mPosition = position; + mForce = force; + mRange = -1; + } + + /// <summary> + /// Constructs a GravityPointManipulator. + /// </summary> + /// <param name="position">The position of the point gravity.</param> + /// <param name="force">The gravity force.</param> + /// <param name="range">The range of the gravity impact.</param> + public GravityPointManipulator (Vector2 position, float force, float range) + { + mPosition = position; + mForce = force; + mRange = range; + } + + void HandleOnUpdate (UpdateArgs args) + { + Vector2 way; + if(Range < 0) // global effect on all registered particles + { + foreach(Particle particle in args.Emitter.Particles) + { + way = particle.Position - Position; + particle.Velocity += way.Normalize() * Force; + } + } + else if (Range > 0) // only particles in range are effected + { + foreach(Particle particle in args.Emitter.Particles) + { + if(Vector2.DistanceBetween(particle.Position, Position) <= Range) + { + way = particle.Position - Position; + particle.Velocity += way.Normalize() * Force; + } + } + } + // Range == 0 means no gravity impact + } + + /// <summary> + /// Subscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void SubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate += HandleOnUpdate; + } + + /// <summary> + /// Unsubscribe to a particle emitter. + /// </summary> + /// <param name="emitter"></param> + public void UnSubscribeToEmitter (ParticleEmitter emitter) + { + emitter.OnUpdate -= HandleOnUpdate; + } + } +} \ No newline at end of file Added: trunk/AgateLib/Particles/Particle.cs =================================================================== --- trunk/AgateLib/Particles/Particle.cs (rev 0) +++ trunk/AgateLib/Particles/Particle.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,156 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; + +using AgateLib.DisplayLib; +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// Base class for particles. + /// </summary> + public class Particle + { + private float mLife = 10f; + private Condition mCondition = Condition.Paused; + + private Vector2 mAcceleration = Vector2.Empty; + private Vector2 mPosition = Vector2.Empty; + private Vector2 mVelocity = Vector2.Empty; + + /// <value> + /// Gets or sets the life. + /// Life is stored in seconds. + /// </value> + public float Life + { + get { return mLife; } + set { mLife = value; } + } + + /// <value> + /// Is particle alive. + /// </value> + public bool IsAlive + { + get { + if(mCondition == Condition.Dead) + return false; + else + return true; + } + } + + /// <value> + /// Gets or sets the condition. + /// </value> + public Condition Condition + { + get { return mCondition; } + set { mCondition = value; } + } + + /// <value> + /// Gets or sets the acceleration. + /// </value> + public Vector2 Acceleration + { + get { return mAcceleration; } + set { mAcceleration = value; } + } + + /// <value> + /// Gets or sets the position. + /// </value> + public Vector2 Position + { + get { return mPosition; } + set { mPosition = value; } + } + + /// <value> + /// Gets or sets the velocity. + /// </value> + public Vector2 Velocity + { + get { return mVelocity; } + set { mVelocity = value; } + } + + /// <summary> + /// Updates the particle. + /// </summary> + /// <param name="time_ms"> + /// Passed time in milliseconds since last update. + /// </param> + public virtual void Update(double time_ms) + { + // If the particle is not alive don't simulate + if(mCondition != Condition.Alive) + return; + + // passed time in seconds + float time = (float)time_ms/1000; + mLife -= time; + + if(mLife <= 0) + { + mCondition = Condition.Dead; + } + + // Euler method + // v = v + a * dt + // x = x + v * dt + mVelocity = mVelocity + mAcceleration * time; + mPosition = mPosition + mVelocity * time; + + // verlet integration + // xi+1 = xi + (xi - xi-1) + a * dt * dt + // mPosition = mPosition + (mPosition + mPosition - 1) + mAcceleration * time * time; + + // timer correct verlet integration + // xi+1 = xi + (xi - xi-1) * (dti / dti-1) + a * dti * dti + // mPosition = mPosition + (mPosition - mPosition - 1) * (time / time - 1) + mAcceleration * time * time; + } + } + + /// <summary> + /// Describes the condition of an Particle + /// </summary> + public enum Condition + { + /// <summary> + /// Particle is alive and will be simulated. + /// </summary> + Alive, + /// <summary> + /// Particle is dead and is ready to get recycled. + /// </summary> + Dead, + /// <summary> + /// Particle is paused and will not be simulated. + /// </summary> + Paused, + /// <summary> + /// Particle is frozen and will not be simulated but drawn. + /// </summary> + Frozen + } +} Added: trunk/AgateLib/Particles/ParticleEmitter.cs =================================================================== --- trunk/AgateLib/Particles/ParticleEmitter.cs (rev 0) +++ trunk/AgateLib/Particles/ParticleEmitter.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,250 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using System.Collections.Generic; + +using AgateLib.DisplayLib; +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// Base class for particle emitters. + /// </summary> + /// <example>This sample shows how to extend the <see cref="ParticleEmitter"/> class. + /// <code> + /// class TestClass : ParticleEmitter + /// { + /// public override void Draw () + /// { + /// foreach(PixelParticle ptl in Particles) + /// { + /// Display.DrawEllipse(new Rectangle(0, 0, 2, 2), Color.White); + /// } + /// } + /// } + /// </code> + /// </example> + /// </summary> + public abstract class ParticleEmitter : Particle + { + private List<Particle> mParticles = new List<Particle>(); + + private float mEmitLife = 1f; + + // 1 = emit each second a particle + // 2 = emit every two seconds + private float mEmitFrequency = 1f; + + private Vector2 mEmitAcceleration = Vector2.Empty; + private Vector2 mEmitVelocity = Vector2.Empty; + + /// <value> + /// Gets or sets the particles. + /// </value> + public List<Particle> Particles + { + get { return mParticles; } + set { mParticles = value; } + } + + /// <value> + /// Gets or sets the life of particles which will be emitted in future in seconds. + /// </value> + public float EmitLife + { + get { return mEmitLife; } + set { mEmitLife = value; } + } + + /// <value> + /// Gets or sets the emit frequency in seconds. + /// </value> + public float EmitFrequency + { + get { return mEmitFrequency; } + set { mEmitFrequency = value; } + } + + /// <value> + /// Gets or sets the emit acceleration. + /// </value> + public Vector2 EmitAcceleration + { + get { return mEmitAcceleration; } + set { mEmitAcceleration = value; } + } + + /// <value> + /// Gets or sets the emit velocity. + /// </value> + public Vector2 EmitVelocity + { + get { return mEmitVelocity; } + set { mEmitVelocity = value; } + } + + /// <summary> + /// Draws each particle. + /// </summary> + public abstract void Draw (); + + /// <summary> + /// Overridden update method. + /// Updates and manipulates each particle. + /// </summary> + /// <param name="time_ms"> + /// Passed time in milliseconds since last update. + /// </param> + public override void Update (double time_ms) + { + if ( OnUpdate != null) + OnUpdate(new UpdateArgs(this, time_ms)); + + foreach(Particle pt in Particles) + { + pt.Update(time_ms); + } + //Updates itself + base.Update (time_ms); + } + + public delegate void ParticleEventHandler(object sender, ParticleArgs args); + public event ParticleEventHandler OnNewParticle; + public event ParticleEventHandler OnDeadParticle; + public event ParticleEventHandler OnRecyledParticle; + + /// <summary> + /// Triggers a new <see cref="OnNewParticle"/> event. + /// </summary> + /// <param name="particle"> + /// A newly created particle. + /// </param> + protected void NewParticle(Particle particle) + { + if(OnNewParticle != null) + OnNewParticle(this, new ParticleArgs(particle)); + } + + /// <summary> + /// Triggers a new <see cref="OnDeadParticle"/> event. + /// </summary> + /// <param name="particle"> + /// Dead particle. + /// </param> + protected void NewDeadParticle(Particle particle) + { + if(OnDeadParticle != null) + OnDeadParticle(this, new ParticleArgs(particle)); + } + + /// <summary> + /// Triggers a new <see cref="OnRecyledParticle"/> event. + /// </summary> + /// <param name="particle"> + /// Recyled particle. + /// </param> + protected void NewRecyledParticle(Particle particle) + { + if(OnRecyledParticle != null) + OnRecyledParticle(this, new ParticleArgs(particle)); + } + + /// <summary> + /// Update event handler. + /// </summary> + public delegate void UpdateEventHandler(UpdateArgs args); + /// <summary> + /// The UpdateEvent is called then the ParticleEmitter begins to update. + /// The event is called in <see cref="ParticleEmitter.Update"/>. + /// </summary> + public event UpdateEventHandler OnUpdate; + + /// <summary> + /// Triggers a new <see cref="OnUpdate"/> event + /// </summary> + /// <param name="time_ms"> + /// Time in milliseconds. + /// </param> + protected void NewUpdate(double time_ms) + { + if(OnUpdate != null) + OnUpdate(new UpdateArgs(this, time_ms)); + } + } + + /// <summary> + /// Particle event args. + /// </summary> + public class ParticleArgs : EventArgs + { + /// <summary> + /// Constructs ParticleArgs. + /// </summary> + /// <param name="particle">Particle that changed condition.</param> + public ParticleArgs(Particle particle) + { + mParticle = particle; + } + + private Particle mParticle; + /// <value> + /// Particle that changed condition. + /// </value> + public Particle Particle + { + get{ return mParticle; } + } + } + + /// <summary> + /// Update event args. + /// </summary> + public class UpdateArgs : EventArgs + { + /// <summary> + /// Constructs UpdateArgs. + /// </summary> + /// <param name="emitter">Emitter that triggered the update event.</param> + /// <param name="time_ms">Passed time in milliseconds since last update.</param> + public UpdateArgs(ParticleEmitter emitter, double time_ms) + { + mEmitter = emitter; + mTime_ms = time_ms; + } + + private ParticleEmitter mEmitter; + /// <value> + /// Emitter that triggered the update event. + /// </value> + public ParticleEmitter Emitter + { + get { return mEmitter; } + } + + private double mTime_ms; + /// <value> + /// Passed time in milliseconds since last update. + /// </value> + public double Time_ms + { + get { return mTime_ms; } + } + } +} Added: trunk/AgateLib/Particles/Particles/PixelParticle.cs =================================================================== --- trunk/AgateLib/Particles/Particles/PixelParticle.cs (rev 0) +++ trunk/AgateLib/Particles/Particles/PixelParticle.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,53 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; + +using AgateLib.DisplayLib; +using AgateLib.Geometry; + +namespace AgateLib.Particles +{ + /// <summary> + /// A particle class which represents a particle with one colored pixels. + /// </summary> + public class PixelParticle : Particle + { + private Color mColor = Color.White; + + /// <value> + /// Gets or sets the color. + /// </value> + public Color Color + { + get { return mColor; } + set { mColor = value; } + } + + /// <summary> + /// Constructs a PixelParticle. + /// </summary> + /// <param name="color"> + /// The color of the particle. + /// </param> + public PixelParticle(Color color) + { + mColor = color; + } + } +} Added: trunk/AgateLib/Particles/Particles/SpriteParticle.cs =================================================================== --- trunk/AgateLib/Particles/Particles/SpriteParticle.cs (rev 0) +++ trunk/AgateLib/Particles/Particles/SpriteParticle.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,101 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; + +namespace AgateLib.Particles +{ + /// <summary> + /// A particle implementation for <see cref="Sprite"/>s. + /// </summary> + public class SpriteParticle : Particle + { + private int mSpriteKey; + private double mAlpha = 1d; + private int mFrame = 0; + private double mFrameTime = 0d; + + /// <value> + /// Gets or sets the sprite key. + /// </value> + public int SpriteKey + { + get { return mSpriteKey; } + set { mSpriteKey = value; } + } + + /// <value> + /// Gets or sets the alpha of the surface. + /// </value> + public double Alpha + { + get { return mAlpha; } + set { mAlpha = value; } + } + + /// <summary> + /// Gets or sets the current frame of the sprite. + /// </summary> + public int Frame + { + get { return mFrame; } + set { mFrame = value; } + } + + internal double FrameTime + { + get { return mFrameTime; } + set { mFrameTime = value; } + } + + /// <summary> + /// Constructs a SpriteParticle with the default value 0 for the spriteKey. + /// </summary> + public SpriteParticle() : this(0) {} + + /// <summary> + /// Constructs a SpriteParticle. + /// </summary> + /// <param name="spriteKey">Key of a sprite in a <see cref="SpriteEmitter"/>.</param> + public SpriteParticle(int spriteKey) + { + mSpriteKey = spriteKey; + } + + /// <summary> + /// Constructs a SpriteParticle. + /// </summary> + /// <param name="spriteKey">Key of a sprite in a <see cref="SpriteEmitter"/></param> + /// <param name="alpha">Alpha channel.</param> + public SpriteParticle(int spriteKey, double alpha) : this(spriteKey) + { + mAlpha = alpha; + } + + /// <summary> + /// Constructs a SpriteParticle. + /// </summary> + /// <param name="spriteKey">Key of a sprite in a <see cref="SpriteEmitter"/></param> + /// <param name="alpha">Alpha channel.</param> + /// <param name="frame">Frame of the sprite.</param> + public SpriteParticle(int spriteKey, double alpha, int frame) : this(spriteKey, alpha) + { + mFrame = frame; + } + } +} Added: trunk/AgateLib/Particles/Particles/SurfaceParticle.cs =================================================================== --- trunk/AgateLib/Particles/Particles/SurfaceParticle.cs (rev 0) +++ trunk/AgateLib/Particles/Particles/SurfaceParticle.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,95 @@ +// The contents of this file are subject to the Mozilla Public License +// Version 1.1 (the "License"); you may not use this file except in +// compliance with the License. You may obtain a copy of the License at +// http://www.mozilla.org/MPL/ +// +// Software distributed under the License is distributed on an "AS IS" +// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the +// License for the specific language governing rights and limitations +// under the License. +// +// The Original Code is AgateLib.Particles. +// +// The Initial Developer of the Original Code is Marcel Hauf +// Portions created by Marcel Hauf are Copyright (C) 2009. +// All Rights Reserved. +// +// Contributor(s): Marcel Hauf. +// +using System; +using AgateLib.Geometry; +using AgateLib.DisplayLib; + +namespace AgateLib.Particles +{ + /// <summary> + /// A surface particle class. + /// </summary> + public class SurfaceParticle : Particle + { + private int mSurfaceKey; + + private double mAlpha = 1d; + + private SizeF mScale = new SizeF(1f, 1f); + + /// <value> + /// Gets or sets the surface key. + /// </value> + public int SurfaceKey + { + get { return mSurfaceKey; } + set { mSurfaceKey = value; } + } + + /// <value> + /// Gets or sets the alpha of the surface. + /// </value> + public double Alpha + { + get { return mAlpha; } + set { mAlpha = value; } + } + + /// <value> + /// Gets or sets the scale width of the surface. + /// </value> + public float ScaleWidth + { + get { return mScale.Width; } + set { mScale.Width = value; } + } + + /// <value> + /// Gets or sets the scale height of the surface. + /// </value> + public float ScaleHeight + { + get { return mScale.Height; } + set { mScale.Height = value; } + } + + /// <value> + /// Gets or sets the scale. + /// </value> + public SizeF Scale + { + get { return mScale; } + set { mScale = value; } + } + + /// <summary> + /// Constructs a SurfaceParticle with a default SurfaceKey=0. + /// </summary> + public SurfaceParticle() : this(0) {} + + /// <summary> + /// Constructs a SurfaceParticle. + /// </summary> + /// <param name="surfaceKey"></param> + public SurfaceParticle(int surfaceKey) + { + SurfaceKey = surfaceKey; + } + } +} Modified: trunk/AgateLib/Sprites/Sprite.cs =================================================================== --- trunk/AgateLib/Sprites/Sprite.cs 2009-10-19 17:13:42 UTC (rev 1063) +++ trunk/AgateLib/Sprites/Sprite.cs 2009-10-21 10:33:59 UTC (rev 1064) @@ -241,8 +241,16 @@ } } + public void AddFrame(Surface surface) + { + SpriteFrame frame = new SpriteFrame(surface); + frame.SourceRect = new Rectangle(0, 0, surface.SurfaceWidth, surface.SurfaceHeight); + frame.Offset = Point.Empty; + frame.SpriteSize = SpriteSize; + + mFrames.Add(frame); + } - /// <summary> /// Adds a frame to the sprite. /// </summary> Added: trunk/Tests/Data/smoke.png =================================================================== (Binary files differ) Property changes on: trunk/Tests/Data/smoke.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Tests/Data/smoke2.png =================================================================== --- trunk/Tests/Data/smoke2.png (rev 0) +++ trunk/Tests/Data/smoke2.png 2009-10-21 10:33:59 UTC (rev 1064) @@ -0,0 +1,42 @@ +\x89PNG + + |
From: <ka...@us...> - 2009-10-19 17:13:52
|
Revision: 1063 http://agate.svn.sourceforge.net/agate/?rev=1063&view=rev Author: kanato Date: 2009-10-19 17:13:42 +0000 (Mon, 19 Oct 2009) Log Message: ----------- Fix obsolete reference to Display.VSync. Modified Paths: -------------- trunk/Examples/BallBuster.Net/main.cs Modified: trunk/Examples/BallBuster.Net/main.cs =================================================================== --- trunk/Examples/BallBuster.Net/main.cs 2009-10-19 17:13:05 UTC (rev 1062) +++ trunk/Examples/BallBuster.Net/main.cs 2009-10-19 17:13:42 UTC (rev 1063) @@ -502,7 +502,7 @@ { vsync = !vsync; - Display.VSync = vsync; + Display.RenderState.WaitForVerticalBlank = vsync; } if (mousex > 100 - 20 && mousex < 500 && mousey > 280 && mousey < 320) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |