diff --git a/examples/AnimatedTilemapExample/Game1.cs b/examples/AnimatedTilemapExample/Game1.cs index 03a3404..3982a28 100644 --- a/examples/AnimatedTilemapExample/Game1.cs +++ b/examples/AnimatedTilemapExample/Game1.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/examples/AnimatedTilemapExample/Program.cs b/examples/AnimatedTilemapExample/Program.cs index 0ed9bde..17691ad 100644 --- a/examples/AnimatedTilemapExample/Program.cs +++ b/examples/AnimatedTilemapExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new AnimatedTilemapExample.Game1(); game.Run(); diff --git a/examples/ContentPipelineExample/Game1.cs b/examples/ContentPipelineExample/Game1.cs index e156f57..9a143a8 100644 --- a/examples/ContentPipelineExample/Game1.cs +++ b/examples/ContentPipelineExample/Game1.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using MonoGame.Aseprite; diff --git a/examples/ContentPipelineExample/Program.cs b/examples/ContentPipelineExample/Program.cs index 1ad8071..707e703 100644 --- a/examples/ContentPipelineExample/Program.cs +++ b/examples/ContentPipelineExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new ContentPipelineExample.Game1(); game.Run(); diff --git a/examples/SpriteExample/Game1.cs b/examples/SpriteExample/Game1.cs index 3216303..4469b03 100644 --- a/examples/SpriteExample/Game1.cs +++ b/examples/SpriteExample/Game1.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/examples/SpriteExample/Program.cs b/examples/SpriteExample/Program.cs index 2ca0695..1967856 100644 --- a/examples/SpriteExample/Program.cs +++ b/examples/SpriteExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new SpriteExample.Game1(); game.Run(); diff --git a/examples/SpritesheetExample/Game1.cs b/examples/SpritesheetExample/Game1.cs index 2436bdc..b1cc76b 100644 --- a/examples/SpritesheetExample/Game1.cs +++ b/examples/SpritesheetExample/Game1.cs @@ -1,8 +1,11 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; using MonoGame.Aseprite; namespace SpritesheetExample; diff --git a/examples/SpritesheetExample/Program.cs b/examples/SpritesheetExample/Program.cs index 797b0e8..1d7dbae 100644 --- a/examples/SpritesheetExample/Program.cs +++ b/examples/SpritesheetExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new SpritesheetExample.Game1(); game.Run(); diff --git a/examples/TextureAtlasExample/Game1.cs b/examples/TextureAtlasExample/Game1.cs index a13c7e5..40d66f6 100644 --- a/examples/TextureAtlasExample/Game1.cs +++ b/examples/TextureAtlasExample/Game1.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/examples/TextureAtlasExample/Program.cs b/examples/TextureAtlasExample/Program.cs index 5961d9d..f164ce2 100644 --- a/examples/TextureAtlasExample/Program.cs +++ b/examples/TextureAtlasExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new TextureAtlasExample.Game1(); game.Run(); diff --git a/examples/TilemapExample/Game1.cs b/examples/TilemapExample/Game1.cs index d1aca94..e737b89 100644 --- a/examples/TilemapExample/Game1.cs +++ b/examples/TilemapExample/Game1.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/examples/TilemapExample/Program.cs b/examples/TilemapExample/Program.cs index 551d8a9..56d608b 100644 --- a/examples/TilemapExample/Program.cs +++ b/examples/TilemapExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new TilemapExample.Game1(); game.Run(); diff --git a/examples/TilesetExample/Game1.cs b/examples/TilesetExample/Game1.cs index 1da87e8..9e78ad0 100644 --- a/examples/TilesetExample/Game1.cs +++ b/examples/TilesetExample/Game1.cs @@ -1,9 +1,11 @@ -using System.IO; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using Microsoft.Xna.Framework.Input; using MonoGame.Aseprite; namespace TilesetExample; diff --git a/examples/TilesetExample/Program.cs b/examples/TilesetExample/Program.cs index 8a225c1..235511a 100644 --- a/examples/TilesetExample/Program.cs +++ b/examples/TilesetExample/Program.cs @@ -1,3 +1,6 @@ - +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + using var game = new TilesetExample.Game1(); game.Run(); diff --git a/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileImportResult.cs b/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileImportResult.cs index 5216f4c..302fa79 100644 --- a/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileImportResult.cs +++ b/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileImportResult.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite.Content.Pipeline; diff --git a/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileProcessResult.cs b/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileProcessResult.cs index 9d7d1fa..31c0483 100644 --- a/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileProcessResult.cs +++ b/source/MonoGame.Aseprite.Content.Pipeline/AsepriteFileProcessResult.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite.Content.Pipeline; diff --git a/source/MonoGame.Aseprite.Content.Pipeline/Importers/AsepriteFileContentImporter.cs b/source/MonoGame.Aseprite.Content.Pipeline/Importers/AsepriteFileContentImporter.cs index e2f163e..e0b22a0 100644 --- a/source/MonoGame.Aseprite.Content.Pipeline/Importers/AsepriteFileContentImporter.cs +++ b/source/MonoGame.Aseprite.Content.Pipeline/Importers/AsepriteFileContentImporter.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework.Content.Pipeline; using MonoGame.Aseprite.Content.Pipeline.Processors; diff --git a/source/MonoGame.Aseprite.Content.Pipeline/Processors/AsepriteFileContentProcessor.cs b/source/MonoGame.Aseprite.Content.Pipeline/Processors/AsepriteFileContentProcessor.cs index b327703..749faa8 100644 --- a/source/MonoGame.Aseprite.Content.Pipeline/Processors/AsepriteFileContentProcessor.cs +++ b/source/MonoGame.Aseprite.Content.Pipeline/Processors/AsepriteFileContentProcessor.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.ComponentModel; using Microsoft.Xna.Framework.Content.Pipeline; diff --git a/source/MonoGame.Aseprite.Content.Pipeline/Writers/AsepriteFileContentTypeWriter.cs b/source/MonoGame.Aseprite.Content.Pipeline/Writers/AsepriteFileContentTypeWriter.cs index 802753e..5b5392d 100644 --- a/source/MonoGame.Aseprite.Content.Pipeline/Writers/AsepriteFileContentTypeWriter.cs +++ b/source/MonoGame.Aseprite.Content.Pipeline/Writers/AsepriteFileContentTypeWriter.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework.Content.Pipeline; using Microsoft.Xna.Framework.Content.Pipeline.Serialization.Compiler; @@ -37,7 +17,7 @@ protected override void Write(ContentWriter writer, AsepriteFileProcessResult co writer.Write(content.Data.Length); writer.Write(content.Data); } - + public override string GetRuntimeType(TargetPlatform targetPlatform) => "MonoGame.Aseprite.AsepriteFile, MonoGame.Aseprite"; diff --git a/source/MonoGame.Aseprite/AnimatedSprite.cs b/source/MonoGame.Aseprite/AnimatedSprite.cs index d45caa6..68bf9dd 100644 --- a/source/MonoGame.Aseprite/AnimatedSprite.cs +++ b/source/MonoGame.Aseprite/AnimatedSprite.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/AnimatedTIlemapFrame.cs b/source/MonoGame.Aseprite/AnimatedTIlemapFrame.cs index b4a5f95..1250552 100644 --- a/source/MonoGame.Aseprite/AnimatedTIlemapFrame.cs +++ b/source/MonoGame.Aseprite/AnimatedTIlemapFrame.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Collections; using System.Diagnostics.CodeAnalysis; diff --git a/source/MonoGame.Aseprite/AnimatedTilemap.cs b/source/MonoGame.Aseprite/AnimatedTilemap.cs index 13a3fba..8762367 100644 --- a/source/MonoGame.Aseprite/AnimatedTilemap.cs +++ b/source/MonoGame.Aseprite/AnimatedTilemap.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Collections; using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/AnimationFrame.cs b/source/MonoGame.Aseprite/AnimationFrame.cs index b91bf06..65f93ab 100644 --- a/source/MonoGame.Aseprite/AnimationFrame.cs +++ b/source/MonoGame.Aseprite/AnimationFrame.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/AnimationTag.cs b/source/MonoGame.Aseprite/AnimationTag.cs index 21770b2..8fc4956 100644 --- a/source/MonoGame.Aseprite/AnimationTag.cs +++ b/source/MonoGame.Aseprite/AnimationTag.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/AnimationTagBuilder.cs b/source/MonoGame.Aseprite/AnimationTagBuilder.cs index 7ed3b81..24ed8fe 100644 --- a/source/MonoGame.Aseprite/AnimationTagBuilder.cs +++ b/source/MonoGame.Aseprite/AnimationTagBuilder.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/AsepriteFileExtensions.cs b/source/MonoGame.Aseprite/AsepriteFileExtensions.cs index 1c33943..068a99e 100644 --- a/source/MonoGame.Aseprite/AsepriteFileExtensions.cs +++ b/source/MonoGame.Aseprite/AsepriteFileExtensions.cs @@ -1,4 +1,8 @@ -using AsepriteDotNet.Aseprite; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using AsepriteDotNet.Aseprite; using AsepriteDotNet.Processors; using Microsoft.Xna.Framework.Graphics; using MonoGame.Aseprite.Utils; @@ -103,7 +107,7 @@ public static TextureAtlas CreateTextureAtlas(this AsepriteFile aseFile, Graphic /// /// Thrown if the parameter is . /// - public static SpriteSheet CreateSpriteSheet(this AsepriteFile aseFile, GraphicsDevice device, ProcessorOptions? options = null) + public static SpriteSheet CreateSpriteSheet(this AsepriteFile aseFile, GraphicsDevice device, ProcessorOptions? options = null) { ArgumentNullException.ThrowIfNull(aseFile); ArgumentNullException.ThrowIfNull(device); diff --git a/source/MonoGame.Aseprite/Content/Pipeline/Readers/AsepriteFileContentTypeReader.cs b/source/MonoGame.Aseprite/Content/Pipeline/Readers/AsepriteFileContentTypeReader.cs index 5276973..2648f87 100644 --- a/source/MonoGame.Aseprite/Content/Pipeline/Readers/AsepriteFileContentTypeReader.cs +++ b/source/MonoGame.Aseprite/Content/Pipeline/Readers/AsepriteFileContentTypeReader.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using AsepriteDotNet.Aseprite; using AsepriteDotNet.IO; diff --git a/source/MonoGame.Aseprite/NinePatchSlice.cs b/source/MonoGame.Aseprite/NinePatchSlice.cs index 1200779..c6f7edf 100644 --- a/source/MonoGame.Aseprite/NinePatchSlice.cs +++ b/source/MonoGame.Aseprite/NinePatchSlice.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/Slice.cs b/source/MonoGame.Aseprite/Slice.cs index bb1d93d..67690b8 100644 --- a/source/MonoGame.Aseprite/Slice.cs +++ b/source/MonoGame.Aseprite/Slice.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/Sprite.cs b/source/MonoGame.Aseprite/Sprite.cs index 05f2993..0106d87 100644 --- a/source/MonoGame.Aseprite/Sprite.cs +++ b/source/MonoGame.Aseprite/Sprite.cs @@ -1,30 +1,9 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using MonoGame.Aseprite.Utils; namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/SpriteBatchExtensions.cs b/source/MonoGame.Aseprite/SpriteBatchExtensions.cs index 83ac4b9..ab84c0a 100644 --- a/source/MonoGame.Aseprite/SpriteBatchExtensions.cs +++ b/source/MonoGame.Aseprite/SpriteBatchExtensions.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -453,14 +433,14 @@ public static void Draw(this SpriteBatch spriteBatch, TilemapLayer layer, Vector private static SpriteEffects DetermineFlipEffectForTile(bool flipHorizontally, bool flipVertically, bool flipDiagonally) { SpriteEffects effects = SpriteEffects.None; - if(!flipDiagonally) + if (!flipDiagonally) { - if(flipHorizontally) + if (flipHorizontally) { effects |= SpriteEffects.FlipHorizontally; } - if(flipVertically) + if (flipVertically) { effects |= SpriteEffects.FlipVertically; } diff --git a/source/MonoGame.Aseprite/SpriteSheet.cs b/source/MonoGame.Aseprite/SpriteSheet.cs index b5e504a..e702e06 100644 --- a/source/MonoGame.Aseprite/SpriteSheet.cs +++ b/source/MonoGame.Aseprite/SpriteSheet.cs @@ -1,30 +1,8 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; -using Microsoft.Xna.Framework.Graphics; -using MonoGame.Aseprite.Utils; namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/TextureAtlas.cs b/source/MonoGame.Aseprite/TextureAtlas.cs index 7643975..78127a9 100644 --- a/source/MonoGame.Aseprite/TextureAtlas.cs +++ b/source/MonoGame.Aseprite/TextureAtlas.cs @@ -1,33 +1,11 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Collections; -using System.Data.Common; using System.Diagnostics.CodeAnalysis; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; -using MonoGame.Aseprite.Utils; namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/TextureRegion.cs b/source/MonoGame.Aseprite/TextureRegion.cs index bf4ffbf..f309f9e 100644 --- a/source/MonoGame.Aseprite/TextureRegion.cs +++ b/source/MonoGame.Aseprite/TextureRegion.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; diff --git a/source/MonoGame.Aseprite/Tile.cs b/source/MonoGame.Aseprite/Tile.cs index 1f9fa33..464e381 100644 --- a/source/MonoGame.Aseprite/Tile.cs +++ b/source/MonoGame.Aseprite/Tile.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. namespace MonoGame.Aseprite; diff --git a/source/MonoGame.Aseprite/Tilemap.cs b/source/MonoGame.Aseprite/Tilemap.cs index a19a5b0..672cbd8 100644 --- a/source/MonoGame.Aseprite/Tilemap.cs +++ b/source/MonoGame.Aseprite/Tilemap.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Collections; using System.Diagnostics.CodeAnalysis; diff --git a/source/MonoGame.Aseprite/TilemapLayer.cs b/source/MonoGame.Aseprite/TilemapLayer.cs index b199092..4efde02 100644 --- a/source/MonoGame.Aseprite/TilemapLayer.cs +++ b/source/MonoGame.Aseprite/TilemapLayer.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Collections; using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/Tileset.cs b/source/MonoGame.Aseprite/Tileset.cs index e14c5b0..6d6916e 100644 --- a/source/MonoGame.Aseprite/Tileset.cs +++ b/source/MonoGame.Aseprite/Tileset.cs @@ -1,26 +1,6 @@ -/* ---------------------------------------------------------------------------- -MIT License - -Copyright (c) 2018-2023 Christopher Whitley - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. ----------------------------------------------------------------------------- */ +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. using System.Diagnostics.CodeAnalysis; using Microsoft.Xna.Framework; diff --git a/source/MonoGame.Aseprite/Utils/AsepriteDotNetExtensions.cs b/source/MonoGame.Aseprite/Utils/AsepriteDotNetExtensions.cs index 421e0cd..01c7993 100644 --- a/source/MonoGame.Aseprite/Utils/AsepriteDotNetExtensions.cs +++ b/source/MonoGame.Aseprite/Utils/AsepriteDotNetExtensions.cs @@ -1,4 +1,8 @@ -using System.Runtime.CompilerServices; +// Copyright (c) Christopher Whitley. All rights reserved. +// Licensed under the MIT license. +// See LICENSE file in the project root for full license information. + +using System.Runtime.CompilerServices; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; using AseColor = AsepriteDotNet.Common.Rgba32;