23 Commits

Author SHA1 Message Date
Mario Zechner
78fc6daaf0 [c] Update to C99, it's 2024. 2024-04-03 14:36:24 +02:00
Andrew Wilson
373a163c3f
Add CMake Target Exporting & option to disable testing in the build (#2329)
* Fix cmake install

* Option to build without testing

* Add target exporting and SpineConfig.cmake

* Revert relative install paths to Spine preferred ones
2023-07-29 21:55:45 +02:00
Mario Zechner
9b9d02a3fa [c][cpp] Don't set CMake install dir to "./", closes #2320. 2023-07-18 14:00:59 +02:00
Mario Zechner
fc1cc6f0ee [c] Fix readVarint, closes #2281 2023-05-02 11:44:49 +02:00
Mario Zechner
350ad06269 [c] Fix SDL CMake build 2023-05-02 11:09:37 +02:00
Mario Zechner
3545fa9f32 [cpp] Fix up root CMakeLists.txt to always include spine-c, spine-cpp, and spine-cpp-unit-tests 2023-04-28 13:54:59 +02:00
Mario Zechner
88515ec1a9 [c][cpp] Check if slot attachment is NULL when applying sequence timeline. 2022-10-07 12:24:07 +02:00
badlogic
92ebbbfc48 [sdl] Fix up CMake, compilation on Linux. 2022-08-06 14:09:40 +02:00
Mario Zechner
e7043f3bd2 [sdl] Initial scafold. 2022-07-29 16:24:15 +02:00
Mario Zechner
c31ea7c6fd [sfml] Use x86_64 on macOS for SFML as they don't ship ARM binaries. 2022-07-22 14:33:57 +02:00
Mario Zechner
8d5893fde7 [cpp][cocos2dx] Remove cocos2d from root CMakeLists.txt 2022-03-25 21:59:13 +01:00
Mario Zechner
f4a92fbfae [c] Fixes #2041, adds sanitizer support via Cmake flag SPINE_SANITIZER=TRUE 2022-03-11 18:07:30 +01:00
badlogic
620b926dd5 [c] Fix Atlas line length calculation, closes #1925 2021-07-23 16:05:23 +02:00
badlogic
e842e67d19 [c][cpp] CMake clean-up, update to C++11. 2021-07-01 11:04:12 +02:00
badlogic
30702a3bff [c][cpp] Fix AnimationState::clearNext() 2021-06-21 17:45:34 +02:00
badlogic
f5632c4ef1 [c][cpp] Using -Werror, both C and C++ runtime compiles without warnings now. Fixes #1391. 2019-06-24 16:18:24 +02:00
badlogic
3c5730052d [cpp] Use -Wnonportable-include-path for CMake. 2019-01-23 13:30:34 +01:00
badlogic
bc5dc2b70b [cpp] Resolve shadowed variables, see #1250. 2019-01-16 15:57:49 +01:00
badlogic
2bd8dc7326 Clean up Clang warnings, refactor more size_t related code. 2018-05-24 17:17:45 +02:00
badlogic
b7ae63f743 Fixed crashes on MSVC. 2018-05-24 14:31:26 +02:00
badlogic
7180f17af2 [cpp] All Spine objects derrive from SpineObject so we can override new/delete, which in turn calls SpineExtension allocation methods (not implemented yet). Refactored SpineExtension, removing use of macros, introducing use of templated static methods for more comfort. Rewired all allocation code throughout the runtime. See #1046. 2018-02-01 17:40:55 +01:00
badlogic
387b0afb80 [c] Added spine-c-tests (thanks @jpoag), fixed up CMake build 2016-11-28 16:00:46 +01:00
John
b9bd66b36b Updated spine-c, spine-sfml, spine-cocos2d-objc and spine-cocos2dx to 3.2.01
- Updated spine-c to 3.2.01, adding shearing and transform constraints plus various bug fixes
- Introduced CMake based system to generated IDE projects for spine-sfml, and download dependencies for all other runtimes
- Updated all spine-c based runtime READMEs with new usage and example instructions
- Moved spine-cocos2d-iphone v2 and spine-cocos2dx v2 to separate branches. These will no longer be updated
- Renamed spine-cocos2d-iphone to spine-cocos2d-iphone

Removed cocos2d-ios v2 Spine runtime. See branch cocos2d-ios-v2 for legacy apps

Moved cocos2d-ios v3 Spine runtime to top-level sphine-cocos2d-iphone directory

Added Visual Studio support to CMake build

Added Linux support for spine-sfml. Do apt-get install sfml-dev as a prerequisit, makes everyone's life easier

Refactored Mac OS X framework detection and linking, added SFML_STATIC define for Win32 build

Removed spine-cocos2dx v2 runtime. See cocos2dx-v2 branch on Github

Moved spine-cocos2dx v3 runtime to root of spine-cocos2dx

spine-c, spine-cocos2d-iphone, spine-cocos2dx, spine-sfml updated to 3.2.00

* Added CMake build for spine-c and spine-sfml
* Removed spine-cocos2dx v2 and spine-cocos2d-iphone v2. See the cocos2dx-v2 and cocos2d-ios-v2 branches if you need these runtimes still
* Added transform constraint rotate, scale, and shear offsets and mixes
* Added spTransformConstraintTimeline
* Added bone shearing
* Added spShearTimeline
* Changed spSkeleton_updateCache
* Changed JSON format, see http://esotericsoftware.com/spine-json-format

Ported 1be89d1c5766fedb91f080a23bffaef6609b86c3 to spine-c

Cleaned up spine-c, removed IDE specific files and unnecessary data/ folder. Use CMake to import into your most beloved IDE

Added spine-cocos2d-iphone to CMake, only downloads cocos2d-objc dependency. Use Xcode project in spine-cocos2d-iphone/ to run examples

Added -std=c98 -pedantic -Wall to spine-c CMake file, fixed up all warnings, fixed up .gitignore

Fixed warnings, replaced calls to stdlib cos/sin/atan2 with macros

New cocos2dx example project, for Windows, Linux and Mac OS X. Doesn't work on Windows/Linux yet

Fixed spine-cocos2dx Visual Studio projects

Reworked cocos2dx dependency resolution

Fixed up src/header paths in CMake files. Dependencies are only downloaded if you build a specific runtime example

Updated spine-sfml README with instructions for Windows

Updated spine-sfml README with instructions for Linux and Mac OS X

Fixed README formatting

More formatting, sorry, can't preview markdown...

More README changes

Renamed spine-cocos2d-iphone to spine-cocos2d-objc, fixed up Xcode project and README

Updated spine-cocos2d-objc README

Added context when exceptions are thrown during attachment and animation parsing.

Added JsonRollback, a tool for converting newer JSON so it can be loaded by an older Spine version.

[Unity] Update BoneFollower

Added coverting linkedmesh to weightedlinkedmesh.

[LUA] AnimationState trackCount bugfixes (#466)

* resolved conflict

* made trackCount keep count, not maximum track index.

Prettier with varargs.

Updated .gitignore to exclude cocos2dx dependencies

Fixed up READMEs of spine-c based runtimes with proper version info. Fixed cocos2d-x CMake build to delete outdated Spine runtime shipped by cocos2d-x
2016-06-22 15:23:31 +02:00