14 Commits

Author SHA1 Message Date
Mario Zechner
7b0bf128ff [cpp] Port AnimationState additive/hold rework, Skin placeholder rename, timeline API changes from spine-libgdx
- Replace MixBlend/MixDirection with bool fromSetup/add/out in all timeline apply() signatures
- Remove MixBlend.h and MixDirection.h (no longer used)
- Add Timeline::_additive and _instant fields
- Replace TrackEntry holdPrevious/interruptAlpha/mixBlend with additive/keepHold
- Rewrite AnimationState hold system with bitmask (Subsequent/First/Hold/HoldFirst)
- Rewrite applyMixingFrom alpha computation
- Rename Skin::AttachmentMap::Entry::_name to _placeholderName
- Fix SkeletonBinary::readLong() sign extension bug truncating 64-bit hashes
- Fix SkeletonSerializer sequence and bones null/empty parity with Java
- Add transition frame testing to HeadlessTest
- Port all doc updates from spine-libgdx
2026-03-24 21:09:50 +01:00
Mario Zechner
f6fbbabd6b [cpp] pEvents -> events 2025-07-30 09:41:42 +02:00
Mario Zechner
b544dd99ed [formatters] C/C++ formatting 2025-07-15 22:56:12 +02:00
Mario Zechner
cc4f11fded [cpp] Simplify directory structure, add DebugPrinter program
- spine-cpp/spine-cpp was moved into spine-cpp directory, so spine-cpp/spine-cpp/src -> spine-cpp/src, spine-cpp/spine-cpp/include -> spine-cpp/include
- Added scaffold for DebugPrinter to be used by runtime comparison tests
- Added build.sh
2025-07-11 11:00:44 +02:00
NathanSweet
5aa58c5a9b spine-cpp is no longer supported. Use spine-c. 2013-04-02 02:48:12 +02:00
NathanSweet
42d072ae8d Simplified Timeline interface. 2013-03-25 12:49:02 +01:00
NathanSweet
6899b5249c Added AnimationState.
Fixed bug with keeping attachments visisble when setting new skin.
Clean up. Always more clean up can be done, freaking C++...
2013-03-22 14:22:35 +01:00
NathanSweet
6e9bcfd1d5 License headers for source files. 2013-03-20 14:58:59 +01:00
NathanSweet
a1ad55f8a1 Documented memory ownership.
Clean up and minor improvements.
2013-03-15 01:41:24 +01:00
NathanSweet
695db31d71 libgdx runtime, attachment loader instead of resolver.
Other minor fixes.
2013-03-12 23:20:38 +01:00
damucz
325d3265b9 memory leaks 2013-02-23 23:18:37 +01:00
NathanSweet
31b07f8625 Clean up 2013-02-22 23:37:36 +01:00
NathanSweet
6710c1e9c9 cpp, loading, applying and animating with SFML is working. 2013-02-22 20:04:32 +01:00
NathanSweet
03a64be6ef Initial C++ generic runtime. 2013-02-20 01:25:52 +01:00