Paul Chote
f6b40b2bce
Allow sequences to define a Scale factor.
2021-01-21 18:22:11 +01:00
Paul Chote
dd7b8b24af
Use tileset ID in sequences instead of the TileSet object.
2020-10-11 01:23:15 +02:00
Paul Chote
ad4d6eaec9
Improve --check-missing-sprites error handling.
2020-09-12 17:52:46 +02:00
Paul Chote
7803686aec
Rewrite sequence linting / missing file handling.
...
- Distinguish between missing sequences and missing sprites
- Lint default sequences as well as maps
- Improved performance
- Correctly handle null images
2020-09-12 17:52:46 +02:00
teinarss
27f1a7ab27
Use out var syntax
2020-08-19 18:11:07 +01:00
Paul Chote
ac7eda8ca2
Add support for rendering tinted artwork.
2020-07-13 14:02:02 +02:00
Paul Chote
c999b2d778
Convert QuantizeFacing to WAngle facings.
2020-05-28 21:23:51 +02:00
Paul Chote
bfb6c671fb
Change QuantizeFacing to return a facing instead of an index.
2020-05-28 21:23:51 +02:00
Paul Chote
361e2d463c
ISpriteSequence facing -> WAngle.
2020-05-09 10:20:23 -05:00
reaperrr
c10487d635
Move ClassicFacingFudge support to Mods.Cnc
...
This moves the TD/RA-specific re-mapping of sprite facings
and coordinates to Mods.Cnc.
2020-04-24 18:22:35 +02:00
reaperrr
eb007fc43c
Add Frames support to Combine
2020-02-27 18:44:34 +01:00
Paul Chote
2016ab105e
Fix Reverses parsing.
2020-02-23 16:41:57 +01:00
Paul Chote
def65b10bd
Don't crash with an unhelpful IndexOutOfRangeException.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
2049d1b26a
Allow guessing of sprite sequence length from number of frames.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
43cac2f051
Don't complain about shadow frame length when there are none.
2020-02-23 16:41:57 +01:00
Matthias Mailänder
39b7db2703
Allow repetition of frames in sequence setups.
2020-02-23 16:41:57 +01:00
abcdefg30
23b3c237b7
Update the year numbers in all license headers to 2020
2020-01-05 17:00:34 +00:00
Andre Mohren
7f7341a369
Fixed incorrect sequence frame amount checks using Stride.
2019-10-05 18:03:09 +02:00
RoosterDragon
31918e8712
Add UnionRectangles extension method.
2019-09-14 22:09:40 +02:00
Paul Chote
ab4a7e3558
Replace System.Drawing primitives with our own.
2019-03-04 18:26:42 +00:00
abcdefg30
cadbd0d9ab
Change the year number in all cs headers from 2018 to 2019
2019-01-26 23:15:21 +01:00
Paul Chote
eb61c45e14
Add EmbeddedSpritePalette sprite metadata.
2018-10-28 20:55:40 +00:00
Paul Chote
8461a82577
Remove requirement for depth sprites to share color sheet.
2018-06-04 23:33:57 +02:00
Paul Chote
3febae1644
Fix exception in DefaultSpriteSequence.GetSprite.
2018-05-06 17:32:17 +02:00
Paul Chote
bf4b91741a
Ignore unused frames when loading Sequences into Sheets.
2018-05-02 09:59:03 +02:00
Paul Chote
94dd83bc13
Fix the frame mapping used to select sprites for the SpriteBounds.
2018-05-02 09:59:03 +02:00
Arular101
8a60918841
Update copyright notice year to 2018
2018-01-17 00:47:34 +01:00
Paul Chote
041431d966
Add ISpriteSequence.Bounds and Animation(WithOffset).ScreenBounds.
...
The bounds define the smallest Rectangle that covers all frames within a sequence.
2017-12-11 19:45:07 +01:00
Andre Mohren
10740de6e9
DefaultSpriteSequence now allows derived classes to enhance sprites.
2017-10-14 19:50:05 +02:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
RoosterDragon
9f1c872340
Improve some exception types.
2016-09-11 15:14:44 +01:00
Paul Chote
b94b703157
Add a check for bogus Frames / Length combinations.
2016-08-06 21:19:32 +01:00
Paul Chote
0371727596
Allow sequences to define depth offsets via sprites.
2016-07-13 22:22:13 +01:00
Paul Chote
5fbe747de2
Improve logging on sequence error.
2016-07-13 22:22:13 +01:00
Paul Chote
2915db67c4
Add depth buffer support to sprites and sequences.
2016-04-15 09:42:29 -04:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
Matthias Mailänder
f6c669d6d4
Merge pull request #10611 from reaperrr/flip-offsets1
...
Make FlipX/FlipY flip respective embedded offsets as well
2016-01-31 18:27:50 +01:00
Paul Chote
ab921682c4
Rewrite yaml merger.
2016-01-30 15:03:56 +00:00
Paul Chote
608b5d1674
Add UseClassicFacingFudge flag for TD/RA.
2016-01-27 21:32:21 +00:00
reaperrr
fd632baa5b
Flip embedded offsets along when flipping sequences
...
Instead of only flipping the sprite, but not the baked-in offsets.
2016-01-26 22:01:27 +01:00
Paul Chote
b0bd252343
Move Util to Mods.Common.
2016-01-19 23:35:18 +00:00
RoosterDragon
8e89a6a696
Simplify names, remove unused usings, remove redundant casts.
2016-01-17 21:35:36 +00:00
Paul Chote
a074bb1d4b
Rename MiniYaml MergeLiberal -> MergePartial, MergeStrict -> Merge.
2015-11-28 17:20:21 +01:00
Oliver Brakmann
d2d4767e94
Merge pull request #9951 from Phrohdoh/explain-node-merge
...
Add a comment explaining some of the sequence parsing code.
2015-11-16 20:02:22 +01:00
evgeniysergeev
ea1115fe46
flip sprites in sequences and frames in combined sequences
2015-11-13 06:31:12 +03:00
Taryn Hill
2fc391c5b8
Add a comment explaining some of the sequence parsing code
2015-11-10 07:17:18 -06:00
Paul Chote
9ce8544e34
Add support for aggregate sequences.
2015-10-17 22:50:22 +01:00
Matthias Mailänder
413baf9d8b
rename WDist.Range to WDist.Length
2015-07-09 10:55:38 +02:00
Matthias Mailänder
7447e0bf93
rename WRange to WDist
2015-07-09 10:55:38 +02:00