Skip to content

Full rework #18

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 161 commits into from
Mar 19, 2024
Merged

Full rework #18

merged 161 commits into from
Mar 19, 2024

Conversation

AristurtleDev
Copy link
Owner

Prerequisites

  • I have verified that there are no existing pull requests that would overlap with this pull request.
  • I have verified that I am following the guidelines as outlined in this project's contribution policy
  • I Have verified that this pull request adheres to this project's code of conduct.
  • I have written a descriptive title for this pull request.
  • I have provided appropriate test coverage were applicable.

Description

Rewrite

Related Issue Ticket Numbers

#11

@AristurtleDev AristurtleDev merged commit f617299 into main Mar 19, 2024
AristurtleDev added a commit that referenced this pull request Mar 19, 2024
* Added repository images

* Full rework (#18)

* Scorched Earth, Rewrite From Scratch

* Add .editorconfig

* Add root build props

* Added AsepriteDotNet solution file

* Update license year

* Added version to root build prop

* Added base project setup

* Cleanup .gitignore

* Added ColorDepth enum

* Updated warning supressions

* Updated warning supressions

* disable nullable

* Rename to AsepriteColorDepth

* Added Rgba32

* Added various Aseprite document types

* enable nullable

* Correct spelling of AsepriteCel

* Convert fields to properties

* Correct spelling of AsepriteFrame

* use Int32 as underlying datatype

* Use properties instead of fields

* Make constructor internal

* Use FrozenSet for collection property

* Convert fields to properties

* Make constructor internal

* Use frozen set for collection property

* Use properties instead of fields

* Mark constructor as internal

* Use frozen set for collection property

* Mark constructor as internal

* Convert fields to properties

* Correct call to new base constructor.

* Correct call to new base constructor

* Convert fields to properties

* Mark constructor as internal

* Correct call to new base constructor

* Convert fields to properties

* Mark constructor as internal

* Use frozen set for collection properties

* Convert fields to properties

* Mark constructor as internal

* User frozen set for collection properties

* Initialize empty user data on construction

* Convert fields to properties

* Mark constructor as internal

* Require UserData as part of constructor params

* Use Rgba32 instead of System.Drawing.Color

* Add AsepriteTag

* Use System.Drawing.Color :/

* Use System.Drawing.Point

* Use System.Drawing.Size

* Fix documentation errors

* Use System.Drawing.Size

* Use System.Drawing.Point

* Update base constructor call from previous commit

* Use System.Drawing types

* Added AsepriteTile

* Added AsepriteTIlemapCel

* Added AsepriteTilemapLayer

* Added AsepriteTileset

* Removed duplicate file created by accident

* Use ReadOnlySpan instead of FrozenSet

* Added BinaryReader Extensions

* Added AsepriteFile

* Add LayerChunkHeader

* Use LayerChunkHeader as param

* Use AseColor instead of Color

* Make properties internal set

* Add AseColor struct

* Update for changes

* Update for changes

* Added ImageCelProperties

* Added CelProperties

* Remove System.Drawing dependencies

* Remove System.Drawing dependency

* Update to use new struct params

* Enable unsafe

* WIP Saving changes for the night

* Remove the validate stuff, not needed at this time

* Ensure `_currentFrameCels` is initialized

* Pass chunk end to ReadCelChunk

* Use `ReadBytes` not `ReadByte`

* [Formatting] Ensure Final Newline

* Added TilesetProperties

* Updated to use TilesetProperties

* Added HasFlag extension method

* Commiting all because I think internet broke

* Completed CelProperties

* Finished ChunkHeader

* Finished FileHeader

* Finished FrameHeader

* Finished ImageCelProperties

* Add surrounding  parenthesis

* Finished LayerProperties

* Finished PaletteEntry

* Finished PaletteProperties

* Finished TagProperties

* Finished TilemapCelProperties

* Add license header

* Mark internal and cleanup

* Make `StructSize` a const not static value.

* Remove System.Drawing and update constructor.

* `LayerChunkHeader` renamed to `LayerProperties`

* `LayerChunkHeader` renamed to `LayerProperties`

* `LayerChunkHeader` renamed to `LayerProperties`

* Update functionality

* Updated constructor

* Remove `System.Drawing` and update constructor.

* `LayerChunkHeader` renamed to `LayerProperties`

* Added `AsepriteBinaryReader`.

* Deleted files no longer needed.

* Deleted files no longer needed.

* Added `AsepriteFileLoader`

* Added null check properties

* Use .Value for nullable struct.

* Moved to Document namespace and dropped Aseprite prefix

* Spelling errors in comments.

* Rename of AsepritePalette to Palette.

* Fix cref in comments

* Added new constructor to support reader.

* Finish Implementation

* Make leaveOpen default to false.

* Added AsperiteBinaryReader Tests

* Include props as items in solution

* NoWarn for CA1707 in test projects

* Add test files

* Correct field offsets because I'm dumb

* Added Unsigned8Bit helper class
This is used to multiply and divide two unsigned 8-bit values.

* Use correct fields from change to TagProperties struct

* UserData should not be declared nullable.

* Add tilesets to file

* Added file loader tests

* Add FromFile and FromStream

* Use layerName not fileName for hte layer name....

* Corrected class name spelling error

* Added MathHelper

* Added Normal blending

* Added Multiply blending

* Simplify method

* Added Screen blending

* Simplify testing

* Add Darken blending

* Add Lighten blending

* Use new fields

* Add tag to collection

* Add tilesets to collection

* Add tilesets to file

* Add ColorDodge blending

* Added ColorBurn blending

* Added HardLight blending

* Implemented remaining blend modes

* Renamed MathHelper to calc

* Initial implementation of FlattenFrame, needs testing

* Workstation change

* So much

* Pushing current changes.

* tests finished.

* Feature/build (#17)

* Add yml indent config

* Updated README.md

* Added repository images

* Change name of package icon file

* Add includes for nuget image and readme

* Add Cake Frosting build project

* Depends on DownloadArtifacts

* Added DeployToNugets task

* Added github action workflow

* Correct image path

* Add contributors heading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant