Skip to content

Commit

Permalink
Updated changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed Feb 7, 2023
1 parent 917a396 commit bfd53cf
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,24 @@
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Version 1.8.0] - 2023-02-07

### Added

- Not updating outputs when sources did not change.
- Added _scalings_.
- Added extrude modes _mirror_ and _repeat_.
- Added pack methods _rows_ and _columns_.
- Added output of _inputFilename_.

### Changed

- Removed -- commandline argument.

### Fixed

- Fixed debug output of vertices when rotated.

## [Version 1.7.0] - 2023-01-26

### Added
Expand Down Expand Up @@ -68,6 +86,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Fixed -- commandline arguments.
- Fixed sample cpp.template.

[version 1.8.0]: https://github.com/houmain/spright/compare/1.7.0...1.8.0
[version 1.7.0]: https://github.com/houmain/spright/compare/1.6.0...1.7.0
[version 1.6.0]: https://github.com/houmain/spright/compare/1.5.0...1.6.0
[version 1.5.0]: https://github.com/houmain/spright/compare/1.4.0...1.5.0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ The following table contains a list of all definitions, with the subject each af
| padding |output | [pixels], [pixels] | Sets the space between two sprites / the space between a sprite and the texture's border.
| duplicates |output | dedupe-mode | Sets how identical sprites should be processed:<br/>- _keep_ : Disable duplicate detection (default).<br/>- _share_ : Identical sprites should share pixels on the output texture.<br/>- _drop_ : Duplicates should be dropped.
| alpha |output | alpha-mode<br/>[color] | Sets an operation depending on the pixels' alpha values:<br/>- _keep_ : Keep source color and alpha.<br/>- _clear_ : Set color of fully transparent pixels to black.<br/>- _bleed_ : Set color of fully transparent pixels to their nearest non-fully transparent pixel's color.<br/>- _premultiply_ : Premultiply colors with alpha values.<br/>- _colorkey_ : Replace fully transparent pixels with the specified _color_ and make all others opaque.
| scalings |output | ([scale-filter] scale)+ | Specifies one or more factors for which a respectively scaled output should be generated, with an optional explicit scale-filter:<br/>- _box_: A trapezoid with 1-pixel wide ramps.<br/>- _triangle_: A triangle function (same results as bilinear texture filtering).<br/>- _cubicspline_: A cubic b-spline (gaussian-esque).<br/>- _catmullrom_: An interpolating cubic spline.<br/>- _mitchell_: Mitchell-Netrevalli filter with B=1/3, C=1/3.
| scalings |output | ([scale-filter] scale)+ | Specifies one or more factors for which a respectively scaled output should be generated, with an optional explicit scale-filter:<br/>- _box_: A trapezoid with 1-pixel wide ramps.<br/>- _triangle_: A triangle function (same as bilinear texture filtering).<br/>- _cubicspline_: A cubic b-spline (gaussian-esque).<br/>- _catmullrom_: An interpolating cubic spline.<br/>- _mitchell_: Mitchell-Netrevalli filter with B=1/3, C=1/3.
| layers |output/input| suffix+ | Specifies the number of layers and their filename suffixes (e.g. "-diffuse", "-normals", ...). Only the first layer is considered when packing, others get identical _rects_.
| **input** |- | path | Adds a new input file at _path_. It can contain wildcards (e.g. "sprites/**/*.png") or it can describe an un-/bounded sequence of files (e.g. "frames_{0-}.png, frames_{0001-0013}.png").
| path |input | path | A _path_ which should be prepended to the input's path.
Expand Down
2 changes: 1 addition & 1 deletion src/Definition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void apply_definition(Definition definition,
state.scalings.push_back({ *scale, resize_filter });
}
else if (const auto index = index_of(string,
{ "default", "box", "bilinear", "cubicspline",
{ "default", "box", "triangle", "cubicspline",
"catmullrom", "mitchell" }); index >= 0) {
resize_filter = static_cast<ResizeFilter>(index);
}
Expand Down

0 comments on commit bfd53cf

Please sign in to comment.