Mario Zechner
c6495719ca
[c][cpp][flutter][ios] Make attachment in Skin.setAttachment optional
2025-09-23 17:07:03 +02:00
Mario Zechner
d62b2682bb
[c][ios][flutter] More documentation related codegen
2025-09-15 15:44:13 +02:00
Mario Zechner
522101f569
[c] Codegen outputs ported comments
2025-09-15 15:14:50 +02:00
Mario Zechner
324a962b5f
[c] Code generator now generates cast functions, see updated spine-c docs on RTTI
2025-09-10 22:04:33 +02:00
badlogic
b64da9b637
[cpp] Introduce base classes for constraints without SP_API, from which concrete clsases derrive
...
MSVC issue. SP_API can't be used on classes with methods inherited from templated classes like ConstraintGeneric::getData(). we need an intermediate class that gets the method instantiation, and derrive from that instead.
2025-09-10 15:01:29 +02:00
Mario Zechner
998fd7d17e
[c][ios][flutter] Add render object getter setter to TextureRegion and AtlasRegion
2025-08-29 15:59:50 +02:00
Mario Zechner
76a830c86c
[c] Remove track entry and animation state clear listener functions
2025-08-29 15:27:40 +02:00
Mario Zechner
ff8f5f7b6b
[c] Direct setListener on track entry and animation state
2025-08-29 15:10:23 +02:00
Mario Zechner
927e2e8f3f
[sdl] Updated to latest spine-cpp/spine-c
2025-08-27 12:42:27 +02:00
Mario Zechner
a2c752d855
[cpp][c] Fix warnings on Clang
2025-07-31 00:50:41 +02:00
Mario Zechner
eaa4d5dd54
[c] extension methods for bounds, worldToLocal etc. SPINE_OPAQUE_TYPE is now fully opaque.
2025-07-30 13:22:59 +02:00
Mario Zechner
f9fefee0c8
[cpp] Docker build for GCC testing, minor GCC fixes
2025-07-30 12:10:02 +02:00
Mario Zechner
83f5bd0e0a
[cpp] pEvents -> events, extensions for BonePose and Skeleton returning spine_vector.
2025-07-30 09:42:11 +02:00
Mario Zechner
09969f5649
[c] spine_skeleton_get_bounds extension returning spine_bounds struct
2025-07-30 00:43:01 +02:00
Mario Zechner
31652b4022
[c] Expose TrackEntry::getAnimationState in C bindings.
2025-07-29 23:16:17 +02:00
Mario Zechner
71eb86c15e
[c] spine_animation_state_events_* extension functions.
2025-07-29 22:51:34 +02:00
Mario Zechner
fd939f4401
[c][cpp] SpineExtension::strdup convenience method, better spine_skin_entries api in spine-c extensions
2025-07-29 22:18:42 +02:00
Mario Zechner
7534416489
[c] Fix nullability evaluation for return and parameter types. type contains * and no &? nullable
2025-07-25 22:50:11 +02:00
Mario Zechner
a0bcb01a2a
[cpp] Fix inconsistens getters/setters wrt nullability
2025-07-25 22:20:02 +02:00
Mario Zechner
85aab233ee
[c] Constructor nullability.
2025-07-25 22:02:43 +02:00
Mario Zechner
4e875bc17f
[c] ir-generator now evalutes nullability in spine-cpp based on pointer (nullable) or reference (non-nullable)
2025-07-25 20:49:26 +02:00
Mario Zechner
861eac1c1b
[c] References for non-nullable arguments and return types, pointers for nullable args and return types
2025-07-25 20:21:39 +02:00
Mario Zechner
6ad01acc6a
[flutter] Use new loading infra from spine-c
2025-07-25 02:19:53 +02:00
Mario Zechner
da70193a36
[c] Refactor atlas loading, fix up API consumers
2025-07-25 02:12:14 +02:00
Mario Zechner
4a7bf7c12d
[flutter] Working dart-writer plus headless smoke test
2025-07-25 00:32:34 +02:00
Mario Zechner
dbac857351
[c] Codegen can generate raw json (--export-json), builds super/sub and inheritance maps for OOP languages like Swift/Dart
2025-07-24 22:27:19 +02:00
Mario Zechner
94e5e74e8a
[cpp] AtlasRegion::getName returns const String & instead of String.
2025-07-24 12:23:16 +02:00
Mario Zechner
003e5a4d78
[c] Fix handling of PropertyId arrays
2025-07-24 00:37:13 +02:00
Mario Zechner
b2f22c6970
[c] BonePose RTTI
2025-07-22 10:39:51 +02:00
Mario Zechner
6090b2da22
[spine-c] Make destructors excludable (needed for spine_atlas_dispose which is overwritten in extensions.cpp)
2025-07-21 01:01:42 +02:00
Mario Zechner
b544dd99ed
[formatters] C/C++ formatting
2025-07-15 22:56:12 +02:00
Mario Zechner
8503ae00d3
[c] Fix formatting generated by codgen.
2025-07-15 21:31:32 +02:00
Mario Zechner
aac98324f2
[cpp][c] Clean up AtlasRegion, TextureRegion to use _ field prefixes and getters/setters instead of public fields
2025-07-14 21:13:56 +02:00
Mario Zechner
4e3d2be023
[c][cpp][libgdx] Launch configs for debug-printer
2025-07-11 12:33:02 +02:00
Mario Zechner
497f4382b1
[c] Fix String reference returns in ir-generator, add debug-printer scaffold for runtime comparison tests
2025-07-11 11:01:25 +02:00
Mario Zechner
f9fad00936
[c][cpp] Fix DataInput.read() to return unsigned int, fixes SkeletonBinary parsing. Remove findXXXConstraint methods from SkeletonData.
2025-07-11 02:48:54 +02:00
Mario Zechner
9c06cef2be
[c][cpp] Fix ir-generator, Update type hierarchy in C++
...
- ir-generator did not handle const String& parameters correctly
- Type hierarchy of Bone, Constraint was incorrect. Bone didn't extend Update, thus fetching RTTI in updateCache failed at runtime.
2025-07-11 02:17:12 +02:00
Mario Zechner
c651e74924
[c] Removed old spine-c, removed spine-cpp-lite, replaced with new spine-c
2025-07-10 19:28:37 +02:00
badlogic
387b0afb80
[c] Added spine-c-tests (thanks @jpoag), fixed up CMake build
2016-11-28 16:00:46 +01:00
badlogic
f63e1625ab
[c] Need to dispose mixingFrom explicitely in spAnimationState_disposeTracks, instead of disposeTrack. A mixingFrom entry may be smoked as part of disposing its parent before an event for the mixing from entry is processed in the event queue.
2016-11-28 15:08:17 +01:00
badlogic
900001098b
[c] Fixed leak in AnimationState, wasn't disposing mixing from entries when entire state is disposed. Confirmed that disposing of mixing froms is done properly if anim state is allowed to update until the mixing from is done.
2016-11-25 16:02:49 +01:00
badlogic
98e49a7e11
[c] Fixed more leaks.
2016-11-24 16:48:32 +01:00
badlogic
f44cbaa044
[c] Added spAnimationState_disposeStatics to appease memory leak detectors.
2016-11-24 15:29:45 +01:00
badlogic
76137540ba
[c] Another memcpy error
2016-11-24 15:08:53 +01:00
badlogic
7fc9d1a26a
[c] fixed bug in spAnimationState_addPropertyID, didn't keep track of #properties. Closes #774
2016-11-24 15:01:23 +01:00
badlogic
a0f0e2ee1f
[c] Fixed memory leak in spTrackEntry_dispose, closes #770
2016-11-24 13:41:25 +01:00
badlogic
a0484cc63d
[c] Fixed memcpy bugs, closes #771
2016-11-24 13:36:50 +01:00
badlogic
a73c5084b5
[c] Ported AnimationState changes
2016-11-24 12:38:03 +01:00
badlogic
56c6780fa8
[c] Closes #768 , fallthrough in event queue passed wrong event type
2016-11-23 11:31:03 +01:00
badlogic
04e4d1f40d
[c] Fixed memory leak in AnimationState.c
2016-11-22 14:18:11 +01:00