39 Commits

Author SHA1 Message Date
Harald Csaszar
6118a5f704 [csharp] Port of commit cb48737: Fixed constraint copy constructors references the wrong bones. Closes #2511. 2024-04-29 19:09:45 +02:00
Harald Csaszar
fe53638f69 [csharp] Ported 4.2-beta physics. 2023-11-17 17:18:18 +01:00
Mario Zechner
4047f1ba07 Updated license headers. 2023-07-31 13:29:16 +02:00
Harald Csaszar
3250e74e26 [csharp][unity] Port sequence attachment. See #1956. Also port of other 4.1-beta branch changes compared to 4.0. 2021-11-03 15:26:22 +01:00
Nathan Sweet
96a998b82d Spine Runtimes License Agreement update (September 24, 2021). 2021-09-24 18:18:19 -10:00
Mario Zechner
d12b15ca8d [csharp] Format all source code using formatters/.editorconfig 2021-08-18 18:59:53 +02:00
Nathan Sweet
87b9821e00 [as3][c][cpp][cs][libgdx][lua] Fixed crash with path constraint proportional spacing and tangent rotate modes. 2021-06-30 14:11:26 -04:00
Nathan Sweet
963da7561e [csharp] Code style update.
* `else` on same line as `if` brace.
* `var` only when the type is shown.
* Removed unnecessarily locals, eg `var events = this.events; var eventsItems = events.Items;`.
* Don't indent `case`.
* ExposedList for EventQueue just so iteration can use array indexing.
* EventQueue, inner members (struct/enum) after methods.
* No braces for single line `if/else/for`.
* Removed comments noting ref impl code, eg `// abc.setSize(xyz);`.
* Removed comments that didn't add to what the code shows, eg `// Pooling`.
* Removed comments not in ref impl about implementation details, eg `// nextTrackLast == -1 ...`.
* Removed commented code we are not using.
* Use local with list.Items when iterating.
2021-05-31 01:26:41 -04:00
Harald Csaszar
7b1469c32b [csharp] Ported commit 4f73fbb, "Fixed applying a constraint reverting changes from other constraints.", see #1896. 2021-05-27 18:35:52 +02:00
Harald Csaszar
5d64ad3776 [csharp] Port of commits 1b49736 and df489b1. "Fixed path constraint spacing for zero length bones." 2020-11-24 18:00:47 +01:00
Harald Csaszar
7ef2fc96db [csharp] Porting of commits dbd90ca, da1b280, 10d5a91 and e14db0e (includes 4.0 format changes). Fixed errors in color parsing introduced by previous porting 4.0 commit.
* Added separate X and Y for transform constraint translate and scale mix.
* Renamed `xxxMix` to `mixXxx` to avoid names like `scaleXMix`.
* Added separate X and Y sliders for path constraint translate mix.
* Added a proportional spacing mode to path constraints.
* Fixed path constraint when a parent bone of the path is scaled.
2020-11-16 21:01:11 +01:00
Harald Csaszar
d2529d410b [csharp] Porting of major 4.0-beta runtime changes. Remaining Unity assets will be updated in separate commit. See #1796. 2020-10-22 14:44:13 +02:00
badlogic
b67bf992a0 Single bone IK fix and license header update. Closes #1580, closes #1581. 2019-12-20 12:20:46 +01:00
NathanSweet
842dffbd83 [all] Source clean up, formatting, and tabs for indentation. 2019-08-27 15:57:14 +02:00
Harald Csaszar
1d0cce3707 [csharp] Port of more skin API changes, commits: 659c390, 7ee57dc, b3c2170, b71970a, 42c1c4a, 70cdf2d. See #841 2019-06-04 18:24:40 +02:00
Harald Csaszar
c63bc7b88f [csharp] See #1346: Port bone/constraint association with skins. Also contains second (and final) partial port of commit ff5b854. Adapted spine-unity for skin changes. Fixed a bug in Skin setter property. 2019-05-22 18:37:57 +02:00
badlogic
7f7e5f0fec Updated license headers and LICENSE files. 2019-05-02 11:38:19 +02:00
Harald Csaszar
8ba88687dd [csharp] Fixed differences in PathConstraint and IKConstraint between csharp and ref-impl. Just cosmetic and doc differences found. See #1294. 2019-03-13 20:13:50 +01:00
Harald Csaszar
f186a83fca [csharp] Unified all line endings of files in spine-csharp to lf. 2018-12-24 12:43:06 +01:00
Harald Csaszar
258215ec06 [csharp] Fixed path constraint computations being invalid if a path's length is ever NaN. See #1230 2018-12-15 22:56:41 +01:00
badlogic
91a1dc4ece [csharp] Closes #1228. 2018-12-13 18:11:18 +01:00
NathanSweet
237f1fd968 [csharp] Removed unnecessary porting differences. 2018-12-13 09:50:19 +01:00
pharan
afde649c28 [csharp] Some formatting and docs. 2018-11-13 05:37:55 +08:00
badlogic
a97728a416 [csharp] Fixed PathConstraint. 2018-10-27 12:53:25 +02:00
badlogic
33f5f0d99a [csharp] Port of fix for tangents at position 0 in PathConstraint. See #1198. 2018-10-26 17:37:36 +02:00
John
162977d2f9
[csharp] Fix PathConstraint spacing.
Based on : e4839352ec
2018-05-03 12:39:51 +08:00
John
da54111238 [csharp] Fix PathConstraint length spacing for zero length bones.
see https://github.com/EsotericSoftware/spine-runtimes/issues/1023
2017-10-19 19:29:26 +08:00
John
4b2fb3eedf [csharp] Fix PathConstraint spacing. 2017-09-28 20:57:04 +08:00
badlogic
1a68239a83 [csharp] Fixed errors. 2017-07-31 13:11:52 +02:00
badlogic
84fe30a2bf [runtimes] Fixed handling of zero length bones in PathConstraint if spacing is length based. Closes #957 2017-07-31 11:29:03 +02:00
pharan
2c92a4689b [csharp] Matching and cleanup. 1 of 2 2017-02-24 16:56:35 +08:00
pharan
3736a5c3dc [csharp] Ported 3.6-beta changes. 2017-01-28 23:20:23 +08:00
pharan
6c72dfa8b4 [csharp] Fixed Path/TransformConstraint handling of reflection 2016-11-07 21:27:33 +08:00
pharan
a05ee4130f [csharp][unity][monogame][xna] Updated for compatibility with Spine 3.5.x 2016-11-01 23:46:47 +08:00
NathanSweet
c0fdc454a2 Fixed inconsistent newlines.
License header was followed by \n\n and files ended with \n. Changed to \r\n.
2016-10-15 23:45:16 +02:00
NathanSweet
7a18f0818c Every space in its place! (tm)
(whitespace clean up)
2016-10-15 23:15:41 +02:00
badlogic
5aa27771c3 [runtimes] Updated ALL sources to use latest Spine Runtimes License v2.5. Manually checked all the things... 2016-10-13 15:12:05 +02:00
Mario Zechner
f84ae17615 Updated License Headers 2016-10-13 10:27:54 +02:00
John
1c19365325 [csharp][monogame][unity][xna] Updated to 3.3.x (#623)
* [spine-csharp] Ported 3.3 changes of Animation and inner classes. Added MathUtils.Clamp

* [spine-csharp] Ported 3.3 changes of AnimationStateData. Updated .gitignore to exclude .meta files from spine-csharp

* [spine-csharp] Ported 3.3 changes of Bone

* [spine-csharp] Ported 3.3 changes of BoneData

* [spine-csharp] Ported 3.3 changes of Event

* [spine-csharp] Ported 3.3 changes to IKConstraint. Also got rid of the hideous labeled break. Replaced with while and sprinkled continues and break :D

* [spine-csharp] Mario is not good with labeled breaks. Fixed with goto

* [spine-csharp] Ported more 3.3 changes, only SkeletonJson and SkeletonBinary left. Unity runtime also needs updating with new changes

* [spine-csharp] fixed compilation errors initially not reported by Mono CS

* Minor clean up.

Every space has its place.™

* Match csharp 3.3 refactorings.

* [Unity] Minor cleanup in SkeletonBaker.

* Better exception messages.

* Removed extra usings. Matched whitespace style.

* Fixed Bone.cs method PascalCase and xml documentation.

* Fixed Exception ctor arguments.

* Fixed single bone IK mixing.

Matched libgdx commit:
e0ee18a088

* [spine-csharp] Port of 3.3 changes to SkeletonJson, incomplete

* [Unity] Ragdoll: account for shear and new constraints.

* [spine-csharp] Ported 3.3 changes to SkeletonJson

* [spine-csharp] Ported 3.3 changes to SkeletonBinary. Time for testing and debugging

* [spine-csharp] Fixed up XNA runtime

* Added simple example data in new exports/ folder

* [spine-csharp] Fixed bug in Slot construtor, wasn't assigning index. Fixed bug in CurveTimeline, argument guard was wrong. Fixed bugs in SkeletonJson, indexing to get duration of a timeline was wrong. Added simple example to spine-xna for easier debugging

* [spine-csharp] Fixed porting bug in ColorTimeline#apply, indexing was wrong

* [spine-csharp] Fixed SkeletonJson#ReadVertices, calling resize on temp lists was wrong. Updated goblin sample in spine-xna, fixed mesh attachment rendering in spine-xna.

* [spine-xna] Added binary exports, modified XNA game

* [spine-xna] Added tank example

* Some cleanup. Relabeled generic todos.

* Prevent SpineEditorUtilities from orphaning failed instantiations.

* Ignore PathAttachment when checking for required atlas regions.

* [spine-csharp] the great spaces to tabs battle

* [spine-csharp] Fixed inherit deform.

* [spine-csharp] Match Skeleton.java properties and stuff.

* [spine-csharp] Fixed enums, all upper cased now, using Enum.ParseType in case-insensitive mode

* [csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks

* [csharp] Updated README.md

* [xna] [monogame] [unity] Updated README.md

* Revert "[csharp] Ported 206e7f983c4df4d27fee6cac05d152eb2295c8b0 to csharp runtime. Fixes attachment keys on different tracks"

This reverts commit 175216868dd00b4ae31cc717022242308c150f6a.

* [csharp] Fix to AttachmentTimeline#apply, fix for the fix for the fix for the revert for the fix

* [csharp] Matched and fixed more comments, summaries, exception messages and formatting.

* [csharp] Fix deformed weighted vertices condition + match libgdx closer.

* [csharp] Use internal ExposedList array for critical methods.

* [csharp] SkeletonJson and SkeletonBinary minor formatting and fixes.

* [unity] Match changes and fixes in spine-csharp 3.3 + better editor messages.

* [unity] Updated sample scenes and files.

* [csharp] Some formatting got left behind.

* [unity] New readme links + Removed redundant info.

* [exports] Remove dummy project.
2016-06-30 04:29:33 +08:00