Skip to content

Commit f617299

Browse files
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
1 parent 9d45a92 commit f617299

File tree

181 files changed

+9347
-10634
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

181 files changed

+9347
-10634
lines changed

.editorconfig

+181-70
Large diffs are not rendered by default.

.github/ISSUE_TEMPLATE/01_bug_report.yml

-60
This file was deleted.

.github/ISSUE_TEMPLATE/02_feature_request.yml

-25
This file was deleted.

.github/ISSUE_TEMPLATE/03_blank_issue.yml

-8
This file was deleted.
-33.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)